src/hotspot/share/gc/parallel/psYoungGen.cpp
changeset 49964 99e698e94cc7
parent 49164 7e958a8ebcd3
child 49982 9042ffe5b7fe
equal deleted inserted replaced
49963:93a7cbd3f838 49964:99e698e94cc7
   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 {