[code-reflection] Integrated: Lambda model uniqueness
Mourad Abbay
mabbay at openjdk.org
Wed May 7 19:23:20 UTC 2025
On Sat, 3 May 2025 08:44:57 GMT, Mourad Abbay <mabbay at openjdk.org> wrote:
> 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.
This pull request has now been integrated.
Changeset: 6e062d51
Author: Mourad Abbay <mabbay at openjdk.org>
URL: https://git.openjdk.org/babylon/commit/6e062d51a7c4a05a4263def900d7fc7d9c9b9e0b
Stats: 134 lines in 3 files changed: 97 ins; 17 del; 20 mod
Lambda model uniqueness
Reviewed-by: psandoz
-------------
PR: https://git.openjdk.org/babylon/pull/420
More information about the babylon-dev
mailing list