Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
5877beba
D
dragonwell8_hotspot
项目概览
openanolis
/
dragonwell8_hotspot
通知
2
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_hotspot
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
5877beba
编写于
9月 28, 2013
作者:
I
iignatyev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8023452: TestCase$Helper(java.lang.Object) must be osr_compiled
Reviewed-by: kvn
上级
9176aa05
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
30 addition
and
5 deletion
+30
-5
test/compiler/whitebox/CompilerWhiteBoxTest.java
test/compiler/whitebox/CompilerWhiteBoxTest.java
+4
-1
test/compiler/whitebox/DeoptimizeAllTest.java
test/compiler/whitebox/DeoptimizeAllTest.java
+6
-0
test/compiler/whitebox/DeoptimizeMethodTest.java
test/compiler/whitebox/DeoptimizeMethodTest.java
+6
-0
test/compiler/whitebox/EnqueueMethodForCompilationTest.java
test/compiler/whitebox/EnqueueMethodForCompilationTest.java
+2
-4
test/compiler/whitebox/IsMethodCompilableTest.java
test/compiler/whitebox/IsMethodCompilableTest.java
+6
-0
test/compiler/whitebox/MakeMethodNotCompilableTest.java
test/compiler/whitebox/MakeMethodNotCompilableTest.java
+6
-0
未找到文件。
test/compiler/whitebox/CompilerWhiteBoxTest.java
浏览文件 @
5877beba
...
...
@@ -74,6 +74,9 @@ public abstract class CompilerWhiteBoxTest {
protected
static
final
int
THRESHOLD
;
/** count of invocation to triger OSR compilation */
protected
static
final
long
BACKEDGE_THRESHOLD
;
/** Value of {@code java.vm.info} (interpreted|mixed|comp mode) */
protected
static
final
String
MODE
=
System
.
getProperty
(
"java.vm.info"
);
static
{
if
(
TIERED_COMPILATION
)
{
...
...
@@ -202,7 +205,7 @@ public abstract class CompilerWhiteBoxTest {
if
(
WHITE_BOX
.
getMethodCompilationLevel
(
method
,
true
)
!=
0
)
{
throw
new
RuntimeException
(
method
+
" osr_comp_level must be == 0"
);
}
}
}
/**
* Checks, that {@linkplain #method} is compiled.
...
...
test/compiler/whitebox/DeoptimizeAllTest.java
浏览文件 @
5877beba
...
...
@@ -53,6 +53,12 @@ public class DeoptimizeAllTest extends CompilerWhiteBoxTest {
*/
@Override
protected
void
test
()
throws
Exception
{
if
(
testCase
.
isOsr
&&
CompilerWhiteBoxTest
.
MODE
.
startsWith
(
"compiled "
))
{
System
.
err
.
printf
(
"Warning: %s is not applicable in %s%n"
,
testCase
.
name
(),
CompilerWhiteBoxTest
.
MODE
);
return
;
}
compile
();
checkCompiled
();
WHITE_BOX
.
deoptimizeAll
();
...
...
test/compiler/whitebox/DeoptimizeMethodTest.java
浏览文件 @
5877beba
...
...
@@ -53,6 +53,12 @@ public class DeoptimizeMethodTest extends CompilerWhiteBoxTest {
*/
@Override
protected
void
test
()
throws
Exception
{
if
(
testCase
.
isOsr
&&
CompilerWhiteBoxTest
.
MODE
.
startsWith
(
"compiled "
))
{
System
.
err
.
printf
(
"Warning: %s is not applicable in %s%n"
,
testCase
.
name
(),
CompilerWhiteBoxTest
.
MODE
);
return
;
}
compile
();
checkCompiled
();
deoptimize
();
...
...
test/compiler/whitebox/EnqueueMethodForCompilationTest.java
浏览文件 @
5877beba
...
...
@@ -70,12 +70,10 @@ public class EnqueueMethodForCompilationTest extends CompilerWhiteBoxTest {
int
compLevel
=
getCompLevel
();
int
bci
=
WHITE_BOX
.
getMethodEntryBci
(
method
);
System
.
out
.
println
(
"bci = "
+
bci
);
printInfo
();
deoptimize
();
printInfo
();
checkNotCompiled
();
printInfo
();
WHITE_BOX
.
clearMethodState
(
method
);
WHITE_BOX
.
enqueueMethodForCompilation
(
method
,
compLevel
,
bci
);
checkCompiled
();
deoptimize
();
...
...
test/compiler/whitebox/IsMethodCompilableTest.java
浏览文件 @
5877beba
...
...
@@ -68,6 +68,12 @@ public class IsMethodCompilableTest extends CompilerWhiteBoxTest {
*/
@Override
protected
void
test
()
throws
Exception
{
if
(
testCase
.
isOsr
&&
CompilerWhiteBoxTest
.
MODE
.
startsWith
(
"compiled "
))
{
System
.
err
.
printf
(
"Warning: %s is not applicable in %s%n"
,
testCase
.
name
(),
CompilerWhiteBoxTest
.
MODE
);
return
;
}
if
(!
isCompilable
())
{
throw
new
RuntimeException
(
method
+
" must be compilable"
);
}
...
...
test/compiler/whitebox/MakeMethodNotCompilableTest.java
浏览文件 @
5877beba
...
...
@@ -62,6 +62,12 @@ public class MakeMethodNotCompilableTest extends CompilerWhiteBoxTest {
*/
@Override
protected
void
test
()
throws
Exception
{
if
(
testCase
.
isOsr
&&
CompilerWhiteBoxTest
.
MODE
.
startsWith
(
"compiled "
))
{
System
.
err
.
printf
(
"Warning: %s is not applicable in %s%n"
,
testCase
.
name
(),
CompilerWhiteBoxTest
.
MODE
);
return
;
}
checkNotCompiled
();
if
(!
isCompilable
())
{
throw
new
RuntimeException
(
method
+
" must be compilable"
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录