RFR: 8293337: Store method handle intrinsics in AOT cache [v5]
Ioi Lam
iklam at openjdk.org
Mon Sep 23 18:54:12 UTC 2024
> This is the 5th PR for [JEP 483: Ahead-of-Time Class Loading & Linking](https://bugs.openjdk.org/browse/JDK-8315737).
>
> This PR is necessary to support [JDK-8293336: AOT-linking of invokedynamic for lambda expression and string concat](https://bugs.openjdk.org/browse/JDK-8293336), which needs to store Java heap objects that have native pointers to the C++ `Method` objects returned by `SystemDictionary::find_method_handle_intrinsic()`
>
> These `Method` objects are created within the JVM. They do not belong to any actual Java classes. We store all these `Method` objects into the AOT cache, so that they can be referenced by other artifacts in the AOT cache.
>
> ---
> See [here](https://bugs.openjdk.org/browse/JDK-8315737) for the sequence of dependent RFEs for implementing JEP 483.
Ioi Lam has updated the pull request incrementally with one additional commit since the last revision:
@coleenp comments
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/20959/files
- new: https://git.openjdk.org/jdk/pull/20959/files/988f101c..66157452
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=20959&range=04
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=20959&range=03-04
Stats: 3 lines in 1 file changed: 2 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/20959.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/20959/head:pull/20959
PR: https://git.openjdk.org/jdk/pull/20959
More information about the hotspot-dev
mailing list