< prev index next >

src/share/vm/gc/g1/g1RootProcessor.hpp

Print this page

        

*** 83,93 **** OopClosure* scan_non_heap_weak_roots, G1GCPhaseTimes* phase_times, uint worker_i); public: ! G1RootProcessor(G1CollectedHeap* g1h); // Apply closures to the strongly and weakly reachable roots in the system // in a single pass. // Record and report timing measurements for sub phases using the worker_i void evacuate_roots(OopClosure* scan_non_heap_roots, --- 83,93 ---- OopClosure* scan_non_heap_weak_roots, G1GCPhaseTimes* phase_times, uint worker_i); public: ! G1RootProcessor(G1CollectedHeap* g1h, uint n_workers); // Apply closures to the strongly and weakly reachable roots in the system // in a single pass. // Record and report timing measurements for sub phases using the worker_i void evacuate_roots(OopClosure* scan_non_heap_roots,
*** 112,121 **** // (having done "set_region" to indicate the region in which the root resides), void scan_remembered_sets(G1ParPushHeapRSClosure* scan_rs, OopClosure* scan_non_heap_weak_roots, uint worker_i); ! // Inform the root processor about the number of worker threads ! void set_num_workers(uint active_workers); }; #endif // SHARE_VM_GC_G1_G1ROOTPROCESSOR_HPP --- 112,121 ---- // (having done "set_region" to indicate the region in which the root resides), void scan_remembered_sets(G1ParPushHeapRSClosure* scan_rs, OopClosure* scan_non_heap_weak_roots, uint worker_i); ! // Number of worker threads used by the root processor. ! uint n_workers() const; }; #endif // SHARE_VM_GC_G1_G1ROOTPROCESSOR_HPP
< prev index next >