1.1 --- a/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp Wed Nov 26 09:24:57 2008 -0800 1.2 +++ b/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp Mon Dec 01 23:25:24 2008 -0800 1.3 @@ -1961,7 +1961,7 @@ 1.4 1.5 ref_processor()->set_enqueuing_is_done(false); 1.6 ref_processor()->enable_discovery(); 1.7 - ref_processor()->snap_policy(clear_all_soft_refs); 1.8 + ref_processor()->setup_policy(clear_all_soft_refs); 1.9 // If an asynchronous collection finishes, the _modUnionTable is 1.10 // all clear. If we are assuming the collection from an asynchronous 1.11 // collection, clear the _modUnionTable. 1.12 @@ -2386,7 +2386,7 @@ 1.13 } 1.14 1.15 // Snapshot the soft reference policy to be used in this collection cycle. 1.16 - ref_processor()->snap_policy(clear_all_soft_refs); 1.17 + ref_processor()->setup_policy(clear_all_soft_refs); 1.18 1.19 bool init_mark_was_synchronous = false; // until proven otherwise 1.20 while (_collectorState != Idling) { 1.21 @@ -5683,7 +5683,7 @@ 1.22 assert(rp->span().equals(_span), "Spans should be equal"); 1.23 assert(!rp->enqueuing_is_done(), "Enqueuing should not be complete"); 1.24 // Process weak references. 1.25 - rp->snap_policy(clear_all_soft_refs); 1.26 + rp->setup_policy(clear_all_soft_refs); 1.27 verify_work_stacks_empty(); 1.28 1.29 CMSKeepAliveClosure cmsKeepAliveClosure(this, _span, &_markBitMap,