src/share/vm/memory/metaspaceShared.cpp

changeset 8509
cb4af293fe70
parent 8497
50e62b688ddc
child 8604
04d83ba48607
child 9988
1b2d99958c29
     1.1 --- a/src/share/vm/memory/metaspaceShared.cpp	Mon May 02 14:24:36 2016 -0700
     1.2 +++ b/src/share/vm/memory/metaspaceShared.cpp	Wed Apr 27 14:41:55 2016 -0400
     1.3 @@ -54,6 +54,7 @@
     1.4  bool MetaspaceShared::_check_classes_made_progress;
     1.5  bool MetaspaceShared::_has_error_classes;
     1.6  bool MetaspaceShared::_archive_loading_failed = false;
     1.7 +bool MetaspaceShared::_remapped_readwrite = false;
     1.8  // Read/write a data stream for restoring/preserving metadata pointers and
     1.9  // miscellaneous data from/to the shared archive file.
    1.10  
    1.11 @@ -1101,6 +1102,7 @@
    1.12      if (!mapinfo->remap_shared_readonly_as_readwrite()) {
    1.13        return false;
    1.14      }
    1.15 +    _remapped_readwrite = true;
    1.16    }
    1.17    return true;
    1.18  }

mercurial