United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-8010090 GC ID has the wrong type
JDK-8010090 : GC ID has the wrong type

Details
Type:
Bug
Submit Date:
2013-03-14
Status:
Resolved
Updated Date:
2013-05-06
Project Name:
JDK
Resolved Date:
2013-04-23
Component:
hotspot
OS:
Sub-Component:
gc
CPU:
Priority:
P3
Resolution:
Fixed
Affected Versions:
hs24
Fixed Versions:
hs24 (b42)

Related Reports
Backport:

Sub Tasks

Description
In gcTrace.hpp the type of GCId is unit, but in trace.xml the type is ULONG.
The type should be ulong all over.
                                    

Comments
I think we should be using UINT in the trace.xml file. No reason to change the GCId to a long since there are other limitations (CollectedHeap::_total_collections) that are unsigned int. So, unless we extend those also to long I think we will mostly just be wasting the extra 32 bits in the tracing.
                                     
2013-03-18
A similar issue is found in the compiler events where the Compiler ID has the type INTEGER (which is signed) but should really be UINT.
This bug will be used to fix both these issues.
                                     
2013-04-16
URL:   http://hg.openjdk.java.net/hsx/hsx24/hotspot/rev/25e2d699bc5a
User:  jwilhelm
Date:  2013-04-23 17:35:30 +0000

                                     
2013-04-23



Hardware and Software, Engineered to Work Together