equal
deleted
inserted
replaced
157 inline static void post_allocation_setup_obj(KlassHandle klass, HeapWord* obj, int size); |
157 inline static void post_allocation_setup_obj(KlassHandle klass, HeapWord* obj, int size); |
158 |
158 |
159 inline static void post_allocation_setup_array(KlassHandle klass, |
159 inline static void post_allocation_setup_array(KlassHandle klass, |
160 HeapWord* obj, int length); |
160 HeapWord* obj, int length); |
161 |
161 |
|
162 inline static void post_allocation_setup_class(KlassHandle klass, HeapWord* obj, int size); |
|
163 |
162 // Clears an allocated object. |
164 // Clears an allocated object. |
163 inline static void init_obj(HeapWord* obj, size_t size); |
165 inline static void init_obj(HeapWord* obj, size_t size); |
164 |
166 |
165 // Filler object utilities. |
167 // Filler object utilities. |
166 static inline size_t filler_array_hdr_size(); |
168 static inline size_t filler_array_hdr_size(); |
298 |
300 |
299 // General obj/array allocation facilities. |
301 // General obj/array allocation facilities. |
300 inline static oop obj_allocate(KlassHandle klass, int size, TRAPS); |
302 inline static oop obj_allocate(KlassHandle klass, int size, TRAPS); |
301 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); |
302 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); |
303 |
306 |
304 inline static void post_allocation_install_obj_klass(KlassHandle klass, |
307 inline static void post_allocation_install_obj_klass(KlassHandle klass, |
305 oop obj); |
308 oop obj); |
306 |
309 |
307 // Raw memory allocation facilities |
310 // Raw memory allocation facilities |