File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
test/hotspot/jtreg/gc/arguments Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 2626/*
2727 * @test TestUseCompressedOopsFlagsWithUlimit
2828 * @bug 8280761
29- * @summary Verify correct UseCompressedOops when MaxRAM and MaxRAMPercentage
30- * are specified with ulimit -v.
29+ * @summary Verify that ergonomic setting of UseCompressedOops adheres to ulimit -v
3130 * @library /test/lib
3231 * @library /
3332 * @requires vm.bits == "64"
@@ -91,9 +90,9 @@ public static void main(String args[]) throws Exception {
9190
9291 long oneG = 1L * 1024L * 1024L * 1024L ;
9392
94- // Args: ulimit, max_ram_percent, expected_coop
95- // Setting MaxRAMPercentage explicitly to make the test more resilient .
96- checkFlag ( 10 * oneG , 100 , true );
93+ // Regardless of how much memory that is available on the machine, we should
94+ // always get compressed oops if we have set a ulimit below the COOPS limit .
95+ // We set MaxRAMPercentage explicitly to make the test more resilient.
9796 checkFlag (10 * oneG , 100 , true );
9897 }
9998}
You can’t perform that action at this time.
0 commit comments