--- old/src/share/vm/gc_implementation/g1/g1CollectorPolicy.hpp 2014-08-13 09:52:50.952953783 +0200 +++ new/src/share/vm/gc_implementation/g1/g1CollectorPolicy.hpp 2014-08-13 09:52:50.812958741 +0200 @@ -612,6 +612,10 @@ uint desired_min_length, uint desired_max_length); + // Calculate and return chunk size (in number of regions) for parallel + // concurrent mark cleanup. + uint calculate_parallel_work_chunk_size(int n_workers, uint n_regions); + // Check whether a given young length (young_length) fits into the // given target pause time and whether the prediction for the amount // of objects to be copied for the given length will fit into the @@ -687,7 +691,7 @@ // Record start, end, and completion of cleanup. void record_concurrent_mark_cleanup_start(); - void record_concurrent_mark_cleanup_end(int no_of_gc_threads); + void record_concurrent_mark_cleanup_end(int n_workers); void record_concurrent_mark_cleanup_completed(); // Records the information about the heap size for reporting in