equal
deleted
inserted
replaced
142 |
142 |
143 // Allocate from the current thread's TLAB, with broken-out slow path. |
143 // Allocate from the current thread's TLAB, with broken-out slow path. |
144 inline static HeapWord* allocate_from_tlab(Klass* klass, size_t size, TRAPS); |
144 inline static HeapWord* allocate_from_tlab(Klass* klass, size_t size, TRAPS); |
145 static HeapWord* allocate_from_tlab_slow(Klass* klass, size_t size, TRAPS); |
145 static HeapWord* allocate_from_tlab_slow(Klass* klass, size_t size, TRAPS); |
146 |
146 |
|
147 inline static HeapWord* allocate_outside_tlab(Klass* klass, size_t size, |
|
148 bool* gc_overhead_limit_was_exceeded, TRAPS); |
|
149 |
147 // Raw memory allocation facilities |
150 // Raw memory allocation facilities |
148 // The obj and array allocate methods are covers for these methods. |
151 // The obj and array allocate methods are covers for these methods. |
149 // mem_allocate() should never be |
152 // mem_allocate() should never be |
150 // called to allocate TLABs, only individual objects. |
153 // called to allocate TLABs, only individual objects. |
151 virtual HeapWord* mem_allocate(size_t size, |
154 virtual HeapWord* mem_allocate(size_t size, |