openj9
openj9 copied to clipboard
jdk_lang_j9_1 java/lang/Thread/virtual/MiscMonitorTests.java#Xcomp j9vm.224 ASSERTION FAILED runtime/vm/ContinuationHelpers.cpp:791: ((objectMonitor->ownerContinuation == currentThread->currentContinuation))
Failure link
From disabled test grinder launched from https://github.com/eclipse-openj9/openj9/issues/22081#issue-3138166526:
17:42:47 openjdk version "24.0.1-beta" 2025-04-15
17:42:47 IBM Semeru Runtime Open Edition 24.0.1+9-202506100001 (build 24.0.1-beta+9-202506100001)
17:42:47 Eclipse OpenJ9 VM 24.0.1+9-202506100001 (build master-89ce909c27, JRE 24 Linux s390x-64-Bit Compressed References 20250610_79 (JIT enabled, AOT enabled)
17:42:47 OpenJ9 - 89ce909c27
17:42:47 OMR - a9d5f8806
17:42:47 JCL - 78e9ff37d based on jdk-24.0.1+9)
Rerun in Grinder - Change TARGET to run only the failed test targets.
Optional info
Failure output (captured from console output)
19:32:41 Running test jdk_lang_j9_1 ...
19:32:41 variation: -Xdump:system:none -Xdump:heap:none -Xdump:system:events=gpf+abort+traceassert+corruptcache -XX:-JITServerTechPreviewMessage Mode501 -XXgc:fvtest_forceCopyForwardHybridMarkCompactRatio=10
19:32:41 JVM_OPTIONS: -Xdump:system:none -Xdump:heap:none -Xdump:system:events=gpf+abort+traceassert+corruptcache -XX:-JITServerTechPreviewMessage -Xjit -Xgcpolicy:balanced -Xnocompressedrefs -XXgc:fvtest_forceCopyForwardHybridMarkCompactRatio=10 -Xverbosegclog
20:10:44 TEST: java/lang/Thread/virtual/MiscMonitorTests.java#Xcomp
20:10:44 STARTED MiscMonitorTests::testContentionMultipleMonitors2 'testContentionMultipleMonitors2()'
20:10:44 Unhandled exception
20:10:44 Type=Segmentation error vmState=0x00000000
20:10:44 Module=/home/jenkins/workspace/Grinder_iteration_3/jdkbinary/j2sdk-image/lib/default/libj9vm29.so
20:10:44 Module_base_address=000003FFA9800000
20:10:44 Target=2_90_20250610_79 (Linux 6.4.0-150600.23.50-default)
20:10:44 CPU=s390x (4 logical CPUs) (0x1eb37b000 RAM)
20:10:44 ----------- Stack Backtrace -----------
20:10:44 00:09:53.262 0x3fe603dfd00 j9vm.224 * ** ASSERTION FAILED ** at /home/jenkins/workspace/build-scripts/jobs/jdk24/jdk24-linux-s390x-openj9/workspace/build/src/openj9/runtime/vm/ContinuationHelpers.cpp:791: ((objectMonitor->ownerContinuation == currentThread->currentContinuation))
Other 3 occurrences at Grinder_iteration_0
21:33:15 TEST: java/lang/Thread/virtual/MiscMonitorTests.java#Xcomp-noTieredCompilation
21:33:15 STARTED MiscMonitorTests::testContentionMultipleMonitors2 'testContentionMultipleMonitors2()'
21:33:15 01:31:28.285 0x3fe48405a00 j9vm.224 * ** ASSERTION FAILED ** at /home/jenkins/workspace/build-scripts/jobs/jdk24/jdk24-linux-s390x-openj9/workspace/build/src/openj9/runtime/vm/ContinuationHelpers.cpp:791: ((objectMonitor->ownerContinuation == currentThread->currentContinuation))
5 occurrences at Grinder_iteration_4
21:33:15 detachMonitorInfo+0x158 (0x000003FF9104BE68 [libj9vm29.so+0xcbe68])
21:33:15 walkLiveMonitorSlotsForYield+0x13e (0x000003FF8BC5ABAE [libj9jit29.so+0xc5abae])
21:33:15 jitGetOwnedObjectMonitors+0x254 (0x000003FF8BC5C7E4 [libj9jit29.so+0xc5c7e4])
21:33:15 walkFrame+0x222 (0x000003FF91015EEA [libj9vm29.so+0x95eea])
21:33:15 jitWalkStackFrames+0x198 (0x000003FF8BC5AF60 [libj9jit29.so+0xc5af60])
21:33:15 walkStackFrames+0xf8 (0x000003FF91016820 [libj9vm29.so+0x96820])
21:33:15 preparePinnedVirtualThreadForUnmount+0xe8 (0x000003FF9104D1D0 [libj9vm29.so+0xcd1d0])
21:33:15 _ZN26VM_BytecodeInterpreterFull3runEP10J9VMThread+0x28a28 (0x000003FF910AD288 [libj9vm29.so+0x12d288])
21:33:15 bytecodeLoopFull+0xee (0x000003FF910847AE [libj9vm29.so+0x1047ae])
21:33:15 c_cInterpreter+0x64 (0x000003FF91166704 [libj9vm29.so+0x1e6704])
Looks like a JIT issue, stack trace is similar to https://github.com/eclipse-openj9/openj9/issues/22052.
@VermaSh FYI since you're working on #22052
Given #22052 has now been resolved (fixed by #22128 and others), can we check if this one is still an issue? @JasonFengJ9 @VermaSh
The assertion failure was not seen in recent builds including disabled test runs. Closing, it can be re-opened if the failure occurs again.