RFR: 8335480: Only deoptimize threads if needed when closing shared arena [v3]

Maurizio Cimadamore mcimadamore at openjdk.org
Mon Jul 15 14:04:52 UTC 2024


On Mon, 15 Jul 2024 13:49:57 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

> > > Even with `arrayElementVarHandle` it's about the same
> > 
> > 
> > This is very odd, and I don't have a good explanation as to why that is the case. What does the baseline (confined arena) look like for `arrayElementVarHandle` ?
> 
> Pretty much exactly the same

So, that means that `arrayElementVarHandle` is ~4x faster than memory segment? Isn't that a bit odd?

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

PR Comment: https://git.openjdk.org/jdk/pull/20158#issuecomment-2228582926


More information about the core-libs-dev mailing list