On Mon, 15 Jul 2024 12:13:23 GMT, Maurizio Cimadamore <mcimadam...@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

Reply via email to