RFR: 8210881: ZGC: Introduce ZRootsIteratorClosure

Per Liden per.liden at oracle.com
Wed Sep 19 15:55:21 UTC 2018


On 09/19/2018 04:09 PM, Erik Osterlund wrote:
> Hi Per,
> 
> Looks good. An implementation using behaviours would have been even better of course though... ;)

Thanks Erik! Let's see if using behaviors here is better if/when that 
patch gets in ;)

/Per

> 
> Thanks,
> /Erik
> 
>> On 18 Sep 2018, at 22:22, Per Liden <per.liden at oracle.com> wrote:
>>
>> Introduce ZRootsIteratorClosure to allow piggybacking per-thread operations when iterating over thread roots. Use this to update the thread local address bad mask, instead of having that logic buried inside the ZRootIterator, which should not have knowledge of this. This mechanism will later also be used to retire/resize/remap TLABs.
>>
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8210881
>> Webrev: http://cr.openjdk.java.net/~pliden/8210881/webrev.0
>>
>> /Per
> 


More information about the hotspot-gc-dev mailing list