< prev index next >

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

Print this page

        

@@ -57,11 +57,11 @@
   // 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;
+  virtual oop finish(HeapWord* mem) const;
 
   // Raw memory allocation. This may or may not use TLAB allocations to satisfy the
   // allocation. A GC implementation may override this function to satisfy the allocation
   // in any way. But the default is to try a TLAB allocation, and otherwise perform
   // mem_allocate.
< prev index next >