< prev index next >

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

Print this page
rev 50815 : Abstraction for TLAB dummy object

@@ -215,12 +215,10 @@
     return _filler_array_max_size;
   }
 
   virtual Name kind() const = 0;
 
-  virtual HeapWord* tlab_post_allocation_setup(HeapWord* obj);
-
   virtual const char* name() const = 0;
 
   /**
    * Returns JNI error code JNI_ENOMEM if memory could not be allocated,
    * and JNI_OK on success.

@@ -355,10 +353,12 @@
   }
   static void fill_with_object(HeapWord* start, HeapWord* end, bool zap = true) {
     fill_with_object(start, pointer_delta(end, start), zap);
   }
 
+  virtual void fill_with_dummy_object(HeapWord* start, HeapWord* end, bool zap);
+
   // Return the address "addr" aligned by "alignment_in_bytes" if such
   // an address is below "end".  Return NULL otherwise.
   inline static HeapWord* align_allocation_or_fail(HeapWord* addr,
                                                    HeapWord* end,
                                                    unsigned short alignment_in_bytes);
< prev index next >