Skip to content

Commit 18edba7

Browse files
authored
Merge pull request #22307 from hangshao0/0.54
(0.54) Modify objectMonitorExit to use OBJECT_HEADER_LOCK_FLC instead of 0x02
2 parents 51f0d4b + f5a77ba commit 18edba7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/vm/monhelpers.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ objectMonitorExit(J9VMThread* vmStruct, j9object_t object)
8484
#endif /* if !(defined(AIXPPC) || defined(LINUXPPC)) */
8585
#endif /* ifndef J9VM_THR_LOCK_RESERVATION */
8686
#if JAVA_SPEC_VERSION >= 24
87-
if (0x02 == count) {
87+
if (OBJECT_HEADER_LOCK_FLC == count) {
8888
/* FLC set, non-recursive. */
8989
J9ObjectMonitor *objectMonitor = objectMonitorInflate(vmStruct, object, lock);
9090

0 commit comments

Comments
 (0)