We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbc1e66 commit dfaf11aCopy full SHA for dfaf11a
src/hotspot/share/runtime/basicLock.cpp
@@ -67,7 +67,7 @@ void BasicLock::move_to(oop obj, BasicLock* dest) {
67
// we'll leave that optimization for another time.
68
69
if (LockingMode == LM_LEGACY) {
70
- if (displaced_header().is_unlocked()) {
+ if (displaced_header().is_neutral()) {
71
// The object is locked and the resulting ObjectMonitor* will also be
72
// locked so it can't be async deflated until ownership is dropped.
73
ObjectSynchronizer::inflate_helper(obj);
0 commit comments