hotspot/src/share/vm/memory/metaspaceShared.cpp
changeset 19319 0ad35be0733a
parent 18483 c021907fa0a7
child 20059 c26474fd5ac0
equal deleted inserted replaced
19318:7425be18f6f4 19319:0ad35be0733a
    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));