diff --git a/src/hotspot/share/runtime/arguments.cpp b/src/hotspot/share/runtime/arguments.cpp index c5e2f0c467c..8726abb91fe 100644 --- a/src/hotspot/share/runtime/arguments.cpp +++ b/src/hotspot/share/runtime/arguments.cpp @@ -1593,7 +1593,7 @@ void Arguments::set_heap_size() { // was not specified. if (reasonable_max > max_coop_heap) { if (FLAG_IS_ERGO(UseCompressedOops) && override_coop_limit) { - aot_log_info(aot)("UseCompressedOops and UseCompressedClassPointers have been disabled due to" + aot_log_info(aot)("UseCompressedOops disabled due to" " max heap %zu > compressed oop heap %zu. " "Please check the setting of MaxRAMPercentage %5.2f." ,(size_t)reasonable_max, (size_t)max_coop_heap, MaxRAMPercentage); diff --git a/test/hotspot/jtreg/runtime/cds/appcds/sharedStrings/SysDictCrash.java b/test/hotspot/jtreg/runtime/cds/appcds/sharedStrings/SysDictCrash.java index 219943d28de..9462f4f9d0b 100644 --- a/test/hotspot/jtreg/runtime/cds/appcds/sharedStrings/SysDictCrash.java +++ b/test/hotspot/jtreg/runtime/cds/appcds/sharedStrings/SysDictCrash.java @@ -58,7 +58,7 @@ public class SysDictCrash { try { TestCommon.checkDump(output); } catch (java.lang.RuntimeException re) { - if (!output.getStdout().contains("UseCompressedOops and UseCompressedClassPointers have been disabled due to")) { + if (!output.getStdout().contains("UseCompressedOops disabled due to")) { throw re; } else { System.out.println("Shared archive was not created due to UseCompressedOops and UseCompressedClassPointers have been disabled.");