equal
deleted
inserted
replaced
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 |