hotspot/src/share/vm/prims/jvmtiExport.cpp
// Setup current thread to record vm allocated objects.
JvmtiVMObjectAllocEventCollector::JvmtiVMObjectAllocEventCollector() : _allocated(NULL) {
{- -------------------------------------------
(1)
---------------------------------------- -}
if (JvmtiExport::should_post_vm_object_alloc()) {
_enable = true;
setup_jvmti_thread_state();
} else {
_enable = false;
}
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.