United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7198130 G1: PrintReferenceGC output comes out of order
JDK-7198130 : G1: PrintReferenceGC output comes out of order

Details
Type:
Bug
Submit Date:
2012-09-12
Status:
Resolved
Updated Date:
2013-04-30
Project Name:
JDK
Resolved Date:
2012-09-25
Component:
hotspot
OS:
generic
Sub-Component:
gc
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
8
Fixed Versions:
hs25 (b02)

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

Sub Tasks

Description
In the G1 output the placement of the Reference
processing information has moved.

older JDK7 result:

3.746: [GC pause (young)3.802: [SoftReference, 0 refs, 0.0000090 secs]3.802: [WeakReference, 148 refs, 0.0000400 secs]3.802: [FinalReference, 13020 refs, 0.0462290 secs]3.848: [PhantomReference, 7 refs, 0.0000110 secs]3.848: [JNI Weak Reference, 0.0000150 secs], 0.10515900 secs]
   [Parallel Time:  52.2 ms]

JDK8 result:

3.648: [SoftReference, 0 refs, 0.0000110 secs]3.648: [WeakReference, 207 refs, 0.0000440 secs]3.648: [FinalReference, 14473 refs, 0.0499260 secs]3.698: [PhantomReference, 0 refs, 0.0000050 secs]3.698: [JNI Weak Reference, 0.0000120 secs]3.700: [GC pause (G1 Evacuation Pause) (young), 0.0853910 secs]
   [Parallel Time: 31.9 ms, GC Workers: 8]

In 7 the first timestamp on the GC line is before the "[GC pause".  In
8 the first timestamp is before the "[SoftReference".

                                    

Comments
EVALUATION

Incorrect placement of the start of the GC log output record.
                                     
2012-09-12
URL:   http://hg.openjdk.java.net/hsx/hotspot-rt/hotspot/rev/9646b7ff4d14
User:  dsamersoff
Date:  2012-09-28 15:21:54 +0000

                                     
2012-09-28



Hardware and Software, Engineered to Work Together