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