src/hotspot/share/memory/metaspaceShared.hpp
changeset 50039 9fec54fe663d
parent 49480 d7df2dd501ce
child 50056 ca1f2d4d4ec8
equal deleted inserted replaced
50038:3db7884546a1 50039:9fec54fe663d
   145   static size_t core_spaces_size() {
   145   static size_t core_spaces_size() {
   146     return _core_spaces_size;
   146     return _core_spaces_size;
   147   }
   147   }
   148   static void initialize_dumptime_shared_and_meta_spaces() NOT_CDS_RETURN;
   148   static void initialize_dumptime_shared_and_meta_spaces() NOT_CDS_RETURN;
   149   static void initialize_runtime_shared_and_meta_spaces() NOT_CDS_RETURN;
   149   static void initialize_runtime_shared_and_meta_spaces() NOT_CDS_RETURN;
       
   150   static void post_initialize(TRAPS) NOT_CDS_RETURN;
   150 
   151 
   151   // Delta of this object from the bottom of the archive.
   152   // Delta of this object from the bottom of the archive.
   152   static uintx object_delta(void* obj) {
   153   static uintx object_delta(void* obj) {
   153     assert(DumpSharedSpaces, "supported only for dumping");
   154     assert(DumpSharedSpaces, "supported only for dumping");
   154     assert(shared_rs()->contains(obj), "must be");
   155     assert(shared_rs()->contains(obj), "must be");
   248     return _cds_i2i_entry_code_buffers_size;
   249     return _cds_i2i_entry_code_buffers_size;
   249   }
   250   }
   250   static void relocate_klass_ptr(oop o);
   251   static void relocate_klass_ptr(oop o);
   251 
   252 
   252   static Klass* get_relocated_klass(Klass *k);
   253   static Klass* get_relocated_klass(Klass *k);
       
   254 
       
   255 private:
       
   256   static void read_extra_data(const char* filename, TRAPS) NOT_CDS_RETURN;
   253 };
   257 };
   254 #endif // SHARE_VM_MEMORY_METASPACESHARED_HPP
   258 #endif // SHARE_VM_MEMORY_METASPACESHARED_HPP