runtime/clinit/ClassInitBarrier.java fails with the following flags on Linux and Windows platforms with the following sets of flags:
a) -XX:+AOTClassLinking -XX:+UseG1GC --enable-preview
b) -XX:+AOTClassLinking -XX:+UseParallelGC --enable-preview
c) -XX:+AOTClassLinking -XX:+UseSerialGC --enable-preview
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f733039ace8, pid=3542834, tid=3566425
#
# JRE version: Java(TM) SE Runtime Environment (27.0) (fastdebug build 27-jep401ea2-2026-02-05-1618517.paul.hubner.valhalla)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 27-jep401ea2-2026-02-05-1618517.paul.hubner.valhalla, mixed mode, sharing, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# v ~AdapterBlob 0x00007f733039ace8
#
# Core dump will be written. Default location: Determined by the following: "/opt/core.sh %p" (alternatively, falling back to testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_runtime_no_cds/scratch/2/core.3542834)
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
--------------- S U M M A R Y ------------
Command Line: -Dtest.vm.opts=-XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=jdk/25/37/bundles/linux-x64/jdk-25_linux-x64_bin.tar.gz/jdk-25 -Djava.io.tmpdir=testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_runtime_no_cds/tmp -XX:AOTCache=./testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_runtime_no_cds/aot/jdk.aotcache -Dtest.tool.vm.opts=-J-XX:MaxRAMPercentage=4.16667 -J-Dtest.boot.jdk=jdk/25/37/bundles/linux-x64/jdk-25_linux-x64_bin.tar.gz/jdk-25 -J-Djava.io.tmpdir=testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_runtime_no_cds/tmp -J-XX:AOTCache=./testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_runtime_no_cds/aot/jdk.aotcache -Dtest.compiler.opts= -Dtest.java.opts=-XX:+AOTClassLinking -XX:+UseG1GC --enable-preview -Dtest.jdk=2026-02-05-1618517.paul.hubner.valhalla/linux-x64-debug.jdk/jdk-27/fastdebug -Dcompile.jdk=2026-02-05-1618517.paul.hubner.valhalla/linux-x64-debug.jdk/jdk-27/fastdebug -Dtest.timeout.factor=4.0 -Dtest.nativepath=2026-02-05-1618517.paul.hubner.valhalla/linux-x64-debug.test/hotspot/jtreg/native -Dtest.root=2026-02-05-1618517.paul.hubner.valhalla/src.full/open/test/hotspot/jtreg -Dtest.name=runtime/clinit/ClassInitBarrier.java -Dtest.verbose=Verbose[p=BRIEF,f=FULL,e=FULL,t=true,m=false] -Dtest.file=2026-02-05-1618517.paul.hubner.valhalla/src.full/open/test/hotspot/jtreg/runtime/clinit/ClassInitBarrier.java -Dtest.main.class=ClassInitBarrier -Dtest.src=2026-02-05-1618517.paul.hubner.valhalla/src.full/open/test/hotspot/jtreg/runtime/clinit -Dtest.src.path=2026-02-05-1618517.paul.hubner.valhalla/src.full/open/test/hotspot/jtreg/runtime/clinit:2026-02-05-1618517.paul.hubner.valhalla/src.full/open/test/lib -Dtest.classes=testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_runtime_no_cds/classes/3/runtime/clinit/ClassInitBarrier.d -Dtest.class.path=testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_runtime_no_cds/classes/3/runtime/clinit/ClassInitBarrier.d:testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_runtime_no_cds/classes/3/runtime/clinit/ClassInitBarrier.d/test/lib -Dtest.class.path.prefix=testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_runtime_no_cds/classes/3/runtime/clinit/ClassInitBarrier.d:2026-02-05-1618517.paul.hubner.valhalla/src.full/open/test/hotspot/jtreg/runtime/clinit:testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_runtime_no_cds/classes/3/runtime/clinit/ClassInitBarrier.d/test/lib -Dtest.enable.preview=true -XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=jdk/25/37/bundles/linux-x64/jdk-25_linux-x64_bin.tar.gz/jdk-25 -Djava.io.tmpdir=testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_runtime_no_cds/tmp -XX:AOTCache=./testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_runtime_no_cds/aot/jdk.aotcache -XX:+AOTClassLinking -XX:+UseG1GC --enable-preview -Djava.library.path=2026-02-05-1618517.paul.hubner.valhalla/linux-x64-debug.test/hotspot/jtreg/native -Xbatch -XX:CompileCommand=dontinline,*::test* -XX:-TieredCompilation -DTHROW=false -Xcheck:jni --enable-preview com.sun.javatest.regtest.agent.MainWrapper testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_runtime_no_cds/runtime/clinit/ClassInitBarrier.d/main.4.jta
Host: , AMD EPYC 9J14 96-Core Processor, 12 cores, 23G, Oracle Linux Server release 8.10
Time: Thu Feb 5 16:45:52 2026 UTC elapsed time: 5.098776 seconds (0d 0h 0m 5s)
--------------- T H R E A D ---------------
Current thread (0x00007f72d802dd30): JavaThread "Thread-21" [_thread_in_Java, id=3566425, stack(0x00007f730da85000,0x00007f730db85000) (1024K)]
Stack: [0x00007f730da85000,0x00007f730db85000], sp=0x00007f730db837a8, free space=1017k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
v ~AdapterBlob 0x00007f733039ace8
[error occurred during error reporting (printing native stack (with source info)), id 0xe0000000, Internal Error (src/hotspot/cpu/x86/frame_x86.inline.hpp:182)]
Retrying call stack printing without source information...
[error occurred during error reporting (retry printing native stack (no source info)), id 0xb, SIGSEGV (0xb) at pc=0x00007f734467e57c]
siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x0000000614e80fd0
a) -XX:+AOTClassLinking -XX:+UseG1GC --enable-preview
b) -XX:+AOTClassLinking -XX:+UseParallelGC --enable-preview
c) -XX:+AOTClassLinking -XX:+UseSerialGC --enable-preview
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f733039ace8, pid=3542834, tid=3566425
#
# JRE version: Java(TM) SE Runtime Environment (27.0) (fastdebug build 27-jep401ea2-2026-02-05-1618517.paul.hubner.valhalla)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 27-jep401ea2-2026-02-05-1618517.paul.hubner.valhalla, mixed mode, sharing, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# v ~AdapterBlob 0x00007f733039ace8
#
# Core dump will be written. Default location: Determined by the following: "/opt/core.sh %p" (alternatively, falling back to testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_runtime_no_cds/scratch/2/core.3542834)
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
--------------- S U M M A R Y ------------
Command Line: -Dtest.vm.opts=-XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=jdk/25/37/bundles/linux-x64/jdk-25_linux-x64_bin.tar.gz/jdk-25 -Djava.io.tmpdir=testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_runtime_no_cds/tmp -XX:AOTCache=./testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_runtime_no_cds/aot/jdk.aotcache -Dtest.tool.vm.opts=-J-XX:MaxRAMPercentage=4.16667 -J-Dtest.boot.jdk=jdk/25/37/bundles/linux-x64/jdk-25_linux-x64_bin.tar.gz/jdk-25 -J-Djava.io.tmpdir=testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_runtime_no_cds/tmp -J-XX:AOTCache=./testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_runtime_no_cds/aot/jdk.aotcache -Dtest.compiler.opts= -Dtest.java.opts=-XX:+AOTClassLinking -XX:+UseG1GC --enable-preview -Dtest.jdk=2026-02-05-1618517.paul.hubner.valhalla/linux-x64-debug.jdk/jdk-27/fastdebug -Dcompile.jdk=2026-02-05-1618517.paul.hubner.valhalla/linux-x64-debug.jdk/jdk-27/fastdebug -Dtest.timeout.factor=4.0 -Dtest.nativepath=2026-02-05-1618517.paul.hubner.valhalla/linux-x64-debug.test/hotspot/jtreg/native -Dtest.root=2026-02-05-1618517.paul.hubner.valhalla/src.full/open/test/hotspot/jtreg -Dtest.name=runtime/clinit/ClassInitBarrier.java -Dtest.verbose=Verbose[p=BRIEF,f=FULL,e=FULL,t=true,m=false] -Dtest.file=2026-02-05-1618517.paul.hubner.valhalla/src.full/open/test/hotspot/jtreg/runtime/clinit/ClassInitBarrier.java -Dtest.main.class=ClassInitBarrier -Dtest.src=2026-02-05-1618517.paul.hubner.valhalla/src.full/open/test/hotspot/jtreg/runtime/clinit -Dtest.src.path=2026-02-05-1618517.paul.hubner.valhalla/src.full/open/test/hotspot/jtreg/runtime/clinit:2026-02-05-1618517.paul.hubner.valhalla/src.full/open/test/lib -Dtest.classes=testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_runtime_no_cds/classes/3/runtime/clinit/ClassInitBarrier.d -Dtest.class.path=testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_runtime_no_cds/classes/3/runtime/clinit/ClassInitBarrier.d:testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_runtime_no_cds/classes/3/runtime/clinit/ClassInitBarrier.d/test/lib -Dtest.class.path.prefix=testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_runtime_no_cds/classes/3/runtime/clinit/ClassInitBarrier.d:2026-02-05-1618517.paul.hubner.valhalla/src.full/open/test/hotspot/jtreg/runtime/clinit:testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_runtime_no_cds/classes/3/runtime/clinit/ClassInitBarrier.d/test/lib -Dtest.enable.preview=true -XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=jdk/25/37/bundles/linux-x64/jdk-25_linux-x64_bin.tar.gz/jdk-25 -Djava.io.tmpdir=testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_runtime_no_cds/tmp -XX:AOTCache=./testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_runtime_no_cds/aot/jdk.aotcache -XX:+AOTClassLinking -XX:+UseG1GC --enable-preview -Djava.library.path=2026-02-05-1618517.paul.hubner.valhalla/linux-x64-debug.test/hotspot/jtreg/native -Xbatch -XX:CompileCommand=dontinline,*::test* -XX:-TieredCompilation -DTHROW=false -Xcheck:jni --enable-preview com.sun.javatest.regtest.agent.MainWrapper testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_runtime_no_cds/runtime/clinit/ClassInitBarrier.d/main.4.jta
Host: , AMD EPYC 9J14 96-Core Processor, 12 cores, 23G, Oracle Linux Server release 8.10
Time: Thu Feb 5 16:45:52 2026 UTC elapsed time: 5.098776 seconds (0d 0h 0m 5s)
--------------- T H R E A D ---------------
Current thread (0x00007f72d802dd30): JavaThread "Thread-21" [_thread_in_Java, id=3566425, stack(0x00007f730da85000,0x00007f730db85000) (1024K)]
Stack: [0x00007f730da85000,0x00007f730db85000], sp=0x00007f730db837a8, free space=1017k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
v ~AdapterBlob 0x00007f733039ace8
[error occurred during error reporting (printing native stack (with source info)), id 0xe0000000, Internal Error (src/hotspot/cpu/x86/frame_x86.inline.hpp:182)]
Retrying call stack printing without source information...
[error occurred during error reporting (retry printing native stack (no source info)), id 0xb, SIGSEGV (0xb) at pc=0x00007f734467e57c]
siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x0000000614e80fd0
- duplicates
-
JDK-8377670 [lworld] CompiledEntrySignature::initialize_from_fingerprint() looks broken
-
- Open
-
- relates to
-
JDK-8370571 [lworld] Complete JDK-8316694 implementation for Valhalla
-
- Resolved
-