RFR: 8294960: Convert java.base/java.lang.invoke package to use the Classfile API to generate lambdas and method handles [v21]

ExE Boss duke at openjdk.org
Tue Jun 18 18:06:16 UTC 2024


On Tue, 18 Jun 2024 13:22:45 GMT, Adam Sotona <asotona at openjdk.org> wrote:

>> java.base java.lang.invoke package heavily uses ASM to generate lambdas and method handles.
>> 
>> This patch converts ASM calls to Classfile API.
>> 
>> This PR is continuation of https://github.com/openjdk/jdk/pull/12945
>> 
>> Any comments and suggestions are welcome.
>> 
>> Please review.
>> 
>> Thank you,
>> Adam
>
> Adam Sotona has updated the pull request incrementally with four additional commits since the last revision:
> 
>  - Merge pull request #8 from cl4es/serialization_hostile
>    
>    SerializationHostileMethod
>  - Reduce gratuitous code movement
>  - Inline Consumer<MethodBuilder> into generateSer.. method, move seldom-used serialization support constants to new holder
>  - SerializationHostileMethod

src/java.base/share/classes/java/lang/invoke/InnerClassLambdaMetafactory.java line 509:

> 507:     }
> 508: 
> 509: 

Suggestion:

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

PR Review Comment: https://git.openjdk.org/jdk/pull/17108#discussion_r1644860876


More information about the core-libs-dev mailing list