Skip to content

Commit

Permalink
Removed useless statement
Browse files Browse the repository at this point in the history
  • Loading branch information
fparain committed Jul 10, 2024
1 parent 18d7295 commit b67b2d6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/hotspot/share/runtime/synchronizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,6 @@ void ObjectSynchronizer::enter_for(Handle obj, BasicLock* lock, JavaThread* lock

void ObjectSynchronizer::enter(Handle obj, BasicLock* lock, JavaThread* current) {
assert(current == Thread::current(), "must be");
JavaThread* THREAD = current;
assert(!EnableValhalla || !obj->klass()->is_inline_klass(), "This method should never be called on an instance of an inline class");
if (!enter_fast_impl(obj, lock, current)) {
// Inflated ObjectMonitor::enter is required
Expand Down

0 comments on commit b67b2d6

Please sign in to comment.