| 132 | |
| 133 | |
| 134 | void ObjectSampler::SampledObjectAlloc(jvmtiEnv* jvmti, JNIEnv* jni, jthread thread, |
| 135 | jobject object, jclass object_klass, jlong size) { |
| 136 | if (_enabled) { |
| 137 | recordAllocation(jvmti, jni, ALLOC_SAMPLE, object, object_klass, size); |
| 138 | } |
| 139 | } |
| 140 | |
| 141 | void ObjectSampler::GarbageCollectionStart(jvmtiEnv* jvmti) { |
| 142 | live_refs.gc(); |
nothing calls this directly
no outgoing calls
no test coverage detected