RFR: 8291065: Creating a VarHandle for a static field triggers class initialization [v5]
Mandy Chung
mchung at openjdk.org
Sat Jun 3 00:05:06 UTC 2023
On Fri, 2 Jun 2023 02:37:13 GMT, Chen Liang <liach at openjdk.org> wrote:
> I've also updated the benchmark for the latest patch. Unfortunately the regular invocations and lazy var handle initial call performance saw a decrease.
Maybe I misunderstood what you meant about "a decrease in performance".
> 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?
I guess there would be no difference then.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/13821#issuecomment-1574454947
More information about the core-libs-dev
mailing list