< prev index next >

src/share/vm/memory/genCollectedHeap.cpp

Print this page
rev 7522 : * * *
8066827: Remove ReferenceProcessor::clean_up_discovered_references()
Summary: Abandon rather than clean up discovered references.
Reviewed-by:

@@ -463,11 +463,11 @@
           ReferenceProcessor* rp = _gens[i]->ref_processor();
           // If the discovery of ("weak") refs in this generation is
           // atomic wrt other collectors in this configuration, we
           // are guaranteed to have empty discovered ref lists.
           if (rp->discovery_is_atomic()) {
-            rp->enable_discovery(true /*verify_disabled*/, true /*verify_no_refs*/);
+            rp->enable_discovery();
             rp->setup_policy(do_clear_all_soft_refs);
           } else {
             // collect() below will enable discovery as appropriate
           }
           _gens[i]->collect(full, do_clear_all_soft_refs, size, is_tlab);
< prev index next >