1362 |
1362 |
1363 // Restore the mark word copied above. |
1363 // Restore the mark word copied above. |
1364 obj->set_mark(m); |
1364 obj->set_mark(m); |
1365 |
1365 |
1366 // Now we can track the promoted object, if necessary. We take care |
1366 // Now we can track the promoted object, if necessary. We take care |
1367 // To delay the transition from uninitialized to full object |
1367 // to delay the transition from uninitialized to full object |
1368 // (i.e., insertion of klass pointer) until after, so that it |
1368 // (i.e., insertion of klass pointer) until after, so that it |
1369 // atomically becomes a promoted object. |
1369 // atomically becomes a promoted object. |
1370 if (promoInfo->tracking()) { |
1370 if (promoInfo->tracking()) { |
1371 promoInfo->track((PromotedObject*)obj, old->klass()); |
1371 promoInfo->track((PromotedObject*)obj, old->klass()); |
1372 } |
1372 } |