RFR: 8329597: C2: Intrinsify Reference.clear [v3]

Erik Österlund eosterlund at openjdk.org
Thu Oct 3 12:09:41 UTC 2024


On Mon, 30 Sep 2024 16:32:48 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> > I think we need a new ZBarrierSetRuntime::no_keepalive_store_barrier_on_oop_field_without_healing(oop* p) and to make that the selected slow path function when ZBarrierNoKeepalive is set on a StorePNode. Its implementation would call ZBarrier::no_keep_alive_store_barrier_on_heap_oop_field. This should do the trick.
> 
> Thanks! See new commits: is that the shape you were thinking of?

Yeah that's perfect. Thanks!

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

PR Comment: https://git.openjdk.org/jdk/pull/20139#issuecomment-2391252177


More information about the core-libs-dev mailing list