RFR (M): 8067651: LevelTransitionTest.java has issues

Pavel Punegov pavel.punegov at oracle.com
Mon Jul 25 17:19:29 UTC 2016


could you please review this fix to the test bug JDK-8067651

Issue: test doesn’t expect transitions 0 -> 4
1. Add invocation counter, and allow method to go to the 4th level after at least Tier4MinInvocationThreshold invocations.
To make transition be not “hidden” for the test, BackgroundCompilation is turned off.
2. Remove compiler.tiered.TransitionsTestExecutor class that executed tests in a separate VM with CompilationPolicyChoice 2 and 3.
3. Refactor: remove Helper class, move its methods to the test itself.

bug: https://bugs.openjdk.java.net/browse/JDK-8067651 <https://bugs.openjdk.java.net/browse/JDK-8067651>
webrev: http://cr.openjdk.java.net/~ppunegov/8067651/webrev.01/ <http://cr.openjdk.java.net/~ppunegov/8067651/webrev.01/>
— Thanks,
Pavel Punegov

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20160725/6ef4df5d/attachment.html>

More information about the hotspot-compiler-dev mailing list