RFR: 8276546: [IR Framework] Whitelist and ignore CompileThreshold

Nils Eliasson neliasso at openjdk.java.net
Tue Nov 9 21:42:37 UTC 2021


On Tue, 9 Nov 2021 13:21:56 GMT, Christian Hagedorn <chagedorn at openjdk.org> wrote:

> This patch whitelists `CompileThreshold` and ignores it if passed as JTreg VM/Java option flag to a test. The reason to do this is that our CI executes `-XX:-TieredCompilation` in combination with `CompileThreshold` and therefore IR matching will not be performed (because `CompileThreshold` is not whitelisted). This patch changes this.
> 
> Setting `CompileThreshold` with `TestFramework::addFlags/runWithFlags()` will normally apply the flag.
> 
> Thanks,
> Christian

Looks good.

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

Marked as reviewed by neliasso (Reviewer).

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


More information about the hotspot-compiler-dev mailing list