JDK-8354404 : [lworld] compiler/startup/StartupOutput.java crashes during AdapterHandlerLibrary::initialize() due to too little CodeCacheSize
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: repo-valhalla
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2025-04-11
  • Updated: 2025-06-11
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
Relates :  
Description
The minimum InitialCodeCacheSize and ReservedCodeCacheSize generated by the test don't seem to be sufficient for Valhalla's extra calling conventions.

The fact that it crashes instead of error message and exit with error code is probably already a bug (JDK-8354119).

But the defaults and expected minimums probably need reviewing in codeCache.cpp