equal
deleted
inserted
replaced
137 size_t refill_waste_limit() const { return _refill_waste_limit; } |
137 size_t refill_waste_limit() const { return _refill_waste_limit; } |
138 size_t bytes_since_last_sample_point() const { return _bytes_since_last_sample_point; } |
138 size_t bytes_since_last_sample_point() const { return _bytes_since_last_sample_point; } |
139 |
139 |
140 // Allocate size HeapWords. The memory is NOT initialized to zero. |
140 // Allocate size HeapWords. The memory is NOT initialized to zero. |
141 inline HeapWord* allocate(size_t size); |
141 inline HeapWord* allocate(size_t size); |
142 HeapWord* allocate_sampled_object(size_t size); |
|
143 |
142 |
144 // Reserve space at the end of TLAB |
143 // Reserve space at the end of TLAB |
145 static size_t end_reserve() { |
144 static size_t end_reserve() { |
146 int reserve_size = typeArrayOopDesc::header_size(T_INT); |
145 int reserve_size = typeArrayOopDesc::header_size(T_INT); |
147 return MAX2(reserve_size, _reserve_for_allocation_prefetch); |
146 return MAX2(reserve_size, _reserve_for_allocation_prefetch); |