Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
026b3a6c
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看板
提交
026b3a6c
编写于
7月 28, 2009
作者:
D
dcubed
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
ce29f258
15c5f8e8
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
13 addition
and
1 deletion
+13
-1
src/share/vm/memory/genCollectedHeap.cpp
src/share/vm/memory/genCollectedHeap.cpp
+4
-0
src/share/vm/prims/jvmtiExport.cpp
src/share/vm/prims/jvmtiExport.cpp
+6
-1
src/share/vm/runtime/globals.hpp
src/share/vm/runtime/globals.hpp
+3
-0
未找到文件。
src/share/vm/memory/genCollectedHeap.cpp
浏览文件 @
026b3a6c
...
@@ -482,6 +482,10 @@ void GenCollectedHeap::do_collection(bool full,
...
@@ -482,6 +482,10 @@ void GenCollectedHeap::do_collection(bool full,
for
(
int
i
=
starting_level
;
i
<=
max_level
;
i
++
)
{
for
(
int
i
=
starting_level
;
i
<=
max_level
;
i
++
)
{
if
(
_gens
[
i
]
->
should_collect
(
full
,
size
,
is_tlab
))
{
if
(
_gens
[
i
]
->
should_collect
(
full
,
size
,
is_tlab
))
{
if
(
i
==
n_gens
()
-
1
)
{
// a major collection is to happen
if
(
i
==
n_gens
()
-
1
)
{
// a major collection is to happen
if
(
!
complete
)
{
// The full_collections increment was missed above.
increment_total_full_collections
();
}
pre_full_gc_dump
();
// do any pre full gc dumps
pre_full_gc_dump
();
// do any pre full gc dumps
}
}
// Timer for individual generations. Last argument is false: no CR
// Timer for individual generations. Last argument is false: no CR
...
...
src/share/vm/prims/jvmtiExport.cpp
浏览文件 @
026b3a6c
/*
/*
* Copyright 2003-200
7
Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2003-200
9
Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
*
* This code is free software; you can redistribute it and/or modify it
* This code is free software; you can redistribute it and/or modify it
...
@@ -2427,6 +2427,11 @@ JvmtiGCMarker::JvmtiGCMarker(bool full) : _full(full), _invocation_count(0) {
...
@@ -2427,6 +2427,11 @@ JvmtiGCMarker::JvmtiGCMarker(bool full) : _full(full), _invocation_count(0) {
return
;
return
;
}
}
if
(
ForceFullGCJVMTIEpilogues
)
{
// force 'Full GC' was done semantics for JVMTI GC epilogues
_full
=
true
;
}
// GarbageCollectionStart event posted from VM thread - okay because
// GarbageCollectionStart event posted from VM thread - okay because
// JVMTI is clear that the "world is stopped" and callback shouldn't
// JVMTI is clear that the "world is stopped" and callback shouldn't
// try to call into the VM.
// try to call into the VM.
...
...
src/share/vm/runtime/globals.hpp
浏览文件 @
026b3a6c
...
@@ -1082,6 +1082,9 @@ class CommandLineFlags {
...
@@ -1082,6 +1082,9 @@ class CommandLineFlags {
product(ccstr, TraceJVMTI, NULL, \
product(ccstr, TraceJVMTI, NULL, \
"Trace flags for JVMTI functions and events") \
"Trace flags for JVMTI functions and events") \
\
\
product(bool, ForceFullGCJVMTIEpilogues, false, \
"Force 'Full GC' was done semantics for JVMTI GC epilogues") \
\
/* This option can change an EMCP method into an obsolete method. */
\
/* This option can change an EMCP method into an obsolete method. */
\
/* This can affect tests that except specific methods to be EMCP. */
\
/* This can affect tests that except specific methods to be EMCP. */
\
/* This option should be used with caution. */
\
/* This option should be used with caution. */
\
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录