RFR (M): 8059575: JEP-JDK-8043304: Test task: Tiered Compilation level transition tests
tobias.hartmann at oracle.com
Mon Dec 8 07:30:09 UTC 2014
looks good (not a reviewer).
On 05.12.2014 21:17, Pavel Punegov wrote:
> Hi Tobias,
> see new webrev: http://cr.openjdk.java.net/~ppunegov/8059575/webrev.04/
> I added TransitionsTestExecutor.java class that checks if TieredCompilation is
> available in the VM it was started with. Then it starts test for
> CompilatonPolicyChoice 2 and 3.
> On 01.12.2014 11:27, Tobias Hartmann wrote:
>> Hi Pavel,
>> the tests fail with a client VM:
>>> Error occurred during initialization of VM
>>> Incompatible compilation policy selected
>> Please execute them on JPRT to make sure they work on all platforms.
>> On 28.11.2014 13:27, Pavel Punegov wrote:
>>> Hi all,
>>> please review new tests developed as a part of the test task:
>>> JBS: https://bugs.openjdk.java.net/browse/JDK-8059575
>>> webrev: http://cr.openjdk.java.net/~ppunegov/8059575/webrev.00/
>>> There are two tests to verify level transitions in Tiered Compilation:
>>> 1. LevelTransitionTest verifies that in case of no load on compiler queues test
>>> methods go through common transition patterns:
>>> 0 -> 3 (2) -> 4 for most of methods, 0 ->3(2) -> 1 and 0 -> 1 for different
>>> trivial methods, and 0 -> 4 after deoptimization.
>>> Test provokes compilations of the method and checks that all transitions are
>>> correct for CompilationPolicyChoice=2 and 3.
>>> 2. ConstantGettersTransitions is a test adapted from the test Tobias used for
>>> 8056071 (see [*] for details). It checks that all constant getters are always
>>> compiled with C1.
>>> [*] https://bugs.openjdk.java.net/browse/JDK-8028590
>>> Testing: done locally
More information about the hotspot-compiler-dev