8176828: jtools do not list VM process launched with the debugger option suspend=y

Reviewed-by: dholmes, cjplummer
This commit is contained in:
Gary Adams 2018-12-04 07:09:02 -05:00
parent 8e05550ef3
commit b4630d6207

View File

@ -3902,6 +3902,9 @@ jint Threads::create_vm(JavaVMInitArgs* args, bool* canTryAgain) {
// may be attached late and JVMTI must track phases of VM execution
JvmtiExport::enter_live_phase();
// Make perfmemory accessible
PerfMemory::set_accessible(true);
// Notify JVMTI agents that VM initialization is complete - nop if no agents.
JvmtiExport::post_vm_initialized();