317 // Preload classes into the shared portion of the heap, and then dump |
317 // Preload classes into the shared portion of the heap, and then dump |
318 // that data to a file so that it can be loaded directly by another |
318 // that data to a file so that it can be loaded directly by another |
319 // VM (then terminate). |
319 // VM (then terminate). |
320 virtual void preload_and_dump(TRAPS) { ShouldNotReachHere(); } |
320 virtual void preload_and_dump(TRAPS) { ShouldNotReachHere(); } |
321 |
321 |
|
322 // Allocate and initialize instances of Class |
|
323 static oop Class_obj_allocate(KlassHandle klass, int size, KlassHandle real_klass, TRAPS); |
|
324 |
322 // General obj/array allocation facilities. |
325 // General obj/array allocation facilities. |
323 inline static oop obj_allocate(KlassHandle klass, int size, TRAPS); |
326 inline static oop obj_allocate(KlassHandle klass, int size, TRAPS); |
324 inline static oop array_allocate(KlassHandle klass, int size, int length, TRAPS); |
327 inline static oop array_allocate(KlassHandle klass, int size, int length, TRAPS); |
325 inline static oop array_allocate_nozero(KlassHandle klass, int size, int length, TRAPS); |
328 inline static oop array_allocate_nozero(KlassHandle klass, int size, int length, TRAPS); |
326 |
329 |