RFR (XXS): 8140350: compiler control tests fail with compiled: true, but should: false on required level: 1
Pavel Punegov
pavel.punegov at oracle.com
Mon Oct 26 18:12:43 UTC 2015
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/
--
Thanks,
Pavel Punegov
More information about the hotspot-compiler-dev
mailing list