Mercurial > hg > graal-jvmci-8
diff test/compiler/whitebox/IsMethodCompilableTest.java @ 8766:4efac99a998b
8008211: Some of WB tests on compiler fail
Reviewed-by: kvn, vlivanov
author | iignatyev |
---|---|
date | Mon, 18 Mar 2013 04:29:08 -0700 |
parents | 1b0dc9f87e75 |
children | b84fd7d73702 |
line wrap: on
line diff
--- a/test/compiler/whitebox/IsMethodCompilableTest.java Sat Mar 16 21:44:52 2013 -0700 +++ b/test/compiler/whitebox/IsMethodCompilableTest.java Mon Mar 18 04:29:08 2013 -0700 @@ -44,6 +44,8 @@ } public static void main(String[] args) throws Exception { + // to prevent inlining #method into #compile() + WHITE_BOX.setDontInlineMethod(METHOD, true); new IsMethodCompilableTest().runTest(); } @@ -58,8 +60,6 @@ "Warning: test is not applicable if PerMethodRecompilationCutoff == Inf"); return; } - // to prevent inlining #method into #compile() - WHITE_BOX.setDontInlineMethod(METHOD, true); boolean madeNotCompilable = false; for (long i = 0; i < PER_METHOD_RECOMPILATION_CUTOFF; ++i) {