[code-reflection] RFR: Lambda model uniqueness [v7]

Mourad Abbay mabbay at openjdk.org
Wed May 7 17:47:24 UTC 2025


> Lambdas that share the same proxy class, have the same implementation and therefore have the same code model generated by the compiler. In this PR, we share the code model across instances of the same proxy class. 
> This also means we reduce execution time as we only need to invoke `opMethod` once for given proxy class.
> With these changes we can compare lambda code model based on identity.

Mourad Abbay has updated the pull request incrementally with one additional commit since the last revision:

  Remove unused method

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

Changes:
  - all: https://git.openjdk.org/babylon/pull/420/files
  - new: https://git.openjdk.org/babylon/pull/420/files/ade697ba..a9935e70

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=babylon&pr=420&range=06
 - incr: https://webrevs.openjdk.org/?repo=babylon&pr=420&range=05-06

  Stats: 22 lines in 1 file changed: 0 ins; 22 del; 0 mod
  Patch: https://git.openjdk.org/babylon/pull/420.diff
  Fetch: git fetch https://git.openjdk.org/babylon.git pull/420/head:pull/420

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


More information about the babylon-dev mailing list