Skip to content

Commit 1787bca

Browse files
authored
Fix assertion message.
1 parent c69d97a commit 1787bca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hotspot/share/runtime/vframeArray.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ void vframeArrayElement::fill_in(compiledVFrame* vf, bool realloc_failures) {
9595
dest->set_obj(NULL);
9696
} else {
9797
assert(monitor->owner() != nullptr, "monitor owner must not be null");
98-
assert(!monitor->owner()->is_unlocked() && !monitor->owner()->has_bias_pattern(), "object must be null or locked, and unbiased");
98+
assert(!monitor->owner()->is_unlocked() && !monitor->owner()->has_bias_pattern(), "object must be locked, and unbiased");
9999
dest->set_obj(monitor->owner());
100100
assert(ObjectSynchronizer::current_thread_holds_lock(current_thread, Handle(current_thread, dest->obj())),
101101
"should be held, before move_to");

0 commit comments

Comments
 (0)