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

Paul Sandoz psandoz at openjdk.org
Wed May 7 19:01:09 UTC 2025


On Wed, 7 May 2025 18:31:35 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.
>
> Mourad Abbay has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Test lambda model uniqueness in parallel execution

Marked as reviewed by psandoz (Lead).

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

PR Review: https://git.openjdk.org/babylon/pull/420#pullrequestreview-2822899580


More information about the babylon-dev mailing list