Skip to content
Permalink
Browse files
8253098: Archived full module graph should be disabled if CDS heap ca…
…nnot be mapped

Reviewed-by: ccheung, dholmes
  • Loading branch information
iklam committed Sep 15, 2020
1 parent ac9d1b0 commit 70cc7fc198a68345345e963a0252f0f3f9f1cf73
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/hotspot/share/memory/filemap.cpp
@@ -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();
}
}

1 comment on commit 70cc7fc

@bridgekeeper

This comment has been minimized.

Copy link

@bridgekeeper bridgekeeper bot commented on 70cc7fc Sep 15, 2020

Please sign in to comment.