212 // mark and handle it specially later on. |
212 // mark and handle it specially later on. |
213 q->init_mark(); |
213 q->init_mark(); |
214 assert(q->forwardee() == NULL, "should be forwarded to NULL"); |
214 assert(q->forwardee() == NULL, "should be forwarded to NULL"); |
215 } |
215 } |
216 |
216 |
217 VALIDATE_MARK_SWEEP_ONLY(MarkSweep::register_live_oop(q, adjusted_size)); |
|
218 compact_top += adjusted_size; |
217 compact_top += adjusted_size; |
219 |
218 |
220 // we need to update the offset table so that the beginnings of objects can be |
219 // we need to update the offset table so that the beginnings of objects can be |
221 // found during scavenge. Note that we are updating the offset table based on |
220 // found during scavenge. Note that we are updating the offset table based on |
222 // where the object will be once the compaction phase finishes. |
221 // where the object will be once the compaction phase finishes. |