Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
24fc001a
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看板
提交
24fc001a
编写于
9月 09, 2014
作者:
I
iveresov
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
171718e4
b02da740
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
13 addition
and
4 deletion
+13
-4
src/share/vm/classfile/classLoader.cpp
src/share/vm/classfile/classLoader.cpp
+2
-2
src/share/vm/classfile/systemDictionary.cpp
src/share/vm/classfile/systemDictionary.cpp
+3
-0
src/share/vm/code/codeCache.cpp
src/share/vm/code/codeCache.cpp
+3
-1
src/share/vm/code/compiledIC.cpp
src/share/vm/code/compiledIC.cpp
+1
-0
src/share/vm/code/nmethod.hpp
src/share/vm/code/nmethod.hpp
+4
-1
未找到文件。
src/share/vm/classfile/classLoader.cpp
浏览文件 @
24fc001a
...
...
@@ -1609,7 +1609,7 @@ void ClassLoader::compile_the_world_in(char* name, Handle loader, TRAPS) {
if
(
TieredCompilation
&&
TieredStopAtLevel
>=
CompLevel_full_optimization
)
{
// Clobber the first compile and force second tier compilation
nmethod
*
nm
=
m
->
code
();
if
(
nm
!=
NULL
)
{
if
(
nm
!=
NULL
&&
!
m
->
is_method_handle_intrinsic
()
)
{
// Throw out the code so that the code cache doesn't fill up
nm
->
make_not_entrant
();
m
->
clear_code
();
...
...
@@ -1628,7 +1628,7 @@ void ClassLoader::compile_the_world_in(char* name, Handle loader, TRAPS) {
}
nmethod
*
nm
=
m
->
code
();
if
(
nm
!=
NULL
)
{
if
(
nm
!=
NULL
&&
!
m
->
is_method_handle_intrinsic
()
)
{
// Throw out the code so that the code cache doesn't fill up
nm
->
make_not_entrant
();
m
->
clear_code
();
...
...
src/share/vm/classfile/systemDictionary.cpp
浏览文件 @
24fc001a
...
...
@@ -2291,6 +2291,9 @@ methodHandle SystemDictionary::find_method_handle_intrinsic(vmIntrinsics::ID iid
}
assert
(
spe
!=
NULL
&&
spe
->
method
()
!=
NULL
,
""
);
assert
(
!
UseCompiler
||
(
spe
->
method
()
->
has_compiled_code
()
&&
spe
->
method
()
->
code
()
->
entry_point
()
==
spe
->
method
()
->
from_compiled_entry
()),
"MH intrinsic invariant"
);
return
spe
->
method
();
}
...
...
src/share/vm/code/codeCache.cpp
浏览文件 @
24fc001a
...
...
@@ -712,7 +712,9 @@ int CodeCache::mark_for_evol_deoptimization(instanceKlassHandle dependee) {
void
CodeCache
::
mark_all_nmethods_for_deoptimization
()
{
MutexLockerEx
mu
(
CodeCache_lock
,
Mutex
::
_no_safepoint_check_flag
);
FOR_ALL_ALIVE_NMETHODS
(
nm
)
{
nm
->
mark_for_deoptimization
();
if
(
!
nm
->
method
()
->
is_method_handle_intrinsic
())
{
nm
->
mark_for_deoptimization
();
}
}
}
...
...
src/share/vm/code/compiledIC.cpp
浏览文件 @
24fc001a
...
...
@@ -595,6 +595,7 @@ void CompiledStaticCall::compute_entry(methodHandle m, StaticCallInfo& info) {
}
else
{
// Callee is interpreted code. In any case entering the interpreter
// puts a converter-frame on the stack to save arguments.
assert
(
!
m
->
is_method_handle_intrinsic
(),
"Compiled code should never call interpreter MH intrinsics"
);
info
.
_to_interpreter
=
true
;
info
.
_entry
=
m
()
->
get_c2i_entry
();
}
...
...
src/share/vm/code/nmethod.hpp
浏览文件 @
24fc001a
...
...
@@ -448,7 +448,10 @@ class nmethod : public CodeBlob {
// alive. It is used when an uncommon trap happens. Returns true
// if this thread changed the state of the nmethod or false if
// another thread performed the transition.
bool
make_not_entrant
()
{
return
make_not_entrant_or_zombie
(
not_entrant
);
}
bool
make_not_entrant
()
{
assert
(
!
method
()
->
is_method_handle_intrinsic
(),
"Cannot make MH intrinsic not entrant"
);
return
make_not_entrant_or_zombie
(
not_entrant
);
}
bool
make_zombie
()
{
return
make_not_entrant_or_zombie
(
zombie
);
}
// used by jvmti to track if the unload event has been reported
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录