equal
deleted
inserted
replaced
418 q->forward_to(oop(compact_top)); |
418 q->forward_to(oop(compact_top)); |
419 assert(q->is_gc_marked(), "encoding the pointer should preserve the mark"); |
419 assert(q->is_gc_marked(), "encoding the pointer should preserve the mark"); |
420 } else { |
420 } else { |
421 // if the object isn't moving we can just set the mark to the default |
421 // if the object isn't moving we can just set the mark to the default |
422 // mark and handle it specially later on. |
422 // mark and handle it specially later on. |
423 q->init_mark(); |
423 q->init_mark_raw(); |
424 assert(q->forwardee() == NULL, "should be forwarded to NULL"); |
424 assert(q->forwardee() == NULL, "should be forwarded to NULL"); |
425 } |
425 } |
426 |
426 |
427 compact_top += adjusted_size; |
427 compact_top += adjusted_size; |
428 |
428 |