This JVM crash was noticed on mainline (currently JDK 22) in a run of GitHub jobs in a (unrelated) PR on linux-x86 here https://github.com/jaikiran/jdk/actions/runs/6033999793/job/16372875177
The entire log file of that run is attached. Here's the JVM crash summary:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (g1ConcurrentMark.cpp:1681), pid=23200, tid=23210
# fatal error: Overflow during reference processing, can not continue. Current mark stack depth: 65472, MarkStackSize: 65536, MarkStackSizeMax: 4194304. Please increase MarkStackSize and/or MarkStackSizeMax and restart.
#
# JRE version: OpenJDK Runtime Environment (22.0) (build 22-internal-jaikiran-4639a9289d8367ace96828c61e8e9d5a6d62c87d)
# Java VM: OpenJDK Server VM (22-internal-jaikiran-4639a9289d8367ace96828c61e8e9d5a6d62c87d, mixed mode, tiered, g1 gc, linux-x86)
# Problematic frame:
# V [libjvm.so+0x5c6cdb] G1ConcurrentMark::weak_refs_work()+0x31b
#
# CreateCoredumpOnCrash turned off, no core file dumped
#
# An error report file with more information is saved as:
# /home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_langtools_tier1/scratch/hs_err_pid23200.log
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
The entire log file of that run is attached. Here's the JVM crash summary:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (g1ConcurrentMark.cpp:1681), pid=23200, tid=23210
# fatal error: Overflow during reference processing, can not continue. Current mark stack depth: 65472, MarkStackSize: 65536, MarkStackSizeMax: 4194304. Please increase MarkStackSize and/or MarkStackSizeMax and restart.
#
# JRE version: OpenJDK Runtime Environment (22.0) (build 22-internal-jaikiran-4639a9289d8367ace96828c61e8e9d5a6d62c87d)
# Java VM: OpenJDK Server VM (22-internal-jaikiran-4639a9289d8367ace96828c61e8e9d5a6d62c87d, mixed mode, tiered, g1 gc, linux-x86)
# Problematic frame:
# V [libjvm.so+0x5c6cdb] G1ConcurrentMark::weak_refs_work()+0x31b
#
# CreateCoredumpOnCrash turned off, no core file dumped
#
# An error report file with more information is saved as:
# /home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_langtools_tier1/scratch/hs_err_pid23200.log
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
- duplicates
-
JDK-8280087 G1: Handle out-of-mark stack situations during reference processing more gracefully
- Resolved