diff -r 10bb941d7fd4 -r 03253c32d8e7 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();