< prev index next >
src/hotspot/share/gc/shared/memAllocator.hpp
Print this page
*** 53,63 ****
_klass(klass),
_word_size(word_size)
{ }
// This function clears the memory of the object
! void 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;
--- 53,63 ----
_klass(klass),
_word_size(word_size)
{ }
// This function clears the memory of the object
! 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 >