< prev index next >
src/share/vm/runtime/thread.hpp
Print this page
*** 264,274 ****
friend class GC_locker;
ThreadLocalAllocBuffer _tlab; // Thread-local eden
jlong _allocated_bytes; // Cumulative number of bytes allocated on
// the Java heap
- uint _gc_id; // The current GC id when a thread takes part in GC
TRACE_DATA _trace_data; // Thread-local data for tracing
ThreadExt _ext;
--- 264,273 ----
*** 424,436 ****
jlong allocated_bytes() { return _allocated_bytes; }
void set_allocated_bytes(jlong value) { _allocated_bytes = value; }
void incr_allocated_bytes(jlong size) { _allocated_bytes += size; }
inline jlong cooked_allocated_bytes();
- void set_gc_id(uint gc_id) { _gc_id = gc_id; }
- uint gc_id() { return _gc_id; }
-
TRACE_DATA* trace_data() { return &_trace_data; }
const ThreadExt& ext() const { return _ext; }
ThreadExt& ext() { return _ext; }
--- 423,432 ----
< prev index next >