equal
deleted
inserted
replaced
284 static bool is_heap_region(int idx) { |
284 static bool is_heap_region(int idx) { |
285 CDS_JAVA_HEAP_ONLY(return (idx >= MetaspaceShared::first_closed_archive_heap_region && |
285 CDS_JAVA_HEAP_ONLY(return (idx >= MetaspaceShared::first_closed_archive_heap_region && |
286 idx <= MetaspaceShared::last_open_archive_heap_region)); |
286 idx <= MetaspaceShared::last_open_archive_heap_region)); |
287 NOT_CDS_JAVA_HEAP_RETURN_(false); |
287 NOT_CDS_JAVA_HEAP_RETURN_(false); |
288 } |
288 } |
289 static bool is_closed_archive_heap_region(int idx) { |
|
290 CDS_JAVA_HEAP_ONLY(return (idx >= MetaspaceShared::first_closed_archive_heap_region && |
|
291 idx <= MetaspaceShared::last_closed_archive_heap_region)); |
|
292 NOT_CDS_JAVA_HEAP_RETURN_(false); |
|
293 } |
|
294 static bool is_open_archive_heap_region(int idx) { |
|
295 CDS_JAVA_HEAP_ONLY(return (idx >= MetaspaceShared::first_open_archive_heap_region && |
|
296 idx <= MetaspaceShared::last_open_archive_heap_region)); |
|
297 NOT_CDS_JAVA_HEAP_RETURN_(false); |
|
298 } |
|
299 |
289 |
300 static void set_closed_archive_heap_region_mapped() { |
290 static void set_closed_archive_heap_region_mapped() { |
301 CDS_JAVA_HEAP_ONLY(_closed_archive_heap_region_mapped = true); |
291 CDS_JAVA_HEAP_ONLY(_closed_archive_heap_region_mapped = true); |
302 NOT_CDS_JAVA_HEAP_RETURN; |
292 NOT_CDS_JAVA_HEAP_RETURN; |
303 } |
293 } |