mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8016170: GC id variable in gcTrace.cpp should use typedef GCId
Reviewed-by: johnc, jwilhelm, jmasa
This commit is contained in:
parent
74f190f320
commit
f9c8b8769a
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@
|
|||
#define assert_unset_gc_id() assert(_shared_gc_info.id() == SharedGCInfo::UNSET_GCID, "GC already started?")
|
||||
#define assert_set_gc_id() assert(_shared_gc_info.id() != SharedGCInfo::UNSET_GCID, "GC not started?")
|
||||
|
||||
static jlong GCTracer_next_gc_id = 0;
|
||||
static GCId GCTracer_next_gc_id = 0;
|
||||
static GCId create_new_gc_id() {
|
||||
return GCTracer_next_gc_id++;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue