RFR: 8335480: Only deoptimize threads if needed when closing shared arena [v3]
Maurizio Cimadamore
mcimadamore at openjdk.org
Mon Jul 15 12:17:52 UTC 2024
On Mon, 15 Jul 2024 12:13:23 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:
> > I also tried using `MethodHandles::arrayElementGetter` for the access, but the numbers I got were pretty much the same:
>
> This is quite strange, as the code involved should be quite similar to those with memory segments (e.g. you go through a method handle pointing to some helper class). I would have said this would have provided a fairly good comparison.
Ah! I had `arrayElementVarHandle` in mind - maybe you can try that?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20158#issuecomment-2228361950
More information about the core-libs-dev
mailing list