src/hotspot/share/memory/metaspaceClosure.cpp
changeset 55296 357c9dcb6eb9
parent 54927 1512d88b24c6
equal deleted inserted replaced
55295:14283f280695 55296:357c9dcb6eb9
    43     _pending_refs = ref;
    43     _pending_refs = ref;
    44   }
    44   }
    45 }
    45 }
    46 
    46 
    47 void MetaspaceClosure::do_push(MetaspaceClosure::Ref* ref) {
    47 void MetaspaceClosure::do_push(MetaspaceClosure::Ref* ref) {
    48   if (ref->not_null()) { // FIXME: make this configurable, so DynamicArchiveBuilder mark all pointers
    48   if (ref->not_null()) {
    49     bool read_only;
    49     bool read_only;
    50     Writability w = ref->writability();
    50     Writability w = ref->writability();
    51     switch (w) {
    51     switch (w) {
    52     case _writable:
    52     case _writable:
    53       read_only = false;
    53       read_only = false;