< prev index next >

src/hotspot/share/gc/shared/memAllocator.hpp

Print this page
*** 91,10 ***
--- 91,18 ---
      : MemAllocator(klass, word_size, thread) {}
  
    virtual oop initialize(HeapWord* mem) const;
  };
  
+ class ObjBufferAllocator: public MemAllocator {
+ public:
+   ObjBufferAllocator(Klass* klass, size_t word_size, Thread* thread = Thread::current())
+     : MemAllocator(klass, word_size, thread) {}
+   virtual oop initialize(HeapWord* mem) const;
+ };
+ 
+ 
  class ObjArrayAllocator: public MemAllocator {
  protected:
    const int  _length;
    const bool _do_zero;
  
< prev index next >