src/share/vm/gc_interface/collectedHeap.hpp

changeset 7031
ee019285a52c
parent 6690
1772223a25a2
child 7070
439f0d76cff3
equal deleted inserted replaced
7030:3c048df3ef8b 7031:ee019285a52c
349 } 349 }
350 static void fill_with_object(HeapWord* start, HeapWord* end, bool zap = true) { 350 static void fill_with_object(HeapWord* start, HeapWord* end, bool zap = true) {
351 fill_with_object(start, pointer_delta(end, start), zap); 351 fill_with_object(start, pointer_delta(end, start), zap);
352 } 352 }
353 353
354 // Return the address "addr" aligned by "alignment_in_bytes" if such
355 // an address is below "end". Return NULL otherwise.
356 inline static HeapWord* align_allocation_or_fail(HeapWord* addr,
357 HeapWord* end,
358 unsigned short alignment_in_bytes);
359
354 // Some heaps may offer a contiguous region for shared non-blocking 360 // Some heaps may offer a contiguous region for shared non-blocking
355 // allocation, via inlined code (by exporting the address of the top and 361 // allocation, via inlined code (by exporting the address of the top and
356 // end fields defining the extent of the contiguous allocation region.) 362 // end fields defining the extent of the contiguous allocation region.)
357 363
358 // This function returns "true" iff the heap supports this kind of 364 // This function returns "true" iff the heap supports this kind of

mercurial