comparison test/compiler/whitebox/IsMethodCompilableTest.java @ 20651:600c44255e5f

8056071: compiler/whitebox/IsMethodCompilableTest.java fails with 'method() is not compilable after 3 iterations' Summary: Always use MDO if valid and always compile trivial methods with C1 if available. Reviewed-by: kvn, iveresov
author thartmann
date Tue, 11 Nov 2014 11:05:41 +0100
parents e5d5e7922283
children 7848fc12602b
comparison
equal deleted inserted replaced
20650:f84125b6f69a 20651:600c44255e5f
26 * @bug 8007270 8006683 8007288 8022832 26 * @bug 8007270 8006683 8007288 8022832
27 * @library /testlibrary /testlibrary/whitebox /testlibrary/com/oracle/java/testlibrary 27 * @library /testlibrary /testlibrary/whitebox /testlibrary/com/oracle/java/testlibrary
28 * @build IsMethodCompilableTest 28 * @build IsMethodCompilableTest
29 * @run main ClassFileInstaller sun.hotspot.WhiteBox 29 * @run main ClassFileInstaller sun.hotspot.WhiteBox
30 * @run main ClassFileInstaller com.oracle.java.testlibrary.Platform 30 * @run main ClassFileInstaller com.oracle.java.testlibrary.Platform
31 * @run main/othervm/timeout=2400 -Xbootclasspath/a:. -Xmixed -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:PerMethodRecompilationCutoff=3 -XX:CompileCommand=compileonly,SimpleTestCase$Helper::* IsMethodCompilableTest 31 * @run main/othervm/timeout=2400 -Xbootclasspath/a:. -Xmixed -XX:-TieredCompilation -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:PerMethodRecompilationCutoff=3 -XX:CompileCommand=compileonly,SimpleTestCase$Helper::* IsMethodCompilableTest
32 * @summary testing of WB::isMethodCompilable() 32 * @summary testing of WB::isMethodCompilable()
33 * @author igor.ignatyev@oracle.com 33 * @author igor.ignatyev@oracle.com
34 */ 34 */
35 35
36 import com.oracle.java.testlibrary.Platform; 36 import com.oracle.java.testlibrary.Platform;