RFR (XXS): 8140350: compiler control tests fail with compiled: true, but should: false on required level: 1

Vladimir Kozlov vladimir.kozlov at oracle.com
Tue Oct 27 02:08:04 UTC 2015



On 10/27/15 2:12 AM, Pavel Punegov wrote:
> Hi,
> Please review the following fix for compiler control tests.
> Issue: Tests could fail (mostly with Xcomp) if they check compilation
> with WB.isMethodCompiled(), because method could be already compiled on
> higher level.
> When test method is excluded on the 1st level, it will be compiled on
> the 4th level. Test would incorrectly assume then that test method is
> compilable on the level it should not.
> Fix: make test check that the method could be compiled on particular
> level with WhiteBox.isMethodCompilable.
> bug: https://bugs.openjdk.java.net/browse/JDK-8140350
> webrev: http://cr.openjdk.java.net/~ppunegov/8140350/webrev.00/

More information about the hotspot-compiler-dev mailing list