changeset 52973:03253c32d8e7

8176828: jtools do not list VM process launched with the debugger option suspend=y Reviewed-by: dholmes, cjplummer
author gadams
date Tue, 04 Dec 2018 07:09:02 -0500
parents 10bb941d7fd4
children 981eb3c1b90d
files src/hotspot/share/runtime/thread.cpp
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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();