Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
9fd27380
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看板
提交
9fd27380
编写于
2月 13, 2018
作者:
R
rwestberg
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8041626: Shutdown tracing event
Reviewed-by: dholmes, alanb, rriggs
上级
06c41673
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
26 addition
and
0 deletion
+26
-0
make/aix/makefiles/mapfile-vers-debug
make/aix/makefiles/mapfile-vers-debug
+1
-0
make/aix/makefiles/mapfile-vers-product
make/aix/makefiles/mapfile-vers-product
+1
-0
make/bsd/makefiles/mapfile-vers-debug
make/bsd/makefiles/mapfile-vers-debug
+1
-0
make/bsd/makefiles/mapfile-vers-product
make/bsd/makefiles/mapfile-vers-product
+1
-0
make/linux/makefiles/mapfile-vers-debug
make/linux/makefiles/mapfile-vers-debug
+1
-0
make/linux/makefiles/mapfile-vers-product
make/linux/makefiles/mapfile-vers-product
+1
-0
make/solaris/makefiles/mapfile-vers
make/solaris/makefiles/mapfile-vers
+1
-0
src/share/vm/prims/jvm.cpp
src/share/vm/prims/jvm.cpp
+10
-0
src/share/vm/prims/jvm.h
src/share/vm/prims/jvm.h
+3
-0
src/share/vm/runtime/thread.cpp
src/share/vm/runtime/thread.cpp
+6
-0
未找到文件。
make/aix/makefiles/mapfile-vers-debug
浏览文件 @
9fd27380
...
...
@@ -39,6 +39,7 @@ SUNWprivate_1.1 {
JVM_ArrayCopy;
JVM_AssertionStatusDirectives;
JVM_Available;
JVM_BeforeHalt;
JVM_Bind;
JVM_ClassDepth;
JVM_ClassLoaderDepth;
...
...
make/aix/makefiles/mapfile-vers-product
浏览文件 @
9fd27380
...
...
@@ -39,6 +39,7 @@ SUNWprivate_1.1 {
JVM_ArrayCopy;
JVM_AssertionStatusDirectives;
JVM_Available;
JVM_BeforeHalt;
JVM_Bind;
JVM_ClassDepth;
JVM_ClassLoaderDepth;
...
...
make/bsd/makefiles/mapfile-vers-debug
浏览文件 @
9fd27380
...
...
@@ -37,6 +37,7 @@
_JVM_ArrayCopy
_JVM_AssertionStatusDirectives
_JVM_Available
_JVM_BeforeHalt
_JVM_Bind
_JVM_ClassDepth
_JVM_ClassLoaderDepth
...
...
make/bsd/makefiles/mapfile-vers-product
浏览文件 @
9fd27380
...
...
@@ -37,6 +37,7 @@
_JVM_ArrayCopy
_JVM_AssertionStatusDirectives
_JVM_Available
_JVM_BeforeHalt
_JVM_Bind
_JVM_ClassDepth
_JVM_ClassLoaderDepth
...
...
make/linux/makefiles/mapfile-vers-debug
浏览文件 @
9fd27380
...
...
@@ -39,6 +39,7 @@ SUNWprivate_1.1 {
JVM_ArrayCopy;
JVM_AssertionStatusDirectives;
JVM_Available;
JVM_BeforeHalt;
JVM_Bind;
JVM_ClassDepth;
JVM_ClassLoaderDepth;
...
...
make/linux/makefiles/mapfile-vers-product
浏览文件 @
9fd27380
...
...
@@ -39,6 +39,7 @@ SUNWprivate_1.1 {
JVM_ArrayCopy;
JVM_AssertionStatusDirectives;
JVM_Available;
JVM_BeforeHalt;
JVM_Bind;
JVM_ClassDepth;
JVM_ClassLoaderDepth;
...
...
make/solaris/makefiles/mapfile-vers
浏览文件 @
9fd27380
...
...
@@ -39,6 +39,7 @@ SUNWprivate_1.1 {
JVM_ArrayCopy;
JVM_AssertionStatusDirectives;
JVM_Available;
JVM_BeforeHalt;
JVM_Bind;
JVM_ClassDepth;
JVM_ClassLoaderDepth;
...
...
src/share/vm/prims/jvm.cpp
浏览文件 @
9fd27380
...
...
@@ -443,6 +443,16 @@ JVM_ENTRY_NO_ENV(void, JVM_Exit(jint code))
JVM_END
JVM_ENTRY_NO_ENV
(
void
,
JVM_BeforeHalt
())
JVMWrapper
(
"JVM_BeforeHalt"
);
EventShutdown
event
;
if
(
event
.
should_commit
())
{
event
.
set_reason
(
"Shutdown requested from Java"
);
event
.
commit
();
}
JVM_END
JVM_ENTRY_NO_ENV
(
void
,
JVM_Halt
(
jint
code
))
before_exit
(
thread
);
vm_exit
(
code
);
...
...
src/share/vm/prims/jvm.h
浏览文件 @
9fd27380
...
...
@@ -158,6 +158,9 @@ JVM_CopySwapMemory(JNIEnv *env, jobject srcObj, jlong srcOffset,
JNIEXPORT
void
JNICALL
JVM_Exit
(
jint
code
);
JNIEXPORT
void
JNICALL
JVM_BeforeHalt
();
JNIEXPORT
void
JNICALL
JVM_Halt
(
jint
code
);
...
...
src/share/vm/runtime/thread.cpp
浏览文件 @
9fd27380
...
...
@@ -4012,6 +4012,12 @@ bool Threads::destroy_vm() {
Mutex
::
_as_suspend_equivalent_flag
);
}
EventShutdown
e
;
if
(
e
.
should_commit
())
{
e
.
set_reason
(
"No remaining non-daemon Java threads"
);
e
.
commit
();
}
// Hang forever on exit if we are reporting an error.
if
(
ShowMessageBoxOnError
&&
is_error_reported
())
{
os
::
infinite_sleep
();
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录