RFR: 8276205: Shenandoah: CodeCache_lock should always be held for initializing code cache iteration

Aleksey Shipilev shade at openjdk.java.net
Mon Nov 1 16:53:22 UTC 2021


On Mon, 1 Nov 2021 16:48:03 GMT, Zhengyu Gu <zgu at openjdk.org> wrote:

> > ShenandoahConcurrentRootScanner
> 
> Does it matter?

You tell me, I think it would be full of dangling references after we are done with scanner? The similar reason why we do `_table = NULL` in a similar method in another iterator. You don't have to change it here, but maybe a simple cleanup for later.

-------------

PR: https://git.openjdk.java.net/jdk/pull/6192


More information about the hotspot-gc-dev mailing list