comparison src/share/vm/memory/space.hpp @ 20317:ee019285a52c

8031323: Optionally align objects copied to survivor spaces Reviewed-by: brutisso, tschatzl
author jmasa
date Mon, 04 Aug 2014 10:48:10 -0700
parents 3f2894c5052e
children d35872270666
comparison
equal deleted inserted replaced
20316:3c048df3ef8b 20317:ee019285a52c
524 MemRegion used_region() const { return MemRegion(bottom(), top()); } 524 MemRegion used_region() const { return MemRegion(bottom(), top()); }
525 525
526 // Allocation (return NULL if full) 526 // Allocation (return NULL if full)
527 virtual HeapWord* allocate(size_t word_size); 527 virtual HeapWord* allocate(size_t word_size);
528 virtual HeapWord* par_allocate(size_t word_size); 528 virtual HeapWord* par_allocate(size_t word_size);
529 HeapWord* allocate_aligned(size_t word_size);
529 530
530 // Iteration 531 // Iteration
531 void oop_iterate(ExtendedOopClosure* cl); 532 void oop_iterate(ExtendedOopClosure* cl);
532 void object_iterate(ObjectClosure* blk); 533 void object_iterate(ObjectClosure* blk);
533 // For contiguous spaces this method will iterate safely over objects 534 // For contiguous spaces this method will iterate safely over objects