src/hotspot/share/runtime/thread.cpp
changeset 52816 03253c32d8e7
parent 52701 c724619944f1
child 52877 9e041366c764
--- 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();