JDK-8357576 : FieldInfo::_index is not initialized by the constructor
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 21,25
  • Priority: P3
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2025-05-22
  • Updated: 2025-05-30
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 25
25Unresolved
Related Reports
Causes :  
Description
When working on JDK-8355614 in Valhalla, I noticed that FieldInfo::_index is not initialized in the constructor. Although this does not seem to cause any issues at this point, it should be fixed.
Comments
A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/25554 Date: 2025-05-30 19:07:24 +0000
30-05-2025

I attached a patch that [~fparain] provided.
22-05-2025