[code-reflection] Integrated: Rationalizing use of MethodHandles.Lookup and Arena passing

Gary Frost gfrost at openjdk.org
Fri Dec 19 13:43:16 UTC 2025


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.

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

Commit messages:
 - Rationalizing use of MethodHandles.Lookup and Arena passing

Changes: https://git.openjdk.org/babylon/pull/767/files
  Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=767&range=00
  Stats: 294 lines in 49 files changed: 113 ins; 60 del; 121 mod
  Patch: https://git.openjdk.org/babylon/pull/767.diff
  Fetch: git fetch https://git.openjdk.org/babylon.git pull/767/head:pull/767

PR: https://git.openjdk.org/babylon/pull/767


More information about the babylon-dev mailing list