--- a/hotspot/test/compiler/whitebox/DeoptimizeAllTest.java Sat Mar 16 21:44:52 2013 -0700
+++ b/hotspot/test/compiler/whitebox/DeoptimizeAllTest.java Mon Mar 18 04:29:08 2013 -0700
@@ -32,12 +32,12 @@
public class DeoptimizeAllTest extends CompilerWhiteBoxTest {
public static void main(String[] args) throws Exception {
+ // to prevent inlining #method into #compile()
+ WHITE_BOX.setDontInlineMethod(METHOD, true);
new DeoptimizeAllTest().runTest();
}
protected void test() throws Exception {
- // to prevent inlining #method into #compile()
- WHITE_BOX.setDontInlineMethod(METHOD, true);
compile();
checkCompiled(METHOD);
WHITE_BOX.deoptimizeAll();