Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
908b6aa1
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看板
提交
908b6aa1
编写于
2月 03, 2010
作者:
N
never
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
6348dd84
61243fa3
变更
3
显示空白变更内容
内联
并排
Showing
3 changed file
with
12 addition
and
9 deletion
+12
-9
src/share/vm/compiler/compileBroker.cpp
src/share/vm/compiler/compileBroker.cpp
+6
-6
src/share/vm/oops/methodOop.cpp
src/share/vm/oops/methodOop.cpp
+2
-2
src/share/vm/oops/methodOop.hpp
src/share/vm/oops/methodOop.hpp
+4
-1
未找到文件。
src/share/vm/compiler/compileBroker.cpp
浏览文件 @
908b6aa1
/*
* Copyright 1999-20
09
Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1999-20
10
Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -1132,7 +1132,7 @@ bool CompileBroker::compilation_is_prohibited(methodHandle method, int osr_bci,
// the specified level
if
(
is_native
&&
(
!
CICompileNatives
||
!
compiler
(
comp_level
)
->
supports_native
()))
{
method
->
set_not_compilable
();
method
->
set_not_compilable
_quietly
();
return
true
;
}
...
...
@@ -1156,7 +1156,7 @@ bool CompileBroker::compilation_is_prohibited(methodHandle method, int osr_bci,
method
->
print_short_name
(
tty
);
tty
->
cr
();
}
method
->
set_not_compilable
();
method
->
set_not_compilable
_quietly
();
}
return
false
;
...
...
@@ -1189,7 +1189,7 @@ uint CompileBroker::assign_compile_id(methodHandle method, int osr_bci) {
}
// Method was not in the appropriate compilation range.
method
->
set_not_compilable
();
method
->
set_not_compilable
_quietly
();
return
0
;
}
...
...
@@ -1590,10 +1590,10 @@ void CompileBroker::invoke_compiler_on_method(CompileTask* task) {
if
(
is_osr
)
{
method
->
set_not_osr_compilable
();
}
else
{
method
->
set_not_compilable
();
method
->
set_not_compilable
_quietly
();
}
}
else
if
(
compilable
==
ciEnv
::
MethodCompilable_not_at_tier
)
{
method
->
set_not_compilable
(
task
->
comp_level
());
method
->
set_not_compilable
_quietly
(
task
->
comp_level
());
}
// Note that the queued_for_compilation bits are cleared without
...
...
src/share/vm/oops/methodOop.cpp
浏览文件 @
908b6aa1
...
...
@@ -587,8 +587,8 @@ bool methodOopDesc::is_not_compilable(int comp_level) const {
}
// call this when compiler finds that this method is not compilable
void
methodOopDesc
::
set_not_compilable
(
int
comp_level
)
{
if
(
PrintCompilation
)
{
void
methodOopDesc
::
set_not_compilable
(
int
comp_level
,
bool
report
)
{
if
(
PrintCompilation
&&
report
)
{
ttyLocker
ttyl
;
tty
->
print
(
"made not compilable "
);
this
->
print_short_name
(
tty
);
...
...
src/share/vm/oops/methodOop.hpp
浏览文件 @
908b6aa1
...
...
@@ -596,7 +596,10 @@ class methodOopDesc : public oopDesc {
// whether it is not compilable for another reason like having a
// breakpoint set in it.
bool
is_not_compilable
(
int
comp_level
=
CompLevel_highest_tier
)
const
;
void
set_not_compilable
(
int
comp_level
=
CompLevel_highest_tier
);
void
set_not_compilable
(
int
comp_level
=
CompLevel_highest_tier
,
bool
report
=
true
);
void
set_not_compilable_quietly
(
int
comp_level
=
CompLevel_highest_tier
)
{
set_not_compilable
(
comp_level
,
false
);
}
bool
is_not_osr_compilable
()
const
{
return
is_not_compilable
()
||
access_flags
().
is_not_osr_compilable
();
}
void
set_not_osr_compilable
()
{
_access_flags
.
set_not_osr_compilable
();
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录