RFR: 8287805: Shenandoah: consolidate evacuate-update-root closures [v3]
Zhengyu Gu
zgu at openjdk.org
Tue Jun 28 12:45:44 UTC 2022
On Fri, 24 Jun 2022 17:45:48 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
> I still dislike the fact we are calling `Thread::current()` on hotpath. I think we can do better. Consider this modification on top of your current PR: http://cr.openjdk.java.net/~shade/8287805/thread-1.patch -- does that look better?
Are your referring to `ShenandoahEvacuateUpdateRootsClosure`? It has to be context free closure, since it is a shared closure used by stack watermark processing.
-------------
PR: https://git.openjdk.org/jdk/pull/9023
More information about the hotspot-gc-dev
mailing list