< prev index next > src/hotspot/share/gc/shared/memAllocator.hpp
Print this page
virtual oop initialize(HeapWord* mem) const;
};
class ClassAllocator: public MemAllocator {
public:
! ClassAllocator(Klass* klass, size_t word_size, Thread* thread = Thread::current())
! : MemAllocator(klass, word_size, thread) {}
virtual oop initialize(HeapWord* mem) const;
};
// Manages a scope where a failed heap allocation results in
virtual oop initialize(HeapWord* mem) const;
};
class ClassAllocator: public MemAllocator {
+ size_t _base_size;
public:
! ClassAllocator(Klass* klass, size_t word_size, size_t base_size, Thread* thread = Thread::current())
! : MemAllocator(klass, word_size, thread),
+ _base_size(base_size) {}
virtual oop initialize(HeapWord* mem) const;
};
// Manages a scope where a failed heap allocation results in
< prev index next >