JDK-8358573 : Remove the -XX:-InstallMethods debug flag
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 21
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2025-06-04
  • Updated: 2025-08-18
  • Resolved: 2025-07-17
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.
JDK 26
26 b08Fixed
Related Reports
Causes :  
Description
java -XX:-InstallMethods -version

# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (open/src/hotspot/share/compiler/compileBroker.cpp:2280), pid=1856602, tid=1856617
#  assert(ci_env.failure_reason() != nullptr) failed: expect failure reason
#
# JRE version: Java(TM) SE Runtime Environment (21.0+35) (fastdebug build 21+35-LTS-2513)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 21+35-LTS-2513, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V  [libjvm.so+0x9fff01]  CompileBroker::invoke_compiler_on_method(CompileTask*)+0x11a1

Current CompileTask:
C1:     75    1       3       java.lang.Object::<init> (1 bytes)

Stack: [0x00007d8e44200000,0x00007d8e44300000],  sp=0x00007d8e442fe460,  free space=1017k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x9fff01]  CompileBroker::invoke_compiler_on_method(CompileTask*)+0x11a1  (compileBroker.cpp:2280)
V  [libjvm.so+0xa005e8]  CompileBroker::compiler_thread_loop()+0x618
V  [libjvm.so+0xeb87ac]  JavaThread::thread_main_inner()+0xcc
V  [libjvm.so+0x179daca]  Thread::call_run()+0xba
V  [libjvm.so+0x149d66c]  thread_native_entry(Thread*)+0x11c
C  [libc.so.6+0x9caa4]

Comments
Changeset: 1d73f884 Branch: master Author: Benoît Maillard <bmaillard@openjdk.org> Committer: Manuel Hässig <mhaessig@openjdk.org> Date: 2025-07-17 12:39:46 +0000 URL: https://git.openjdk.org/jdk/commit/1d73f8842a6aa0fae7c7960eb5720447a1224792
17-07-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/26310 Date: 2025-07-15 09:21:53 +0000
15-07-2025

ILW = Assert due to missing bailout message, with C1 debug flag -XX:-InstallMethods, no workaround = MLH = P4
04-06-2025

It's a regression from JDK-8303951 in JDK 21 b16. Since then, we don't expect that a bailout can happen without a failure reason.
04-06-2025

Regression in JDK 21 b16, narrowing it down ...
04-06-2025