JDK-8351483 : [lworld] Field offset verification fails
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: repo-valhalla
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2025-03-10
  • Updated: 2025-03-10
  • Resolved: 2025-03-10
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-valhallaFixed
Related Reports
Blocks :  
Description
A few tests now fail with "-XX:FlatArrayElementMaxOops=0 -XX:-UseArrayFlattening -XX:-UseFieldFlattening":

----------System.out:(4/268)----------
Offset of nonstatic field java/lang/Float.value is deserialized as 12 but should really be 16.
Offset of nonstatic field java/lang/Integer.value is deserialized as 12 but should really be 16.
Error occurred during initialization of VM
Field offset verification failed

Tests that fail:
- compiler/valhalla/inlinetypes/TestArrayNullMarkers.java
- compiler/valhalla/inlinetypes/TestFieldNullMarkers.java
- compiler/valhalla/inlinetypes/TestTearing.java
Comments
A pull request was submitted for review. Branch: lworld URL: https://git.openjdk.org/valhalla/pull/1393 Date: 2025-03-10 14:52:17 +0000
10-03-2025