Skip to content

Commit

Permalink
8316538: runtime/handshake/MixedHandshakeWalkStackTest.java crashes w…
Browse files Browse the repository at this point in the history
…ith JFR

Reviewed-by: egahlin
  • Loading branch information
Markus Grönlund committed Nov 2, 2023
1 parent 2d4a4d0 commit 4f808c6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/hotspot/share/jfr/recorder/service/jfrPostBox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

1 comment on commit 4f808c6

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.