Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
5a7791c0
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看板
提交
5a7791c0
编写于
3月 04, 2015
作者:
D
dlong
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
d9a04df1
3d4b288c
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
8 addition
and
17 deletion
+8
-17
agent/src/os/solaris/proc/saproc.cpp
agent/src/os/solaris/proc/saproc.cpp
+6
-6
src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp
...ion/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp
+0
-1
src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp
src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp
+0
-1
src/share/vm/gc_implementation/g1/vm_operations_g1.cpp
src/share/vm/gc_implementation/g1/vm_operations_g1.cpp
+0
-1
src/share/vm/gc_implementation/parallelScavenge/psMarkSweep.cpp
...are/vm/gc_implementation/parallelScavenge/psMarkSweep.cpp
+0
-1
src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.cpp
.../gc_implementation/parallelScavenge/psParallelCompact.cpp
+0
-1
src/share/vm/gc_implementation/parallelScavenge/psScavenge.cpp
...hare/vm/gc_implementation/parallelScavenge/psScavenge.cpp
+0
-1
src/share/vm/gc_implementation/shared/gcTraceTime.cpp
src/share/vm/gc_implementation/shared/gcTraceTime.cpp
+2
-4
src/share/vm/memory/genCollectedHeap.cpp
src/share/vm/memory/genCollectedHeap.cpp
+0
-1
未找到文件。
agent/src/os/solaris/proc/saproc.cpp
浏览文件 @
5a7791c0
...
...
@@ -661,30 +661,30 @@ init_classsharing_workaround(void *cd, const prmap_t* pmap, const char* obj_name
// read FileMapHeader
size_t
n
=
read
(
fd
,
pheader
,
sizeof
(
struct
FileMapHeader
));
if
(
n
!=
sizeof
(
struct
FileMapHeader
))
{
free
(
pheader
);
close
(
fd
);
char
errMsg
[
ERR_MSG_SIZE
];
sprintf
(
errMsg
,
"unable to read shared archive file map header from %s"
,
classes_jsa
);
close
(
fd
);
free
(
pheader
);
THROW_NEW_DEBUGGER_EXCEPTION_
(
errMsg
,
1
);
}
// check file magic
if
(
pheader
->
_magic
!=
0xf00baba2
)
{
free
(
pheader
);
close
(
fd
);
char
errMsg
[
ERR_MSG_SIZE
];
sprintf
(
errMsg
,
"%s has bad shared archive magic 0x%x, expecting 0xf00baba2"
,
classes_jsa
,
pheader
->
_magic
);
close
(
fd
);
free
(
pheader
);
THROW_NEW_DEBUGGER_EXCEPTION_
(
errMsg
,
1
);
}
// check version
if
(
pheader
->
_version
!=
CURRENT_ARCHIVE_VERSION
)
{
free
(
pheader
);
close
(
fd
);
char
errMsg
[
ERR_MSG_SIZE
];
sprintf
(
errMsg
,
"%s has wrong shared archive version %d, expecting %d"
,
classes_jsa
,
pheader
->
_version
,
CURRENT_ARCHIVE_VERSION
);
close
(
fd
);
free
(
pheader
);
THROW_NEW_DEBUGGER_EXCEPTION_
(
errMsg
,
1
);
}
...
...
src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp
浏览文件 @
5a7791c0
...
...
@@ -6634,7 +6634,6 @@ void CMSCollector::reset(bool asynch) {
}
void
CMSCollector
::
do_CMS_operation
(
CMS_op_type
op
,
GCCause
::
Cause
gc_cause
)
{
gclog_or_tty
->
date_stamp
(
PrintGC
&&
PrintGCDateStamps
);
TraceCPUTime
tcpu
(
PrintGCDetails
,
true
,
gclog_or_tty
);
GCTraceTime
t
(
GCCauseString
(
"GC"
,
gc_cause
),
PrintGC
,
!
PrintGCDetails
,
NULL
,
_gc_tracer_cm
->
gc_id
());
TraceCollectorStats
tcs
(
counters
());
...
...
src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp
浏览文件 @
5a7791c0
...
...
@@ -1297,7 +1297,6 @@ bool G1CollectedHeap::do_collection(bool explicit_gc,
// Timing
assert
(
gc_cause
()
!=
GCCause
::
_java_lang_system_gc
||
explicit_gc
,
"invariant"
);
gclog_or_tty
->
date_stamp
(
G1Log
::
fine
()
&&
PrintGCDateStamps
);
TraceCPUTime
tcpu
(
G1Log
::
finer
(),
true
,
gclog_or_tty
);
{
...
...
src/share/vm/gc_implementation/g1/vm_operations_g1.cpp
浏览文件 @
5a7791c0
...
...
@@ -230,7 +230,6 @@ void VM_CGC_Operation::release_and_notify_pending_list_lock() {
}
void
VM_CGC_Operation
::
doit
()
{
gclog_or_tty
->
date_stamp
(
G1Log
::
fine
()
&&
PrintGCDateStamps
);
TraceCPUTime
tcpu
(
G1Log
::
finer
(),
true
,
gclog_or_tty
);
GCTraceTime
t
(
_printGCMessage
,
G1Log
::
fine
(),
true
,
G1CollectedHeap
::
heap
()
->
gc_timer_cm
(),
G1CollectedHeap
::
heap
()
->
concurrent_mark
()
->
concurrent_gc_id
());
SharedHeap
*
sh
=
SharedHeap
::
heap
();
...
...
src/share/vm/gc_implementation/parallelScavenge/psMarkSweep.cpp
浏览文件 @
5a7791c0
...
...
@@ -167,7 +167,6 @@ bool PSMarkSweep::invoke_no_policy(bool clear_all_softrefs) {
{
HandleMark
hm
;
gclog_or_tty
->
date_stamp
(
PrintGC
&&
PrintGCDateStamps
);
TraceCPUTime
tcpu
(
PrintGCDetails
,
true
,
gclog_or_tty
);
GCTraceTime
t1
(
GCCauseString
(
"Full GC"
,
gc_cause
),
PrintGC
,
!
PrintGCDetails
,
NULL
,
_gc_tracer
->
gc_id
());
TraceCollectorStats
tcs
(
counters
());
...
...
src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.cpp
浏览文件 @
5a7791c0
...
...
@@ -2054,7 +2054,6 @@ bool PSParallelCompact::invoke_no_policy(bool maximum_heap_compaction) {
gc_task_manager
()
->
task_idle_workers
();
heap
->
set_par_threads
(
gc_task_manager
()
->
active_workers
());
gclog_or_tty
->
date_stamp
(
PrintGC
&&
PrintGCDateStamps
);
TraceCPUTime
tcpu
(
PrintGCDetails
,
true
,
gclog_or_tty
);
GCTraceTime
t1
(
GCCauseString
(
"Full GC"
,
gc_cause
),
PrintGC
,
!
PrintGCDetails
,
NULL
,
_gc_tracer
.
gc_id
());
TraceCollectorStats
tcs
(
counters
());
...
...
src/share/vm/gc_implementation/parallelScavenge/psScavenge.cpp
浏览文件 @
5a7791c0
...
...
@@ -329,7 +329,6 @@ bool PSScavenge::invoke_no_policy() {
ResourceMark
rm
;
HandleMark
hm
;
gclog_or_tty
->
date_stamp
(
PrintGC
&&
PrintGCDateStamps
);
TraceCPUTime
tcpu
(
PrintGCDetails
,
true
,
gclog_or_tty
);
GCTraceTime
t1
(
GCCauseString
(
"GC"
,
gc_cause
),
PrintGC
,
!
PrintGCDetails
,
NULL
,
_gc_tracer
.
gc_id
());
TraceCollectorStats
tcs
(
counters
());
...
...
src/share/vm/gc_implementation/shared/gcTraceTime.cpp
浏览文件 @
5a7791c0
...
...
@@ -49,10 +49,8 @@ GCTraceTime::GCTraceTime(const char* title, bool doit, bool print_cr, GCTimer* t
}
if
(
_doit
)
{
if
(
PrintGCTimeStamps
)
{
gclog_or_tty
->
stamp
();
gclog_or_tty
->
print
(
": "
);
}
gclog_or_tty
->
date_stamp
(
PrintGCDateStamps
);
gclog_or_tty
->
stamp
(
PrintGCTimeStamps
);
if
(
PrintGCID
)
{
gclog_or_tty
->
print
(
"#%u: "
,
gc_id
.
id
());
}
...
...
src/share/vm/memory/genCollectedHeap.cpp
浏览文件 @
5a7791c0
...
...
@@ -384,7 +384,6 @@ void GenCollectedHeap::do_collection(bool full,
bool
complete
=
full
&&
(
max_level
==
(
n_gens
()
-
1
));
const
char
*
gc_cause_prefix
=
complete
?
"Full GC"
:
"GC"
;
gclog_or_tty
->
date_stamp
(
PrintGC
&&
PrintGCDateStamps
);
TraceCPUTime
tcpu
(
PrintGCDetails
,
true
,
gclog_or_tty
);
// The PrintGCDetails logging starts before we have incremented the GC id. We will do that later
// so we can assume here that the next GC id is what we want.
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录