RFR: 8291065: Creating a VarHandle for a static field triggers class initialization [v5]

Chen Liang liach at openjdk.org
Fri Jun 2 23:10:06 UTC 2023


On Fri, 2 Jun 2023 22:50:21 GMT, Mandy Chung <mchung at openjdk.org> wrote:

> what performance results do you see with this change?

The indirect VH invocation already has a performance similar to the direct invocation in JMH. Do you mean that I should add `asDirect` to the direct paths in VH and check the benchmark results?

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

PR Comment: https://git.openjdk.org/jdk/pull/13821#issuecomment-1574420828


More information about the core-libs-dev mailing list