From 9a7dcdcdbad34e061a8988287fe691abfd4df305 Mon Sep 17 00:00:00 2001 From: Ioi Lam Date: Wed, 16 Sep 2020 22:43:32 +0000 Subject: [PATCH] 8253261: Disable CDS full module graph until JDK-8253081 is fixed Reviewed-by: ccheung --- src/hotspot/share/memory/metaspaceShared.cpp | 2 ++ test/hotspot/jtreg/ProblemList.txt | 1 + 2 files changed, 3 insertions(+) diff --git a/src/hotspot/share/memory/metaspaceShared.cpp b/src/hotspot/share/memory/metaspaceShared.cpp index f017dce3cb612..c80e1b108b9c9 100644 --- a/src/hotspot/share/memory/metaspaceShared.cpp +++ b/src/hotspot/share/memory/metaspaceShared.cpp @@ -1488,6 +1488,8 @@ MapArchiveResult MetaspaceShared::map_archives(FileMapInfo* static_mapinfo, File // map_heap_regions() compares the current narrow oop and klass encodings // with the archived ones, so it must be done after all encodings are determined. static_mapinfo->map_heap_regions(); + + disable_full_module_graph(); // Disabled temporarily for JDK-8253081 } }); log_info(cds)("optimized module handling: %s", MetaspaceShared::use_optimized_module_handling() ? "enabled" : "disabled"); diff --git a/test/hotspot/jtreg/ProblemList.txt b/test/hotspot/jtreg/ProblemList.txt index 6fb0bcbde76e3..2cb5991b41d14 100644 --- a/test/hotspot/jtreg/ProblemList.txt +++ b/test/hotspot/jtreg/ProblemList.txt @@ -82,6 +82,7 @@ gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java 8241293 macosx-x64 # :hotspot_runtime +runtime/cds/serviceability/ReplaceCriticalClassesForSubgraphs.java 8253081 generic-all runtime/jni/terminatedThread/TestTerminatedThread.java 8219652 aix-ppc64 runtime/ReservedStack/ReservedStackTest.java 8231031 generic-all containers/docker/TestMemoryAwareness.java 8250984 linux-5.4.0-1019-oracle