src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.hpp

changeset 1934
e9ff18c4ace7
parent 1907
c18cbe5936b8
parent 1926
2d127394260e
child 1993
b2a00dd3117c
equal deleted inserted replaced
1917:dfe27f03244a 1934:e9ff18c4ace7
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:

mercurial