Skip to content

Commit fb7c416

Browse files
committed
Fix object scanning
1 parent 46f6bfa commit fb7c416

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

mmtk/src/abi.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,7 @@ pub struct InstanceKlass {
121121
pub nest_host_index: u16,
122122
pub this_class_index: u16,
123123
pub static_oop_field_count: u16,
124-
pub java_fields_count: u16,
125124
pub idnum_allocated_count: u16,
126-
pub is_marked_dependent: bool, // bool
127125
pub init_state: u8,
128126
pub reference_type: ReferenceType,
129127
pub misc_flags: u16,
@@ -145,13 +143,16 @@ pub struct InstanceKlass {
145143
// #endif
146144
#[cfg(debug_assertions)]
147145
verify_count: i32,
146+
#[cfg(debug_assertions)]
147+
_shared_class_load_count: i32,
148148
pub methods: OpaquePointer, // Array<Method*>*
149149
pub default_methods: OpaquePointer, // Array<Method*>*
150150
pub local_interfaces: OpaquePointer, // Array<Klass*>*
151151
pub transitive_interfaces: OpaquePointer, // Array<Klass*>*
152152
pub method_ordering: OpaquePointer, // Array<int>*
153153
pub default_vtable_indices: OpaquePointer, // Array<int>*
154-
pub fields: OpaquePointer, // Array<u2>*
154+
pub fieldinfo_stream: OpaquePointer, // Array<u1>*
155+
pub fields_status: OpaquePointer, // Array<FieldStatus>*
155156
}
156157

157158
#[repr(u8)]

0 commit comments

Comments
 (0)