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

SA: InstanceKlass.getSize() needs an update because of inline types

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • repo-valhalla
    • hotspot

      The method InstanceKlass.getSize() of the SA is supposed to reproduce the computation of an InstanceKlass instance by reproducing the computation originally found in InstanceKlass::size(). The later has been modified by project Valhalla, adding a new dynamically sized section (see InstanceKlass::_value_field_klasses). This change has to be propagated to the SA code.

      Project Valhalla also introduced a new subtype to InstanceKlass: ValueKlass, which has also an additional section (see ValueKlassFixedBlock).

      The SA should be updated to correctly support both meta-data.

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

              Created:
              Updated: