hotspot/src/share/vm/gc/serial/genMarkSweep.cpp
changeset 33230 23bb11a5cf4e
parent 33198 b37ad9fbf681
parent 33212 906b3d079b13
child 34666 1c7168ea0034
equal deleted inserted replaced
33199:ba60c42fa77b 33230:23bb11a5cf4e
   115 
   115 
   116   // If compaction completely evacuated the young generation then we
   116   // If compaction completely evacuated the young generation then we
   117   // can clear the card table.  Otherwise, we must invalidate
   117   // can clear the card table.  Otherwise, we must invalidate
   118   // it (consider all cards dirty).  In the future, we might consider doing
   118   // it (consider all cards dirty).  In the future, we might consider doing
   119   // compaction within generations only, and doing card-table sliding.
   119   // compaction within generations only, and doing card-table sliding.
   120   GenRemSet* rs = gch->rem_set();
   120   CardTableRS* rs = gch->rem_set();
   121   Generation* old_gen = gch->old_gen();
   121   Generation* old_gen = gch->old_gen();
   122 
   122 
   123   // Clear/invalidate below make use of the "prev_used_regions" saved earlier.
   123   // Clear/invalidate below make use of the "prev_used_regions" saved earlier.
   124   if (gch->young_gen()->used() == 0) {
   124   if (gch->young_gen()->used() == 0) {
   125     // We've evacuated the young generation.
   125     // We've evacuated the young generation.