775 size_t preclean_card_table(ConcurrentMarkSweepGeneration* old_gen, |
775 size_t preclean_card_table(ConcurrentMarkSweepGeneration* old_gen, |
776 ScanMarkedObjectsAgainCarefullyClosure* cl); |
776 ScanMarkedObjectsAgainCarefullyClosure* cl); |
777 // Does precleaning work, returning a quantity indicative of |
777 // Does precleaning work, returning a quantity indicative of |
778 // the amount of "useful work" done. |
778 // the amount of "useful work" done. |
779 size_t preclean_work(bool clean_refs, bool clean_survivors); |
779 size_t preclean_work(bool clean_refs, bool clean_survivors); |
780 void preclean_klasses(MarkRefsIntoAndScanClosure* cl, Mutex* freelistLock); |
780 void preclean_cld(MarkRefsIntoAndScanClosure* cl, Mutex* freelistLock); |
781 void abortable_preclean(); // Preclean while looking for possible abort |
781 void abortable_preclean(); // Preclean while looking for possible abort |
782 void initialize_sequential_subtasks_for_young_gen_rescan(int i); |
782 void initialize_sequential_subtasks_for_young_gen_rescan(int i); |
783 // Helper function for above; merge-sorts the per-thread plab samples |
783 // Helper function for above; merge-sorts the per-thread plab samples |
784 void merge_survivor_plab_arrays(ContiguousSpace* surv, int no_of_gc_threads); |
784 void merge_survivor_plab_arrays(ContiguousSpace* surv, int no_of_gc_threads); |
785 // Resets (i.e. clears) the per-thread plab sample vectors |
785 // Resets (i.e. clears) the per-thread plab sample vectors |