RFR(XS) 8228359: [TESTBUG] jdk.jfr.e.g.c.TestGCHeapConfigurationEventWith32BitOops.java does not expect MinHeapSize to be aligned to HeapAlignment

Reingruber, Richard richard.reingruber at sap.com
Thu Jul 18 13:56:53 UTC 2019


Hi,

could I please get reviews for this small TESTBUG fix?

Webrev: http://cr.openjdk.java.net/~rrich/webrevs/2019/8228359/webrev/
Bug:    https://bugs.openjdk.java.net/browse/JDK-8228359

Since JDK-8223837 MinHeapSize is aligned to HeapAlignment and the test fails therefore on linuxppc, because there we have 64k pages and HeapAlignment is proportional to the page size.
The fix changes the test to expect the configured size of 100m to be aligned to HeapAlignment (32m on linuxppc).

Tested on linuxppcle and on linuxx86_64.

Thanks, Richard.


More information about the hotspot-jfr-dev mailing list