RFR: 8148397: Create new tests for IHOP
thomas.schatzl at oracle.com
Tue Mar 29 13:39:45 UTC 2016
On Fri, 2016-03-18 at 18:57 +0300, Michail Chernov wrote:
> Could I have a review for this change, please:
> Bug: https://bugs.openjdk.java.net/browse/JDK-8148397
> Webrev: http://cr.openjdk.java.net/~mchernov/8148397/webrev.00/
> TestIHOPParallel.java - stress test for Adaptive IHOP with logging.
> Test allocates and frees memory in several threads. Executes with
> enabled logging for IHOP:
> -Xlog:gc+ihop=debug,gc+ihop+ergo=debug,gc+ergo=debug . Expects for no
> crashes during working.
> TestIHOPStatic.java - provokes concurrent cycle initiation with
> static IHOP during allocation to check that occupancy and threshold
> (IHOP) are valid and occupancy is greater than threshold.
> TestIHOPErgo.java - provokes concurrent cycle initiation with static
> and adaptive IHOP. Checks that occupancy and threshold are valid.
> Checks that adaptive IHOP prediction is activated during some
> Executed on several configurations with nightly VM options.
More information about the hotspot-gc-dev