RFR(XXS): 8151796: compiler/whitebox/BlockingCompilation.java fails due to method not compiled

Volker Simonis volker.simonis at gmail.com
Mon Mar 14 10:27:34 UTC 2016


can I please have a review and sponsor for the following tiny test fix:


Change JDK-8150646 added a new test
(compiler/whitebox/BlockingCompilation.java) which checks that is is
possible to compile a simple method on every available compilation
level trough the whitebox API. It also checks that these compilations
can be done in blocking as well as in unblocking mode.

Unfortunately it seems that the test is a little shaky. It may happen
that the test simple method is not compilable on an available
compilation level (e.g. because the code cache is full). Also testing
for non-blocking compilations isn't 100% bullet proof, because
non-blocking compiles may look like blocking compilations if the
compiler thread is faster than the test thread for some reason.

I've therefore flagged this test as "@ignore". It can still be run
manually by using the '-ignore:run' jtreg command line option.
Automatic test runs can now skip this test by using '-ignore:quiet'.


More information about the hotspot-compiler-dev mailing list