--- old/src/hotspot/share/oops/instanceMirrorKlass.cpp 2018-08-01 22:34:10.420246340 -0700 +++ new/src/hotspot/share/oops/instanceMirrorKlass.cpp 2018-08-01 22:34:10.084233561 -0700 @@ -66,3 +66,9 @@ } return 0; } + +#if INCLUDE_CDS +void InstanceMirrorKlass::serialize(SerializeClosure* f) { + f->do_u4((u4*)&_offset_of_static_fields); +} +#endif