RFR: 8081007: Remove redundant active worker variables and calls in ParNewGeneration::collect
stefan.karlsson at oracle.com
Mon May 25 17:00:22 UTC 2015
On 25/05/15 18:50, Kim Barrett wrote:
> On May 25, 2015, at 9:29 AM, Stefan Karlsson <stefan.karlsson at oracle.com> wrote:
>> Hi all,
>> Please review this small patch to unify how the number of active workers are passed around in ParNewGeneration::collect.
>> - Removed the unnecessary n_workers variable.
>> - Replaced workers()->active_workers() with active_workers.
>> - Removed workers NULL check assert, since the exact same assert is performed earlier in the function.
> Nice cleanup. Looks good.
More information about the hotspot-gc-dev