Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8353752

[lworld] Remove handcoded offsets of field offsets for boxing classes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • None
    • repo-valhalla
    • hotspot

      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.

            fparain Frederic Parain
            fparain Frederic Parain
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: