JDK-8331185 : Enable compiler memory limits in debug builds
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 23
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-04-26
  • Updated: 2024-11-11
  • Resolved: 2024-05-08
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 23
23 b21Fixed
Related Reports
Blocks :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
As discussed in [1], we'd like to introduce a default memory limit for debug builds of the JVM. That way, we can catch pathological compiler errors that have unreasonably high memory footprint as one of their symptoms early during testing.


[1] https://mail.openjdk.org/pipermail/hotspot-compiler-dev/2024-April/074787.html
Comments
Changeset: ad78b7fa Author: Thomas Stuefe <stuefe@openjdk.org> Date: 2024-05-08 10:38:09 +0000 URL: https://git.openjdk.org/jdk/commit/ad78b7fa67ba30cab2e8f496e4c765be15deeca6
08-05-2024

I pushed changes to closed test to avoid memory limit check and bot closed this RFE as fixed. Reopening it for open changes which still in work.
30-04-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/18969 Date: 2024-04-26 10:04:28 +0000
26-04-2024