302 inline static oop obj_allocate(KlassHandle klass, int size, TRAPS); |
302 inline static oop obj_allocate(KlassHandle klass, int size, TRAPS); |
303 inline static oop array_allocate(KlassHandle klass, int size, int length, TRAPS); |
303 inline static oop array_allocate(KlassHandle klass, int size, int length, TRAPS); |
304 inline static oop array_allocate_nozero(KlassHandle klass, int size, int length, TRAPS); |
304 inline static oop array_allocate_nozero(KlassHandle klass, int size, int length, TRAPS); |
305 inline static oop class_allocate(KlassHandle klass, int size, TRAPS); |
305 inline static oop class_allocate(KlassHandle klass, int size, TRAPS); |
306 |
306 |
307 inline static void post_allocation_install_obj_klass(KlassHandle klass, |
|
308 oop obj); |
|
309 |
|
310 // Raw memory allocation facilities |
307 // Raw memory allocation facilities |
311 // The obj and array allocate methods are covers for these methods. |
308 // The obj and array allocate methods are covers for these methods. |
312 // mem_allocate() should never be |
309 // mem_allocate() should never be |
313 // called to allocate TLABs, only individual objects. |
310 // called to allocate TLABs, only individual objects. |
314 virtual HeapWord* mem_allocate(size_t size, |
311 virtual HeapWord* mem_allocate(size_t size, |