equal
deleted
inserted
replaced
837 } |
837 } |
838 |
838 |
839 void PSYoungGen::reset_survivors_after_shrink() { |
839 void PSYoungGen::reset_survivors_after_shrink() { |
840 _reserved = MemRegion((HeapWord*)virtual_space()->low_boundary(), |
840 _reserved = MemRegion((HeapWord*)virtual_space()->low_boundary(), |
841 (HeapWord*)virtual_space()->high_boundary()); |
841 (HeapWord*)virtual_space()->high_boundary()); |
842 PSScavenge::reference_processor()->set_span(_reserved); |
842 PSScavenge::set_subject_to_discovery_span(_reserved); |
843 |
843 |
844 MutableSpace* space_shrinking = NULL; |
844 MutableSpace* space_shrinking = NULL; |
845 if (from_space()->end() > to_space()->end()) { |
845 if (from_space()->end() > to_space()->end()) { |
846 space_shrinking = from_space(); |
846 space_shrinking = from_space(); |
847 } else { |
847 } else { |