RFR: 8256569: Add C2 compiler stress flags to CTW

Tobias Hartmann thartmann at openjdk.java.net
Fri Nov 20 07:58:04 UTC 2020


On Fri, 20 Nov 2020 00:04:31 GMT, Igor Ignatyev <iignatyev at openjdk.org> wrote:

> Hi all,
> 
> Could you please review this small patch which adds `-XX:+StressLCM`, `-XX:+StressGCM`, and `-XX:+StressIGVN` flags to the CTW test library? these flags have been found instrumental in increasing the probability to find C2 bugs. The patch also specifies `-XX:StressSeed` flag to keep CTW testing deterministic and reproducible.
> 
> testing:
> * [x] `test/hotspot/jtreg/applications/ctw/modules/java_base.java` on `macos-x64`
> * [x] `test/hotspot/jtreg/testlibrary_tests/ctw/` on `macos-x64`
> 
> Cheers,
> -- Igor

Looks good!

-------------

Marked as reviewed by thartmann (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/1332


More information about the hotspot-compiler-dev mailing list