< prev index next >

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

Print this page
@@ -87,10 +87,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 >