From 4f808c62b0152b634f71c89886ff32650e948b1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Gr=C3=B6nlund?= Date: Thu, 2 Nov 2023 12:17:18 +0000 Subject: [PATCH] 8316538: runtime/handshake/MixedHandshakeWalkStackTest.java crashes with JFR Reviewed-by: egahlin --- src/hotspot/share/jfr/recorder/service/jfrPostBox.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/hotspot/share/jfr/recorder/service/jfrPostBox.cpp b/src/hotspot/share/jfr/recorder/service/jfrPostBox.cpp index 971377043c3..cf487d48f54 100644 --- a/src/hotspot/share/jfr/recorder/service/jfrPostBox.cpp +++ b/src/hotspot/share/jfr/recorder/service/jfrPostBox.cpp @@ -112,7 +112,6 @@ void JfrPostBox::asynchronous_post(int msg) { void JfrPostBox::synchronous_post(int msg) { assert(is_synchronous(msg), "invariant"); assert(!JfrMsg_lock->owned_by_self(), "should not hold JfrMsg_lock here!"); - NoHandleMark nhm; ThreadBlockInVM transition(JavaThread::current()); MonitorLocker msg_lock(JfrMsg_lock, Mutex::_no_safepoint_check_flag); deposit(msg);