[code-reflection] Integrated: Rationalizing use of MethodHandles.Lookup and Arena passing
Gary Frost
gfrost at openjdk.org
Fri Dec 19 13:43:17 UTC 2025
On Fri, 19 Dec 2025 13:36:29 GMT, Gary Frost <gfrost at openjdk.org> wrote:
> We had various strategies for accessing MethodHandle.Lookup's and Arena's
>
> This PR defines LookupCarrier and ArenaCarrier interfaces and allows us to often pass XXCarrier or access a XXCarrier to get hold of a valid lookup.
>
> More work to do but this cleans up accesses.
This pull request has now been integrated.
Changeset: 3fbc5dd3
Author: Gary Frost <gfrost at openjdk.org>
URL: https://git.openjdk.org/babylon/commit/3fbc5dd3593645cbdf64047c965c42f53694090a
Stats: 294 lines in 49 files changed: 113 ins; 60 del; 121 mod
Rationalizing use of MethodHandles.Lookup and Arena passing
-------------
PR: https://git.openjdk.org/babylon/pull/767
More information about the babylon-dev
mailing list