Skip to content
Permalink
Browse files
8255268: 32-bit failures in runtime/Metaspace/elastic
Reviewed-by: shade
  • Loading branch information
tstuefe committed Oct 23, 2020
1 parent d8d9197 commit 2ca7a08091cd3c9fa2c02340f763019976663aea
@@ -87,8 +87,8 @@ public static void main(String[] args) throws Exception {
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 static void main(String[] args) throws Exception {
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);

1 comment on commit 2ca7a08

@bridgekeeper

This comment has been minimized.

Copy link

@bridgekeeper bridgekeeper bot commented on 2ca7a08 Oct 23, 2020

Please sign in to comment.