RFR (M): 8059575: JEP-JDK-8043304: Test task: Tiered Compilation level transition tests

Pavel Punegov pavel.punegov at oracle.com
Fri Nov 28 12:27:51 UTC 2014

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

Pavel Punegov

More information about the hotspot-compiler-dev mailing list