src/hotspot/share/gc/shared/collectedHeap.hpp
changeset 50537 d12828b7cd64
parent 50525 767cdb97f103
child 50578 e2a7f431f65c
equal deleted inserted replaced
50536:8434981a4137 50537:d12828b7cd64
   348   }
   348   }
   349   static void fill_with_object(HeapWord* start, HeapWord* end, bool zap = true) {
   349   static void fill_with_object(HeapWord* start, HeapWord* end, bool zap = true) {
   350     fill_with_object(start, pointer_delta(end, start), zap);
   350     fill_with_object(start, pointer_delta(end, start), zap);
   351   }
   351   }
   352 
   352 
       
   353   virtual void fill_with_dummy_object(HeapWord* start, HeapWord* end, bool zap);
       
   354 
   353   // Return the address "addr" aligned by "alignment_in_bytes" if such
   355   // Return the address "addr" aligned by "alignment_in_bytes" if such
   354   // an address is below "end".  Return NULL otherwise.
   356   // an address is below "end".  Return NULL otherwise.
   355   inline static HeapWord* align_allocation_or_fail(HeapWord* addr,
   357   inline static HeapWord* align_allocation_or_fail(HeapWord* addr,
   356                                                    HeapWord* end,
   358                                                    HeapWord* end,
   357                                                    unsigned short alignment_in_bytes);
   359                                                    unsigned short alignment_in_bytes);