< prev index next >

src/share/vm/memory/space.inline.hpp

Print this page

        

*** 212,222 **** // after their pointers have been // updated, until the actual compaction is done. dld, 4/00 assert(space->block_is_obj(q), "should be at block boundaries, and should be looking at objs"); // point all the oops to the new location ! size_t size = oop(q)->adjust_pointers(); size = space->adjust_obj_size(size); q += size; } --- 212,222 ---- // after their pointers have been // updated, until the actual compaction is done. dld, 4/00 assert(space->block_is_obj(q), "should be at block boundaries, and should be looking at objs"); // point all the oops to the new location ! size_t size = MarkSweep::adjust_pointers(oop(q)); size = space->adjust_obj_size(size); q += size; }
*** 236,246 **** // prefetch beyond q Prefetch::write(q, interval); if (oop(q)->is_gc_marked()) { // q is alive // point all the oops to the new location ! size_t size = oop(q)->adjust_pointers(); size = space->adjust_obj_size(size); debug_only(prev_q = q); q += size; } else { // q is not a live object, so its mark should point at the next --- 236,246 ---- // prefetch beyond q Prefetch::write(q, interval); if (oop(q)->is_gc_marked()) { // q is alive // point all the oops to the new location ! size_t size = MarkSweep::adjust_pointers(oop(q)); size = space->adjust_obj_size(size); debug_only(prev_q = q); q += size; } else { // q is not a live object, so its mark should point at the next
< prev index next >