RFR: 8357402: Crash in AdapterHandlerLibrary::lookup
Vladimir Kozlov
kvn at openjdk.org
Thu May 22 19:33:55 UTC 2025
On Thu, 22 May 2025 19:26:05 GMT, Ashutosh Mehra <asmehra at openjdk.org> wrote:
>> Without nulling it I got issue with referencing dead memory through this field.
>
> I think that should not be happening. Can you please create a new issue for this with more details and I can try to see why is that the case.
The number of cached adapters and performance improvement are still here:
$ (perf stat -r 100 ./build/product/images/jdk/bin/java -XX:AOTCache=app.aotcache -XX:+UnlockDiagnosticVMOptions -XX:+AOTAdapterCaching -cp hello.jar HelloWorld > /dev/null) 2>&1 | grep elapsed
0.0247033 +- 0.0000319 seconds time elapsed ( +- 0.13% )
vs w/o AOT adapters:
0.0266180 +- 0.0000352 seconds time elapsed ( +- 0.13% )
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25398#discussion_r2103269482
More information about the hotspot-dev
mailing list