Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/hotspot/share/runtime/objectMonitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1902,7 +1902,7 @@ void ObjectMonitor::wait(jlong millis, bool interruptible, TRAPS) {
// An event could have been enabled after notification, in this case
// a thread will have TS_ENTER state and posting the event may hit a suspension point.
// From a debugging perspective, it is more important to have no missing events.
if (interruptible && JvmtiExport::should_post_monitor_waited() && node.TState != ObjectWaiter::TS_ENTER) {
if (interruptible && node.TState != ObjectWaiter::TS_ENTER) {

// Process suspend requests now if any, before posting the event.
{
Expand Down