Mercurial > hg > truffle
comparison test/compiler/whitebox/DeoptimizeAllTest.java @ 12328:303826f477c6
8023452: TestCase$Helper(java.lang.Object) must be osr_compiled
Reviewed-by: kvn
author | iignatyev |
---|---|
date | Sat, 28 Sep 2013 12:32:10 +0400 |
parents | f99558245e5c |
children | f9a4b59ae350 |
comparison
equal
deleted
inserted
replaced
12327:e8e077292da3 | 12328:303826f477c6 |
---|---|
51 * | 51 * |
52 * @throws Exception if one of the checks fails. | 52 * @throws Exception if one of the checks fails. |
53 */ | 53 */ |
54 @Override | 54 @Override |
55 protected void test() throws Exception { | 55 protected void test() throws Exception { |
56 if (testCase.isOsr && CompilerWhiteBoxTest.MODE.startsWith( | |
57 "compiled ")) { | |
58 System.err.printf("Warning: %s is not applicable in %s%n", | |
59 testCase.name(), CompilerWhiteBoxTest.MODE); | |
60 return; | |
61 } | |
56 compile(); | 62 compile(); |
57 checkCompiled(); | 63 checkCompiled(); |
58 WHITE_BOX.deoptimizeAll(); | 64 WHITE_BOX.deoptimizeAll(); |
59 checkNotCompiled(); | 65 checkNotCompiled(); |
60 } | 66 } |