*** 64,68 **** --- 64,74 ---- if (k != NULL && k->is_instance_klass()) { return InstanceKlass::cast(k)->static_oop_field_count(); } return 0; } + + #if INCLUDE_CDS + void InstanceMirrorKlass::serialize(SerializeClosure* f) { + f->do_u4((u4*)&_offset_of_static_fields); + } + #endif