RFR: 8319761: Simplify fields of Array VarHandles

Chen Liang liach at openjdk.org
Thu Nov 9 08:48:01 UTC 2023


On Thu, 9 Nov 2023 07:48:04 GMT, Per Minborg <pminborg at openjdk.org> wrote:

> Sharing code might sometimes have performance issues because the shared code is used differently from different call sites. See https://bugs.openjdk.org/browse/JDK-8015417.   Is this something we should check here?

This patch mainly simplifies primitive array var handles by reusing the same object instance. There's no shared bytecode in this patch. Some exist in #15854 though.

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

PR Comment: https://git.openjdk.org/jdk/pull/15894#issuecomment-1803387174


More information about the core-libs-dev mailing list