RFR: 8354887: Preserve runtime blobs in AOT code cache [v2]

Andrew Dinn adinn at openjdk.org
Thu May 8 08:11:54 UTC 2025


On Thu, 8 May 2025 02:14:41 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

> One suggestion I have is to skip using only new runtime blobs you are adding when bases do not match because adapters don't have this issue.

c2i adapters do suffer this issue. They call out to the barrier set to plant  a c2i entry barrier. The barrier performs a weak reference load through field `ClassLoaderData::holder` (type `WeakHandle`). Method `resolve_weak_handle` calls `decode_heap_oop`.

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

PR Comment: https://git.openjdk.org/jdk/pull/25019#issuecomment-2862157506


More information about the hotspot-runtime-dev mailing list