8132709: [TESTBUG] gc/g1/TestHumongousShrinkHeap.java might fail on embedded
Reviewed-by: tschatzl, jwilhelm
This commit is contained in:
parent
c166f75b22
commit
187c7c2b58
@ -58,6 +58,10 @@ public class TestHumongousShrinkHeap {
|
||||
|
||||
|
||||
public static void main(String[] args) {
|
||||
if (HUMON_COUNT == 0) {
|
||||
System.out.println("Skipped. Heap is too small");
|
||||
return;
|
||||
}
|
||||
System.out.format("Running with %s max heap size. "
|
||||
+ "Will allocate humongous object of %s size %d times.%n",
|
||||
MemoryUsagePrinter.humanReadableByteCount(AVAILABLE_MEMORY, false),
|
||||
|
Loading…
Reference in New Issue
Block a user