Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
7a9f1bf2
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看板
提交
7a9f1bf2
编写于
3月 18, 2013
作者:
S
stefank
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
735c82ca
a09e68b4
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
12 addition
and
9 deletion
+12
-9
src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp
...ion/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp
+4
-0
src/share/vm/gc_implementation/parallelScavenge/parallelScavengeHeap.cpp
..._implementation/parallelScavenge/parallelScavengeHeap.cpp
+1
-1
src/share/vm/memory/genCollectedHeap.cpp
src/share/vm/memory/genCollectedHeap.cpp
+2
-5
src/share/vm/memory/metaspace.cpp
src/share/vm/memory/metaspace.cpp
+5
-3
未找到文件。
src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp
浏览文件 @
7a9f1bf2
...
...
@@ -6068,6 +6068,10 @@ void CMSCollector::sweep(bool asynch) {
verify_work_stacks_empty
();
verify_overflow_empty
();
if
(
should_unload_classes
())
{
ClassLoaderDataGraph
::
purge
();
}
_intra_sweep_timer
.
stop
();
_intra_sweep_estimate
.
sample
(
_intra_sweep_timer
.
seconds
());
...
...
src/share/vm/gc_implementation/parallelScavenge/parallelScavengeHeap.cpp
浏览文件 @
7a9f1bf2
...
...
@@ -656,7 +656,7 @@ void ParallelScavengeHeap::print_tracing_info() const {
tty
->
print_cr
(
"[Accumulated GC generation 0 time %3.7f secs]"
,
time
);
}
if
(
TraceGen1Time
)
{
double
time
=
PSMarkSweep
::
accumulated_time
()
->
seconds
();
double
time
=
UseParallelOldGC
?
PSParallelCompact
::
accumulated_time
()
->
seconds
()
:
PSMarkSweep
::
accumulated_time
()
->
seconds
();
tty
->
print_cr
(
"[Accumulated GC generation 1 time %3.7f secs]"
,
time
);
}
}
...
...
src/share/vm/memory/genCollectedHeap.cpp
浏览文件 @
7a9f1bf2
...
...
@@ -554,6 +554,8 @@ void GenCollectedHeap::do_collection(bool full,
}
if
(
complete
)
{
// Delete metaspaces for unloaded class loaders and clean up loader_data graph
ClassLoaderDataGraph
::
purge
();
// Resize the metaspace capacity after full collections
MetaspaceGC
::
compute_new_size
();
update_full_collections_completed
();
...
...
@@ -564,11 +566,6 @@ void GenCollectedHeap::do_collection(bool full,
gc_epilogue
(
complete
);
// Delete metaspaces for unloaded class loaders and clean up loader_data graph
if
(
complete
)
{
ClassLoaderDataGraph
::
purge
();
}
if
(
must_restore_marks_for_biased_locking
)
{
BiasedLocking
::
restore_marks
();
}
...
...
src/share/vm/memory/metaspace.cpp
浏览文件 @
7a9f1bf2
...
...
@@ -1308,8 +1308,7 @@ void MetaspaceGC::compute_new_size() {
gclog_or_tty
->
print_cr
(
" metaspace HWM: %.1fK"
,
new_capacity_until_GC
/
(
double
)
K
);
}
}
assert
(
vsl
->
used_bytes_sum
()
==
used_after_gc
&&
used_after_gc
<=
vsl
->
capacity_bytes_sum
(),
assert
(
used_after_gc
<=
vsl
->
capacity_bytes_sum
(),
"sanity check"
);
}
...
...
@@ -1969,6 +1968,9 @@ void SpaceManager::initialize() {
}
SpaceManager
::~
SpaceManager
()
{
// This call this->_lock which can't be done while holding expand_lock()
const
size_t
in_use_before
=
sum_capacity_in_chunks_in_use
();
MutexLockerEx
fcl
(
SpaceManager
::
expand_lock
(),
Mutex
::
_no_safepoint_check_flag
);
...
...
@@ -1986,7 +1988,7 @@ SpaceManager::~SpaceManager() {
// Have to update before the chunks_in_use lists are emptied
// below.
chunk_manager
->
inc_free_chunks_total
(
sum_capacity_in_chunks_in_use
()
,
chunk_manager
->
inc_free_chunks_total
(
in_use_before
,
sum_count_in_chunks_in_use
());
// Add all the chunks in use by this space manager
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录