RFR(S): 8139384 - [TESTBUG] JVMCI test fails with java.lang.RuntimeException: a 100_000 times invoked method should be mature

Dmitrij Pochepko dmitrij.pochepko at oracle.com
Mon Nov 23 22:36:44 UTC 2015


Hi,

please review fix for https://bugs.openjdk.java.net/browse/JDK-8139384 - 
[TESTBUG] JVMCI test fails with java.lang.RuntimeException: a 100_000 
times invoked method should be mature

A test test/compiler/jvmci/compilerToVM/IsMatureTest.java failed using 
-Xcomp -XX:-TieredCompilation.
A reason was that isMature was false for these flags combination (a 
respective logic in NonTieredCompPolicy::is_mature).

Test was changed to have Xcomp and TieredCompilation flags tracked and 
isMature state checked with respect to these options value.
Additionally, test was modified to use CompilerWhiteBoxTest.THRESHOLD 
constant to be unified with other tests.

Webrev: http://cr.openjdk.java.net/~dpochepk/8139384/webrev.01/


Thanks,
Dmitrij
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20151124/ebe3011a/attachment.html>


More information about the hotspot-compiler-dev mailing list