8031323: Optionally align objects copied to survivor spaces

Reviewed-by: brutisso, tschatzl
This commit is contained in:
Jon Masamitsu 2014-08-01 15:40:12 -07:00
parent a959c0971e
commit 5f2c33e42b
16 changed files with 201 additions and 25 deletions

View file

@ -526,6 +526,7 @@ class ContiguousSpace: public CompactibleSpace {
// Allocation (return NULL if full)
virtual HeapWord* allocate(size_t word_size);
virtual HeapWord* par_allocate(size_t word_size);
HeapWord* allocate_aligned(size_t word_size);
// Iteration
void oop_iterate(ExtendedOopClosure* cl);