FW: RFR(S): 8130434: [TESTBUG] Harden TestLargePageUseForAuxMemory for more page size combinations.
goetz.lindenmaier at sap.com
Fri Jul 17 09:52:14 UTC 2015
could I please get a review for this change? I also please need a sponsor.
I posted to hotspot-dev before, gc-dev is probably better.
This change is crafted on top of "8079208: gc/g1/TestLargePageUseForAuxMemory.java fails due to not considering page allocation granularity for setup".
From: Lindenmaier, Goetz
Sent: Freitag, 10. Juli 2015 09:03
To: hotspot-dev at openjdk.java.net
Subject: RFR(S): 8130434: [TESTBUG] Harden TestLargePageUseForAuxMemory for more page size combinations.
this test wants to enforce large page usage for the card table etc.
It fails for certain page sizes we see on ppc, linux and aix.
On some, large page size == page size holds and this test fails:
"To test we would require to use an invalid heap size (assert failed: 33554432 > 33554432)"
Fix: Just skip the test in this case as it's pointless.
We have a machine with page size = 64K and large page size 4M.
In this case heapSizeDiffForBitmap was too small to reduce the heap size.
Due to the big value for the normal page size heap alignment is > largePageSize
and the heap size was aligned up to the original value.
Error: "'G1 'Prev Bitmap': pg_sz=65536' missing from stdout/stderr"
Fix: consider heap alignement for heapSizeDiffForBitmap.
Please review this change. I please need a sponsor.
Besides ppc, I tested this change on linuxx86_64, sun_64 and darwin_x86_64.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the hotspot-gc-dev