hotspot/src/share/vm/memory/generation.cpp
changeset 4106 30919106db1d
parent 2105 347008ce7984
child 5547 f4b087cbb361
equal deleted inserted replaced
4103:b5f0e9a48cf7 4106:30919106db1d
   604 
   604 
   605 // Currently nothing to do.
   605 // Currently nothing to do.
   606 void OneContigSpaceCardGeneration::prepare_for_verify() {}
   606 void OneContigSpaceCardGeneration::prepare_for_verify() {}
   607 
   607 
   608 
   608 
       
   609 // Override for a card-table generation with one contiguous
       
   610 // space. NOTE: For reasons that are lost in the fog of history,
       
   611 // this code is used when you iterate over perm gen objects,
       
   612 // even when one uses CDS, where the perm gen has a couple of
       
   613 // other spaces; this is because CompactingPermGenGen derives
       
   614 // from OneContigSpaceCardGeneration. This should be cleaned up,
       
   615 // see CR 6897789..
   609 void OneContigSpaceCardGeneration::object_iterate(ObjectClosure* blk) {
   616 void OneContigSpaceCardGeneration::object_iterate(ObjectClosure* blk) {
   610   _the_space->object_iterate(blk);
   617   _the_space->object_iterate(blk);
   611 }
   618 }
   612 
   619 
   613 void OneContigSpaceCardGeneration::space_iterate(SpaceClosure* blk,
   620 void OneContigSpaceCardGeneration::space_iterate(SpaceClosure* blk,