< prev index next >

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

Print this page

        

*** 81,90 **** --- 81,98 ---- ObjAllocator(Klass* klass, size_t word_size, Thread* thread = Thread::current()) : 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 { const int _length; const bool _do_zero; protected: virtual MemRegion obj_memory_range(oop obj) const;
< prev index next >