8176828: jtools do not list VM process launched with the debugger option suspend=y
authorgadams
Tue, 04 Dec 2018 07:09:02 -0500
changeset 52816 03253c32d8e7
parent 52815 10bb941d7fd4
child 52817 981eb3c1b90d
8176828: jtools do not list VM process launched with the debugger option suspend=y Reviewed-by: dholmes, cjplummer
src/hotspot/share/runtime/thread.cpp
--- a/src/hotspot/share/runtime/thread.cpp	Tue Dec 04 11:57:18 2018 +0100
+++ b/src/hotspot/share/runtime/thread.cpp	Tue Dec 04 07:09:02 2018 -0500
@@ -3902,6 +3902,9 @@
   // 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();