equal
deleted
inserted
replaced
50 |
50 |
51 void MetaspaceShared::serialize(SerializeClosure* soc) { |
51 void MetaspaceShared::serialize(SerializeClosure* soc) { |
52 int tag = 0; |
52 int tag = 0; |
53 soc->do_tag(--tag); |
53 soc->do_tag(--tag); |
54 |
54 |
55 assert(!UseCompressedOops, "UseCompressedOops doesn't work with shared archive"); |
|
56 // Verify the sizes of various metadata in the system. |
55 // Verify the sizes of various metadata in the system. |
57 soc->do_tag(sizeof(Method)); |
56 soc->do_tag(sizeof(Method)); |
58 soc->do_tag(sizeof(ConstMethod)); |
57 soc->do_tag(sizeof(ConstMethod)); |
59 soc->do_tag(arrayOopDesc::base_offset_in_bytes(T_BYTE)); |
58 soc->do_tag(arrayOopDesc::base_offset_in_bytes(T_BYTE)); |
60 soc->do_tag(sizeof(ConstantPool)); |
59 soc->do_tag(sizeof(ConstantPool)); |