8046268: compiler/whitebox/ tests fail : must be osr_compiled

Added code to 'warm up' the methods before triggering OSR compilation by executing them a limited number of times. Like this, the profile information marks the loop exit as taken and we don't add an uncommon trap.

Reviewed-by: kvn, dlong, iignatyev
This commit is contained in:
Tobias Hartmann 2014-10-13 12:30:37 +02:00
parent aed6e5a976
commit 38e46e728d
9 changed files with 97 additions and 33 deletions

View file

@ -25,7 +25,6 @@
* @test EnqueueMethodForCompilationTest
* @bug 8006683 8007288 8022832
* @library /testlibrary /testlibrary/whitebox
* @ignore 8046268
* @build EnqueueMethodForCompilationTest
* @run main ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission