Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
a727ae5f
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看板
提交
a727ae5f
编写于
2月 08, 2011
作者:
M
mchung
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
7017673: Remove setting of the sun.jkernel.DownloadManager as a boot classloader hook
Reviewed-by: alanb, dcubed, coleenp
上级
5c068227
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
0 addition
and
23 deletion
+0
-23
src/share/vm/classfile/vmSymbols.hpp
src/share/vm/classfile/vmSymbols.hpp
+0
-1
src/share/vm/runtime/thread.cpp
src/share/vm/runtime/thread.cpp
+0
-22
未找到文件。
src/share/vm/classfile/vmSymbols.hpp
浏览文件 @
a727ae5f
...
@@ -108,7 +108,6 @@
...
@@ -108,7 +108,6 @@
template(java_lang_AssertionStatusDirectives, "java/lang/AssertionStatusDirectives") \
template(java_lang_AssertionStatusDirectives, "java/lang/AssertionStatusDirectives") \
template(sun_jkernel_DownloadManager, "sun/jkernel/DownloadManager") \
template(sun_jkernel_DownloadManager, "sun/jkernel/DownloadManager") \
template(getBootClassPathEntryForClass_name, "getBootClassPathEntryForClass") \
template(getBootClassPathEntryForClass_name, "getBootClassPathEntryForClass") \
template(setBootClassLoaderHook_name, "setBootClassLoaderHook") \
template(sun_misc_PostVMInitHook, "sun/misc/PostVMInitHook") \
template(sun_misc_PostVMInitHook, "sun/misc/PostVMInitHook") \
\
\
/* class file format tags */
\
/* class file format tags */
\
...
...
src/share/vm/runtime/thread.cpp
浏览文件 @
a727ae5f
...
@@ -962,22 +962,6 @@ static void call_initializeSystemClass(TRAPS) {
...
@@ -962,22 +962,6 @@ static void call_initializeSystemClass(TRAPS) {
vmSymbols
::
void_method_signature
(),
CHECK
);
vmSymbols
::
void_method_signature
(),
CHECK
);
}
}
#ifdef KERNEL
static
void
set_jkernel_boot_classloader_hook
(
TRAPS
)
{
klassOop
k
=
SystemDictionary
::
sun_jkernel_DownloadManager_klass
();
instanceKlassHandle
klass
(
THREAD
,
k
);
if
(
k
==
NULL
)
{
// sun.jkernel.DownloadManager may not present in the JDK; just return
return
;
}
JavaValue
result
(
T_VOID
);
JavaCalls
::
call_static
(
&
result
,
klass
,
vmSymbols
::
setBootClassLoaderHook_name
(),
vmSymbols
::
void_method_signature
(),
CHECK
);
}
#endif // KERNEL
// General purpose hook into Java code, run once when the VM is initialized.
// General purpose hook into Java code, run once when the VM is initialized.
// The Java library method itself may be changed independently from the VM.
// The Java library method itself may be changed independently from the VM.
static
void
call_postVMInitHook
(
TRAPS
)
{
static
void
call_postVMInitHook
(
TRAPS
)
{
...
@@ -3284,12 +3268,6 @@ jint Threads::create_vm(JavaVMInitArgs* args, bool* canTryAgain) {
...
@@ -3284,12 +3268,6 @@ jint Threads::create_vm(JavaVMInitArgs* args, bool* canTryAgain) {
vm_exit_during_initialization
(
Handle
(
THREAD
,
PENDING_EXCEPTION
));
vm_exit_during_initialization
(
Handle
(
THREAD
,
PENDING_EXCEPTION
));
}
}
#ifdef KERNEL
if
(
JDK_Version
::
is_gte_jdk17x_version
())
{
set_jkernel_boot_classloader_hook
(
THREAD
);
}
#endif // KERNEL
#ifndef SERIALGC
#ifndef SERIALGC
// Support for ConcurrentMarkSweep. This should be cleaned up
// Support for ConcurrentMarkSweep. This should be cleaned up
// and better encapsulated. The ugly nested if test would go away
// and better encapsulated. The ugly nested if test would go away
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录