Skip to content

Commit

Permalink
OMWorld: Fix enter_for is_value_based bug
Browse files Browse the repository at this point in the history
  • Loading branch information
stefank committed Apr 24, 2024
1 parent 131e47b commit d67c8da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotspot/share/runtime/lightweightSynchronizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ void LightweightSynchronizer::enter_for(Handle obj, BasicLock* lock, JavaThread*

// TODO[OMWorld]: Is this necessary?
if (obj->klass()->is_value_based()) {
ObjectSynchronizer::handle_sync_on_value_based_class(obj, current);
ObjectSynchronizer::handle_sync_on_value_based_class(obj, locking_thread);
}

locking_thread->inc_held_monitor_count();
Expand Down

0 comments on commit d67c8da

Please sign in to comment.