RFR: 8081682: AbstractWorkGang::_terminate is never used

Stefan Karlsson stefan.karlsson at oracle.com
Wed Jun 3 09:11:14 UTC 2015


On 2015-06-03 11:07, Per Liden wrote:
> On 2015-06-02 15:51, Stefan Karlsson wrote:
>> Hi all,
>>
>> Please review this patch to remove the AbstractWorkGang::_terminate
>> variable. The work gangs are never deleted and therefore the code which
>> sets _terminate is never executed.
>>
>> http://cr.openjdk.java.net/~stefank/8081682/webrev.00/
>> https://bugs.openjdk.java.net/browse/JDK-8081682
>
> Change looks good.
>
> At some point we probably want to add a tested version of stop() and 
> call that e.g. from G1CollectedHeap::stop(), where we stop/terminate 
> all the other threads at VM shutdown. Maybe we should create a bug for 
> this?

Sounds like a good plan.

Thanks for the review,
StefanK

>
> cheers,
> /Per




More information about the hotspot-gc-dev mailing list