RFR: 8210881: ZGC: Introduce ZRootsIteratorClosure

Erik Osterlund erik.osterlund at oracle.com
Wed Sep 19 14:09:53 UTC 2018

Hi Per,

Looks good. An implementation using behaviours would have been even better of course though... ;)


> 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