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