8016170: GC id variable in gcTrace.cpp should use typedef GCId

Wed, 12 Jun 2013 15:50:14 +0200

author
ehelin
date
Wed, 12 Jun 2013 15:50:14 +0200
changeset 5387
63cffb381adc
parent 5386
2cbc8f3011a0
child 5388
6aa440bc1125

8016170: GC id variable in gcTrace.cpp should use typedef GCId
Reviewed-by: johnc, jwilhelm, jmasa

src/share/vm/gc_implementation/shared/gcTrace.cpp file | annotate | diff | comparison | revisions
     1.1 --- a/src/share/vm/gc_implementation/shared/gcTrace.cpp	Wed Jun 05 09:44:03 2013 +0200
     1.2 +++ b/src/share/vm/gc_implementation/shared/gcTrace.cpp	Wed Jun 12 15:50:14 2013 +0200
     1.3 @@ -39,7 +39,7 @@
     1.4  #define assert_unset_gc_id() assert(_shared_gc_info.id() == SharedGCInfo::UNSET_GCID, "GC already started?")
     1.5  #define assert_set_gc_id() assert(_shared_gc_info.id() != SharedGCInfo::UNSET_GCID, "GC not started?")
     1.6  
     1.7 -static jlong GCTracer_next_gc_id = 0;
     1.8 +static GCId GCTracer_next_gc_id = 0;
     1.9  static GCId create_new_gc_id() {
    1.10    return GCTracer_next_gc_id++;
    1.11  }

mercurial