src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp

changeset 1876
a8127dc669ba
parent 1875
bb843ebc7c55
child 1907
c18cbe5936b8
child 1926
2d127394260e
equal deleted inserted replaced
1875:bb843ebc7c55 1876:a8127dc669ba
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 }

mercurial