Offsets of boxing classes fields are hand coded, with some verification code to verify their value. Because these offsets can now be impacted by the support of various layout kinds, it would be more robust to simply get the real offsets from the layouts themselves.
The verification should remain to ensure that offsets retrieved from a CDS archive are consistent with the layouts of the boxing classes of the current VM.
The verification should remain to ensure that offsets retrieved from a CDS archive are consistent with the layouts of the boxing classes of the current VM.
- links to
-
Commit(lworld) openjdk/valhalla/a85d0a25
-
Review(lworld) openjdk/valhalla/1421