Mercurial > hg > graal-jvmci-8
comparison src/share/vm/memory/generation.cpp @ 1051:26f1542097f1
6801625: CDS: HeapDump tests crash with internal error in compactingPermGenGen.cpp
Summary: Allow iteration over the shared spaces when using CDS, repealing previous proscription. Deferred further required CDS-related cleanups of perm gen to CR 6897789.
Reviewed-by: phh, jmasa
author | ysr |
---|---|
date | Tue, 03 Nov 2009 16:43:16 -0800 |
parents | 0fbdb4381b99 |
children | c18cbe5936b8 |
comparison
equal
deleted
inserted
replaced
1048:29adffcb6a61 | 1051:26f1542097f1 |
---|---|
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, |