Mercurial > hg > graal-compiler
comparison src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.hpp @ 1571:2d127394260e
6916623: Align object to 16 bytes to use Compressed Oops with java heap up to 64Gb
Summary: Added new product ObjectAlignmentInBytes flag to control object alignment.
Reviewed-by: twisti, ysr, iveresov
author | kvn |
---|---|
date | Thu, 27 May 2010 18:01:56 -0700 |
parents | 2a1472c30599 |
children | e9ff18c4ace7 |
comparison
equal
deleted
inserted
replaced
1570:de91a2f25c7e | 1571:2d127394260e |
---|---|
1412 inline void | 1412 inline void |
1413 PSParallelCompact::check_new_location(HeapWord* old_addr, HeapWord* new_addr) | 1413 PSParallelCompact::check_new_location(HeapWord* old_addr, HeapWord* new_addr) |
1414 { | 1414 { |
1415 assert(old_addr >= new_addr || space_id(old_addr) != space_id(new_addr), | 1415 assert(old_addr >= new_addr || space_id(old_addr) != space_id(new_addr), |
1416 "must move left or to a different space"); | 1416 "must move left or to a different space"); |
1417 assert(is_object_aligned((intptr_t)old_addr) && is_object_aligned((intptr_t)new_addr), | |
1418 "checking alignment"); | |
1417 } | 1419 } |
1418 #endif // ASSERT | 1420 #endif // ASSERT |
1419 | 1421 |
1420 class MoveAndUpdateClosure: public ParMarkBitMapClosure { | 1422 class MoveAndUpdateClosure: public ParMarkBitMapClosure { |
1421 public: | 1423 public: |