Mercurial > hg > truffle
comparison test/compiler/tiered/NonTieredLevelsTest.java @ 17711:d559dbbded7a
8027124: [TESTBUG] NonTieredLevelsTest: java.lang.RuntimeException: private TestCase$Helper(java.lang.Object) must be osr_compiled
Reviewed-by: kvn, roland
author | iignatyev |
---|---|
date | Thu, 06 Mar 2014 12:47:45 +0400 |
parents | d1760952ebdd |
children | 92aa6797d639 52b4284cb496 |
comparison
equal
deleted
inserted
replaced
17710:57e40b260938 | 17711:d559dbbded7a |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * | 4 * |
5 * This code is free software; you can redistribute it and/or modify it | 5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as | 6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
68 WHITE_BOX.testSetDontInlineMethod(method, true); | 68 WHITE_BOX.testSetDontInlineMethod(method, true); |
69 } | 69 } |
70 | 70 |
71 @Override | 71 @Override |
72 protected void test() throws Exception { | 72 protected void test() throws Exception { |
73 if (skipXcompOSR()) { | |
74 return; | |
75 } | |
73 checkNotCompiled(); | 76 checkNotCompiled(); |
74 compile(); | 77 compile(); |
75 checkCompiled(); | 78 checkCompiled(); |
76 | 79 |
77 int compLevel = getCompLevel(); | 80 int compLevel = getCompLevel(); |