Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp @ 1521:a8127dc669ba
6951188: CMS: move PromotionInfo into its own file
Summary: Moved PromotionInfo and friends into new files promotionInfo.{h,c}pp from their previous compactibleFreeListSpace.{h,c}pp home.
Reviewed-by: apetrusenko
author | ysr |
---|---|
date | Mon, 10 May 2010 12:31:52 -0700 |
parents | bb843ebc7c55 |
children | c18cbe5936b8 2d127394260e |
comparison
equal
deleted
inserted
replaced
1520:bb843ebc7c55 | 1521: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 } |