comparison test/testlibrary/whitebox/sun/hotspot/WhiteBox.java @ 12233:40136aa2cdb1

8010722: assert: failed: heap size is too big for compressed oops Summary: Use conservative assumptions of required alignment for the various garbage collector components into account when determining the maximum heap size that supports compressed oops. Using this conservative value avoids several circular dependencies in the calculation. Reviewed-by: stefank, dholmes
author tschatzl
date Wed, 11 Sep 2013 16:25:02 +0200
parents 5fd8e2fbafd4
children 9d8b29a0548c
comparison
equal deleted inserted replaced
12230:040895ec3920 12233:40136aa2cdb1
59 59
60 static { 60 static {
61 registerNatives(); 61 registerNatives();
62 } 62 }
63 63
64 // Get the maximum heap size supporting COOPs
65 public native long getCompressedOopsMaxHeapSize();
64 // Arguments 66 // Arguments
65 public native void printHeapSizes(); 67 public native void printHeapSizes();
66 68
67 // Memory 69 // Memory
68 public native long getObjectAddress(Object o); 70 public native long getObjectAddress(Object o);