As the title says,
G1CollectorPolicy::adjust_concurrent_refinement should be moved out of the policy, it relies on none of the values from the policy, except for a few timings.
It almost exclusively calls methods on ConcurrentG1Refine so it most likely fits in nicely in that class.
G1CollectorPolicy::adjust_concurrent_refinement should be moved out of the policy, it relies on none of the values from the policy, except for a few timings.
It almost exclusively calls methods on ConcurrentG1Refine so it most likely fits in nicely in that class.