| 16 | } |
| 17 | |
| 18 | void J9ObjectSampler::VMObjectAlloc(jvmtiEnv* jvmti, JNIEnv* jni, jthread thread, |
| 19 | jobject object, jclass object_klass, jlong size) { |
| 20 | if (_enabled && updateCounter(_allocated_bytes, size, _interval)) { |
| 21 | recordAllocation(jvmti, jni, ALLOC_OUTSIDE_TLAB, object, object_klass, size); |
| 22 | } |
| 23 | } |
| 24 | |
| 25 | Error J9ObjectSampler::start(Arguments& args) { |
| 26 | if (J9Ext::InstrumentableObjectAlloc_id < 0) { |
nothing calls this directly
no outgoing calls
no test coverage detected