< prev index next >

src/share/vm/gc/shared/genCollectedHeap.hpp

Print this page
rev 11983 : 8166276: Refactor gen_process_roots to allow simpler fix for 8165949
Reviewed-by:
Contributed-by: jesper.wilhelmsson@oracle.com

*** 400,419 **** CLDClosure* strong_cld_closure, CLDClosure* weak_cld_closure, CodeBlobToOopClosure* code_roots); public: ! static const bool StrongAndWeakRoots = false; ! static const bool StrongRootsOnly = true; ! void gen_process_roots(StrongRootsScope* scope, ! GenerationType type, bool young_gen_as_roots, ScanningOption so, bool only_strong_roots, ! OopsInGenClosure* not_older_gens, ! OopsInGenClosure* older_gens, CLDClosure* cld_closure); // Apply "root_closure" to all the weak roots of the system. // These include JNI weak roots, string table, // and referents of reachable weak refs. --- 400,419 ---- CLDClosure* strong_cld_closure, CLDClosure* weak_cld_closure, CodeBlobToOopClosure* code_roots); public: ! void young_process_roots(StrongRootsScope* scope, ! OopsInGenClosure* root_closure, ! OopsInGenClosure* old_gen_closure, ! CLDClosure* cld_closure); ! void old_process_roots(StrongRootsScope* scope, bool young_gen_as_roots, ScanningOption so, bool only_strong_roots, ! OopsInGenClosure* root_closure, CLDClosure* cld_closure); // Apply "root_closure" to all the weak roots of the system. // These include JNI weak roots, string table, // and referents of reachable weak refs.
< prev index next >