Skip to content

Commit 70cc7fc

Browse files
committed
8253098: Archived full module graph should be disabled if CDS heap cannot be mapped
Reviewed-by: ccheung, dholmes
1 parent ac9d1b0 commit 70cc7fc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/hotspot/share/memory/filemap.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1846,6 +1846,7 @@ void FileMapInfo::map_heap_regions() {
18461846

18471847
if (!HeapShared::open_archive_heap_region_mapped()) {
18481848
assert(open_archive_heap_ranges == NULL && num_open_archive_heap_ranges == 0, "sanity");
1849+
MetaspaceShared::disable_full_module_graph();
18491850
}
18501851
}
18511852

0 commit comments

Comments
 (0)