Update monitor count assertions - #21541
Conversation
|
jenkins test sanity.functional amac jdk24 |
fengxue-IS
left a comment
There was a problem hiding this comment.
please remove the monitorCount += 1 on line 900-905 and line 1056-1060, this will break the osThread->lockedmonitorcount value since object.wait will update those separately via the omrthread_monitor_exit on line 1111 (and in enterContinuationImpl` when it reacquires the monitor)
|
@fengxue-IS updated changes |
The ownedMonitorCount includes the number of re-entries to the same monitor whereas monitorCount does not. Signed-off-by: Tobi Ajila <atobia@ca.ibm.com>
|
We should also run |
|
jenkins test sanity amac jdk24 |
|
Only failure was |
|
it looks similar to #20955 (comment) |
|
@babsingh please take a look |
The test is re-excluded. |
|
#21533 along with this PR need to be ported to the 0.51 branch. |
The ownedMonitorCount includes the number of re-entries to the same monitor whereas monitorCount does not.