8253098: Archived full module graph should be disabled if CDS heap cannot be mapped

Reviewed-by: ccheung, dholmes
This commit is contained in:
Ioi Lam 2020-09-15 02:37:19 +00:00
parent ac9d1b08ee
commit 70cc7fc198

@ -1846,6 +1846,7 @@ void FileMapInfo::map_heap_regions() {
if (!HeapShared::open_archive_heap_region_mapped()) {
assert(open_archive_heap_ranges == NULL && num_open_archive_heap_ranges == 0, "sanity");
MetaspaceShared::disable_full_module_graph();
}
}