Skip to content
Prev Previous commit
Next Next commit
Apply changes suggested in review
  • Loading branch information
fparain committed Oct 23, 2025
commit c4d5cf453886a5acecb613c074331badb559601e
2 changes: 1 addition & 1 deletion src/hotspot/share/classfile/fieldLayoutBuilder.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ class FieldLayoutBuilder : public ResourceObj {
FieldGroup* _static_fields;
FieldLayout* _layout;
FieldLayout* _static_layout;
GrowableArray<Pair<int,int>>* _nonoop_acmp_map ;
GrowableArray<Pair<int,int>>* _nonoop_acmp_map;
GrowableArray<int>* _oop_acmp_map;
int _nonstatic_oopmap_count;
int _payload_alignment;
Expand Down
5 changes: 4 additions & 1 deletion src/hotspot/share/oops/instanceKlass.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,10 @@ class InstanceKlass: public Klass {
// reference type
ReferenceType reference_type() const { return (ReferenceType)_reference_type; }

int acmp_maps_offset() const { return _acmp_maps_offset; }
int acmp_maps_offset() const {
assert(_acmp_maps_offset != 0, "Not initialized");
return _acmp_maps_offset;
}
void set_acmp_maps_offset(int offset) { _acmp_maps_offset = offset; }

// this class cp index
Expand Down