equal
deleted
inserted
replaced
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); |