< prev index next >
src/hotspot/share/gc/shared/memAllocator.hpp
Print this page
@@ -53,11 +53,11 @@
_klass(klass),
_word_size(word_size)
{ }
// This function clears the memory of the object
- void mem_clear(HeapWord* mem) const;
+ virtual HeapWord* mem_clear(HeapWord* mem) const;
// This finish constructing an oop by installing the mark word and the Klass* pointer
// last. At the point when the Klass pointer is initialized, this is a constructed object
// that must be parseable as an oop by concurrent collectors.
oop finish(HeapWord* mem) const;
< prev index next >