< 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
rev 11984 : [mq]: 8072809-jesper-mik-rev
rev 11985 : 8165949: Serial and ConcMarkSweep do not unload strings when class unloading is disabled
Reviewed-by:
rev 11986 : [mq]: 8165949-on-jesper-mik-rev

*** 401,417 **** // If "young_gen_as_roots" is false, younger generations are // not scanned as roots; in this case, the caller must be arranging to // scan the younger generations itself. (For example, a generation might // explicitly mark reachable objects in younger generations, to avoid // excess storage retention.) ! 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. void gen_process_weak_roots(OopClosure* root_closure); --- 401,424 ---- // If "young_gen_as_roots" is false, younger generations are // not scanned as roots; in this case, the caller must be arranging to // scan the younger generations itself. (For example, a generation might // explicitly mark reachable objects in younger generations, to avoid // excess storage retention.) ! void cms_process_roots(StrongRootsScope* scope, bool young_gen_as_roots, ScanningOption so, bool only_strong_roots, OopsInGenClosure* root_closure, CLDClosure* cld_closure); + void full_process_roots(StrongRootsScope* scope, + bool only_strong_roots, + ScanningOption so, + bool is_adjust_phase, + 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. void gen_process_weak_roots(OopClosure* root_closure);
< prev index next >