JDK-8370077 : C2: make Compile::_major_progress a boolean
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 26
  • Priority: P5
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2025-10-17
  • Updated: 2025-11-11
  • Resolved: 2025-10-31
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 b23Fixed
Related Reports
Relates :  
Relates :  
Description
_major_progress is current an `int`, but we don't really use the value other than checking whether it's 0. We even have 2 occurrences of `_major_progress = true;`. Experiments hint that changing it into a `bool` works fine.
Comments
Changeset: 8ca485cf Branch: master Author: Marc Chevalier <mchevalier@openjdk.org> Date: 2025-10-31 11:02:29 +0000 URL: https://git.openjdk.org/jdk/commit/8ca485cf98889d1757170a4ec883c93c888a7140
31-10-2025

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