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.
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.