JDK-8358756 : [s390x] Test StartupOutput.java crash due to CodeCache size
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 26
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: linux
  • CPU: s390x
  • Submitted: 2025-06-06
  • Updated: 2025-06-06
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
tbdUnresolved
Related Reports
Causes :  
Description
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/home/amit/jdk/src/hotspot/share/code/codeBlob.cpp:478), pid=2394782, tid=2394785
#  fatal error: Initial size of CodeCache is too small
#
# JRE version:  (25.0) (fastdebug build )
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 25-internal-adhoc.amit.jdk, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-s390x)
# Problematic frame:
# V  [libjvm.so+0x6dc1e0]  RuntimeStub::new_runtime_stub(char const*, CodeBuffer*, short, int, OopMapSet*, bool, bool)+0x310
#
# Core dump will be written. Default location: Core dumps may be processed with "/lib/systemd/systemd-coredump %P %u %g %s %t 9223372036854775808 %h" (or dumping to /home/amit/jdk/build/linux-s390x-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_compiler_startup_StartupOutput_java/scratch/0/core.2394782)
#
# An error report file with more information is saved as:
# /home/amit/jdk/build/linux-s390x-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_compiler_startup_StartupOutput_java/scratch/0/hs_err_pid2394782.log
#
#

Stack Trace: 
Stack: [0x000003ffb0480000,0x000003ffb0580000],  sp=0x000003ffb057c4c8,  free space=1009k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x6dc1e0]  RuntimeStub::new_runtime_stub(char const*, CodeBuffer*, short, int, OopMapSet*, bool, bool)+0x310  (codeBlob.cpp:478)
V  [libjvm.so+0x12ef0de]  SharedRuntime::generate_resolve_blob(SharedStubId, unsigned char*)+0x3a6  (sharedRuntime_s390.cpp:3079)
V  [libjvm.so+0x12dc9b4]  SharedRuntime::generate_stubs()+0x44  (sharedRuntime.cpp:119)
V  [libjvm.so+0xb2aade]  init_globals()+0xbe  (init.cpp:156)
V  [libjvm.so+0x1436fea]  Threads::create_vm(JavaVMInitArgs*, bool*)+0x352  (threads.cpp:576)
V  [libjvm.so+0xcb76be]  JNI_CreateJavaVM+0x7e  (jni.cpp:3587)
C  [libjli.so+0x4130]  JavaMain+0xa0  (java.c:1499)
C  [libjli.so+0x7ef8]  ThreadJavaMain+0x20  (java_md.c:649)