8176828: jtools do not list VM process launched with the debugger option suspend=y
Reviewed-by: dholmes, cjplummer
This commit is contained in:
parent
8e05550ef3
commit
b4630d6207
@ -3902,6 +3902,9 @@ jint Threads::create_vm(JavaVMInitArgs* args, bool* canTryAgain) {
|
|||||||
// may be attached late and JVMTI must track phases of VM execution
|
// may be attached late and JVMTI must track phases of VM execution
|
||||||
JvmtiExport::enter_live_phase();
|
JvmtiExport::enter_live_phase();
|
||||||
|
|
||||||
|
// Make perfmemory accessible
|
||||||
|
PerfMemory::set_accessible(true);
|
||||||
|
|
||||||
// Notify JVMTI agents that VM initialization is complete - nop if no agents.
|
// Notify JVMTI agents that VM initialization is complete - nop if no agents.
|
||||||
JvmtiExport::post_vm_initialized();
|
JvmtiExport::post_vm_initialized();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user