< prev index next >

src/hotspot/share/gc/shared/collectedHeap.inline.hpp

Print this page
@@ -34,10 +34,15 @@
  inline oop CollectedHeap::obj_allocate(Klass* klass, int size, TRAPS) {
    ObjAllocator allocator(klass, size, THREAD);
    return allocator.allocate();
  }
  
+ inline oop CollectedHeap::obj_buffer_allocate(Klass* klass, int size, TRAPS) {
+   ObjBufferAllocator allocator(klass, size, THREAD);
+   return allocator.allocate();
+ }
+ 
  inline oop CollectedHeap::array_allocate(Klass* klass, int size, int length, bool do_zero, TRAPS) {
    ObjArrayAllocator allocator(klass, size, length, do_zero, THREAD);
    return allocator.allocate();
  }
  
< prev index next >