< prev index next >

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

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

*** 37,46 **** --- 37,48 ---- public: // Returns the currently active GC id. Asserts that there is an active GC id. static const uint current(); // Same as current() but can return undefined() if no GC id is currently active static const uint current_raw(); + // Returns the next expected GCId. + static const uint peek(); static const uint undefined() { return UNDEFINED; } }; class GCIdMark : public StackObj { uint _gc_id;
< prev index next >