src/share/vm/memory/threadLocalAllocBuffer.hpp
Print this page
*** 54,63 ****
--- 54,64 ----
unsigned _number_of_refills;
unsigned _fast_refill_waste;
unsigned _slow_refill_waste;
unsigned _gc_waste;
unsigned _slow_allocations;
+ Thread* _owning_thread;
AdaptiveWeightedAverage _allocation_fraction; // fraction of eden allocated in tlabs
void accumulate_statistics();
void initialize_statistics();
*** 154,164 ****
// Resize tlabs for all threads
static void resize_all_tlabs();
void fill(HeapWord* start, HeapWord* top, size_t new_size);
! void initialize();
static size_t refill_waste_limit_increment() { return TLABWasteIncrement; }
// Code generation support
static ByteSize start_offset() { return byte_offset_of(ThreadLocalAllocBuffer, _start); }
--- 155,165 ----
// Resize tlabs for all threads
static void resize_all_tlabs();
void fill(HeapWord* start, HeapWord* top, size_t new_size);
! void initialize(Thread* owning_thread);
static size_t refill_waste_limit_increment() { return TLABWasteIncrement; }
// Code generation support
static ByteSize start_offset() { return byte_offset_of(ThreadLocalAllocBuffer, _start); }