hotspot/src/share/vm/memory/defNewGeneration.cpp
changeset 1610 5dddd195cc86
parent 1606 dcf9714addbe
child 3908 24b55ad4c228
equal deleted inserted replaced
1608:0a375b5fb8e1 1610:5dddd195cc86
   565   // "evacuate followers".
   565   // "evacuate followers".
   566   evacuate_followers.do_void();
   566   evacuate_followers.do_void();
   567 
   567 
   568   FastKeepAliveClosure keep_alive(this, &scan_weak_ref);
   568   FastKeepAliveClosure keep_alive(this, &scan_weak_ref);
   569   ReferenceProcessor* rp = ref_processor();
   569   ReferenceProcessor* rp = ref_processor();
   570   rp->snap_policy(clear_all_soft_refs);
   570   rp->setup_policy(clear_all_soft_refs);
   571   rp->process_discovered_references(&is_alive, &keep_alive, &evacuate_followers,
   571   rp->process_discovered_references(&is_alive, &keep_alive, &evacuate_followers,
   572                                     NULL);
   572                                     NULL);
   573   if (!promotion_failed()) {
   573   if (!promotion_failed()) {
   574     // Swap the survivor spaces.
   574     // Swap the survivor spaces.
   575     eden()->clear(SpaceDecorator::Mangle);
   575     eden()->clear(SpaceDecorator::Mangle);