Skip to content

Commit 19435ca

Browse files
authored
Merge pull request #21935 from babsingh/main12
Correct data type, I_32 -> BOOLEAN, in monhelpers.c
2 parents c5cf3d5 + 2a1b1b0 commit 19435ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

runtime/vm/monhelpers.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ objectMonitorExit(J9VMThread* vmStruct, j9object_t object)
110110
}
111111
} else {
112112
j9objectmonitor_t newLock = 0;
113-
I_32 casSuccess = FALSE;
113+
BOOLEAN casSuccess = FALSE;
114114
if (0x00 == count) {
115115
/* Just release the flatlock. */
116116
} else if ((count & OBJECT_HEADER_LOCK_LEARNING) && J9_ARE_ANY_BITS_SET(count, OBJECT_HEADER_LOCK_LEARNING_RECURSION_MASK)) {
@@ -149,7 +149,7 @@ objectMonitorExit(J9VMThread* vmStruct, j9object_t object)
149149
J9_STORE_LOCKWORD(vmStruct, lockEA, 0);
150150
} else if ((count & OBJECT_HEADER_LOCK_LEARNING) && (count & OBJECT_HEADER_LOCK_LEARNING_RECURSION_MASK)) {
151151
/* Learning state case */
152-
I_32 casSuccess = FALSE;
152+
BOOLEAN casSuccess = FALSE;
153153

154154
if (1 == J9_FLATLOCK_COUNT(lock)) {
155155
/* if RC field is 1, this fully unlocks the object so a write barrier is needed */

0 commit comments

Comments
 (0)