< prev index next >

src/share/vm/gc/shared/gcId.cpp

Print this page
rev 9626 : 8065331: Add trace events for failed allocations

*** 36,45 **** --- 36,49 ---- const uint GCId::create() { return _next_id++; } + const uint GCId::peek() { + return _next_id; + } + const uint GCId::current() { assert(currentNamedthread()->gc_id() != undefined(), "Using undefined GC id."); return current_raw(); }
< prev index next >