hotspot/src/share/vm/memory/filemap.hpp
changeset 46619 a3919f5e8d2b
parent 42876 ff8ff9dcccec
child 46625 edefffab74e2
equal deleted inserted replaced
46618:d503911aa948 46619:a3919f5e8d2b
   252   bool is_in_shared_region(const void* p, int idx) NOT_CDS_RETURN_(false);
   252   bool is_in_shared_region(const void* p, int idx) NOT_CDS_RETURN_(false);
   253   void print_shared_spaces() NOT_CDS_RETURN;
   253   void print_shared_spaces() NOT_CDS_RETURN;
   254 
   254 
   255   // The ro+rw+md+mc spaces size
   255   // The ro+rw+md+mc spaces size
   256   static size_t core_spaces_size() {
   256   static size_t core_spaces_size() {
   257     return align_size_up((SharedReadOnlySize + SharedReadWriteSize +
   257     return align_up((SharedReadOnlySize + SharedReadWriteSize +
   258                           SharedMiscDataSize + SharedMiscCodeSize),
   258                      SharedMiscDataSize + SharedMiscCodeSize),
   259                           os::vm_allocation_granularity());
   259                      os::vm_allocation_granularity());
   260   }
   260   }
   261 
   261 
   262   // The estimated optional space size.
   262   // The estimated optional space size.
   263   //
   263   //
   264   // Currently the optional space only has archived class bytes.
   264   // Currently the optional space only has archived class bytes.