hotspot/src/share/vm/memory/genMarkSweep.cpp
changeset 1610 5dddd195cc86
parent 1606 dcf9714addbe
child 3696 9e5d9b5e1049
child 3908 24b55ad4c228
--- a/hotspot/src/share/vm/memory/genMarkSweep.cpp	Wed Nov 26 09:24:57 2008 -0800
+++ b/hotspot/src/share/vm/memory/genMarkSweep.cpp	Mon Dec 01 23:25:24 2008 -0800
@@ -33,7 +33,7 @@
   assert(ref_processor() == NULL, "no stomping");
   assert(rp != NULL, "should be non-NULL");
   _ref_processor = rp;
-  rp->snap_policy(clear_all_softrefs);
+  rp->setup_policy(clear_all_softrefs);
 
   TraceTime t1("Full GC", PrintGC && !PrintGCDetails, true, gclog_or_tty);
 
@@ -246,7 +246,7 @@
 
   // Process reference objects found during marking
   {
-    ref_processor()->snap_policy(clear_all_softrefs);
+    ref_processor()->setup_policy(clear_all_softrefs);
     ref_processor()->process_discovered_references(
       &is_alive, &keep_alive, &follow_stack_closure, NULL);
   }