JDK-8367408 : [lworld] runtime/cds/appcds/methodHandles/MethodHandlesGeneralTest.java#aot fails
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: repo-valhalla
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2025-09-11
  • Updated: 2025-12-19
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
repo-valhallaUnresolved
Related Reports
Duplicate :  
Sub Tasks
JDK-8367414 :  
Description
The test 

    runtime/cds/appcds/methodHandles/MethodHandlesGeneralTest.java#aot

fails in tier3 with SerialGC or ParallelGC on all platforms.

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007ff4721274e1, pid=3310882, tid=3310883
#
# JRE version:  (26.0+1) (fastdebug build )
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 26-valhalla+1-6, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, serial gc, linux-amd64)
# Problematic frame:
# V  [libjvm.so+0x1cb14e1]  vmClasses::resolve(vmClassID, JavaThread*)+0x101
............
Command Line: -XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/24/36/bundles/linux-x64/jdk-24_linux-x64_bin.tar.gz/jdk-24 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/7b1a61fd-59de-400e-939e-76c8ba818320-S93166/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/f006b430-3e90-4848-9e36-b7fe75ed1a45/runs/7cc4853d-ff91-476e-8664-fd645ca3bca9/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/tmp -XX:+UseSerialGC -XX:-VerifyDependencies -Xlog:arguments,class+load=debug,cds=debug,cds+class=debug:file=MethodHandlesGeneralTest.aot.log::filesize=0 -XX:AOTCacheOutput=MethodHandlesGeneralTest.aot -XX:AOTConfiguration=MethodHandlesGeneralTest.aot.config -XX:AOTMode=create 
..............
Stack: [0x00007ff47354a000,0x00007ff47364b000],  sp=0x00007ff4736479d0,  free space=1014k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x1cb14e1]  vmClasses::resolve(vmClassID, JavaThread*)+0x101  (vmClasses.cpp:84)
V  [libjvm.so+0x1cb17bc]  vmClasses::resolve_until(vmClassID, vmClassID&, JavaThread*)+0x9c  (vmClasses.cpp:104)
V  [libjvm.so+0x1cb1ae3]  vmClasses::resolve_all(JavaThread*)+0x223  (vmClasses.cpp:188)
V  [libjvm.so+0x1b4f62c]  SystemDictionary::initialize(JavaThread*)+0x10c  (systemDictionary.cpp:1684)
V  [libjvm.so+0x1c1363a]  Universe::genesis(JavaThread*)+0xfa  (universe.cpp:442)
V  [libjvm.so+0x1c17c35]  universe2_init()+0x35  (universe.cpp:1092)
V  [libjvm.so+0x1044159]  init_globals2()+0x9  (init.cpp:167)
V  [libjvm.so+0x1bd691b]  Threads::create_vm(JavaVMInitArgs*, bool*)+0x3cb  (threads.cpp:616)
V  [libjvm.so+0x1229514]  JNI_CreateJavaVM+0x54  (jni.cpp:3658)
C  [libjli.so+0x3dff]  JavaMain+0x8f  (java.c:1506)
C  [libjli.so+0x8019]  ThreadJavaMain+0x9  (java_md.c:646)
Comments
A pull request was submitted for review. Branch: lworld URL: https://git.openjdk.org/valhalla/pull/1837 Date: 2025-12-18 22:46:40 +0000
18-12-2025