8255268: 32-bit failures in runtime/Metaspace/elastic

Reviewed-by: shade
This commit is contained in:
Thomas Stuefe 2020-10-23 05:27:57 +00:00
parent d8d9197712
commit 2ca7a08091
2 changed files with 4 additions and 4 deletions
test/hotspot/jtreg/runtime/Metaspace/elastic

@ -87,8 +87,8 @@ public class TestMetaspaceAllocationMT1 {
long commitLimit = (i == 1) ? 1024 * 256 : 0;
// Note: reserve limit must be a multiple of Metaspace::reserve_alignment_words()
// (512 K)
long reserveLimit = (i == 2) ? 1024 * 512 : 0;
// (512K on 64bit, 1M on 32bit)
long reserveLimit = (i == 2) ? 1024 * 1024 : 0;
System.out.println("#### Test: ");
System.out.println("#### testAllocationCeiling: " + testAllocationCeiling);

@ -87,8 +87,8 @@ public class TestMetaspaceAllocationMT2 {
long commitLimit = (i == 1) ? 1024 * 256 : 0;
// Note: reserve limit must be a multiple of Metaspace::reserve_alignment_words()
// (512 K)
long reserveLimit = (i == 2) ? 1024 * 512 : 0;
// (512K on 64bit, 1M on 32bit)
long reserveLimit = (i == 2) ? 1024 * 1024 : 0;
System.out.println("#### Test: ");
System.out.println("#### testAllocationCeiling: " + testAllocationCeiling);