< prev index next > src/hotspot/share/gc/shared/collectedHeap.inline.hpp
Print this page
inline oop CollectedHeap::obj_allocate(Klass* klass, size_t size, TRAPS) {
ObjAllocator allocator(klass, size, THREAD);
return allocator.allocate();
}
+ inline oop CollectedHeap::obj_buffer_allocate(Klass* klass, size_t size, TRAPS) {
+ ObjBufferAllocator allocator(klass, size, THREAD);
+ return allocator.allocate();
+ }
+
inline oop CollectedHeap::array_allocate(Klass* klass, size_t size, int length, bool do_zero, TRAPS) {
ObjArrayAllocator allocator(klass, size, length, do_zero, THREAD);
return allocator.allocate();
}
< prev index next >