RFR (XS): 8193067: gc/g1/TestVerifyGCType.java still unstable

Per Liden per.liden at oracle.com
Mon Mar 26 17:55:16 UTC 2018


On 03/26/2018 11:41 AM, Thomas Schatzl wrote:
> Hi all,
> 
>    can I have reviews for this small change to the TestVerifyGCType test
> to make it stable? The problem has been that due to different number of
> threads used, different amount of heap waste has been "produced", only
> randomly triggering the expected mixed gcs.
> 
> By fixing the number of threads used and decreasing G1HeapWastePercent
> the mixed gcs can be forced reproducably.
> 
> CR:
> https://bugs.openjdk.java.net/browse/JDK-8193067
> 
> Webrev:
> http://cr.openjdk.java.net/~tschatzl/8193067/webrev/

Looks good!

/Per

> 
> Testing:
> failing test passing multiple times in CI
> 
> Thanks,
>    Thomas
> 



More information about the hotspot-gc-dev mailing list