JDK-8315449 : JVM crash in g1ConcurrentMark.cpp - fatal error: Overflow during reference processing
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2023-08-31
  • Updated: 2023-09-01
  • Resolved: 2023-09-01
Related Reports
Duplicate :  
Description
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
#