equal
deleted
inserted
replaced
190 f(&_allocation_end); |
190 f(&_allocation_end); |
191 } |
191 } |
192 |
192 |
193 // Code generation support |
193 // Code generation support |
194 static ByteSize start_offset() { return byte_offset_of(ThreadLocalAllocBuffer, _start); } |
194 static ByteSize start_offset() { return byte_offset_of(ThreadLocalAllocBuffer, _start); } |
195 static ByteSize end_offset() { return byte_offset_of(ThreadLocalAllocBuffer, _end ); } |
195 static ByteSize end_offset() { return byte_offset_of(ThreadLocalAllocBuffer, _end); } |
196 static ByteSize top_offset() { return byte_offset_of(ThreadLocalAllocBuffer, _top ); } |
196 static ByteSize top_offset() { return byte_offset_of(ThreadLocalAllocBuffer, _top); } |
197 static ByteSize pf_top_offset() { return byte_offset_of(ThreadLocalAllocBuffer, _pf_top ); } |
197 static ByteSize pf_top_offset() { return byte_offset_of(ThreadLocalAllocBuffer, _pf_top); } |
198 static ByteSize size_offset() { return byte_offset_of(ThreadLocalAllocBuffer, _desired_size ); } |
|
199 static ByteSize refill_waste_limit_offset() { return byte_offset_of(ThreadLocalAllocBuffer, _refill_waste_limit ); } |
|
200 |
|
201 static ByteSize number_of_refills_offset() { return byte_offset_of(ThreadLocalAllocBuffer, _number_of_refills ); } |
|
202 static ByteSize fast_refill_waste_offset() { return byte_offset_of(ThreadLocalAllocBuffer, _fast_refill_waste ); } |
|
203 static ByteSize slow_allocations_offset() { return byte_offset_of(ThreadLocalAllocBuffer, _slow_allocations ); } |
|
204 |
198 |
205 void verify(); |
199 void verify(); |
206 }; |
200 }; |
207 |
201 |
208 class GlobalTLABStats: public CHeapObj<mtThread> { |
202 class GlobalTLABStats: public CHeapObj<mtThread> { |