RFR: 8081007: Remove redundant active worker variables and calls in ParNewGeneration::collect

Stefan Karlsson stefan.karlsson at oracle.com
Mon May 25 13:40:12 UTC 2015


On 25/05/15 15:31, Per Liden wrote:
> On 2015-05-25 15:29, Stefan Karlsson wrote:
>> Hi all,
>>
>> Please review this small patch to unify how the number of active workers
>> are passed around in ParNewGeneration::collect.
>>
>> http://cr.openjdk.java.net/~stefank/8081007/webrev.00/
>> https://bugs.openjdk.java.net/browse/JDK-8081007
>
> Looks good.

Thanks, Per.

StefanK

>
> /Per
>
>>
>> - 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.
>>
>> Thanks,
>> StefanK




More information about the hotspot-gc-dev mailing list