United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6934758 Expose the break down of clean up task time during Safepoint
JDK-6934758 : Expose the break down of clean up task time during Safepoint

Details
Type:
Enhancement
Submit Date:
2010-03-13
Status:
Closed
Updated Date:
2010-09-24
Project Name:
JDK
Resolved Date:
2010-07-02
Component:
hotspot
OS:
generic
Sub-Component:
runtime
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
hs17
Fixed Versions:
hs17 (b13)

Related Reports
Backport:
Backport:
Backport:
Backport:
Backport:
Backport:
Backport:
Backport:
Backport:
Backport:
Relates:

Sub Tasks

Description
Several customers have complained about clean up task takes longer time than they should be. The current source print the break down time when TraceSafepoint is on. But TraceSafepoint is a develop flag and also will enable printing a lot of information regarding safepoint. So this CR needs to address the exposure of these times and also make sure as less overheads as possible.

The solution is to have a new flag "-XX:+TraceCleanupTimeInSafepoint" and print out the time spent in each clean up tasks when that is on. The time stamp will also be printed out when PrintGCTimeStamp is on.

                                    

Comments
EVALUATION

Use a new flag -XX:+TraceCleanupTimeInSafepoint to enable tracing the clean up task time.
                                     
2010-03-13
EVALUATION

I think TraceSafepointCleanupTime might be a better name for that flag.
                                     
2010-03-13
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/0f6600cee529,ChangeRequest=6934758
                                     
2010-03-14
EVALUATION

http://hg.openjdk.java.net/hsx/hsx17/baseline/rev/1753407b5d19
                                     
2010-04-16
EVALUATION

sync from 6u19-rev-b07
                                     
2010-04-16
EVALUATION

http://hg.openjdk.java.net/hsx/hsx17/master/rev/1753407b5d19
                                     
2010-04-17



Hardware and Software, Engineered to Work Together