RFR: 8309634: Resolve CONSTANT_MethodRef at CDS dump time
Calvin Cheung
ccheung at openjdk.org
Tue Jun 25 23:28:10 UTC 2024
On Mon, 24 Jun 2024 17:21:18 GMT, Ioi Lam <iklam at openjdk.org> wrote:
> Resolve `CONSTANT_MethodRef` entries during CDS dump time to improve start-up performance.
>
> - This PR uses the same framework introduced in #19355 and just added handling for methods.
> - Support for getstatic/putstatic/invokestatic will be done separately in [JDK-8334898](https://bugs.openjdk.org/browse/JDK-8334898)
src/hotspot/share/interpreter/interpreterRuntime.cpp line 671:
> 669:
> 670: // check if link resolution caused cpCache to be updated
> 671: ConstantPoolCache* cache = pool->cache();
Is this needed? I don't see `cache` being used within the function.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/19866#discussion_r1653734163
More information about the build-dev
mailing list