RFR: 8336491: Unnecessary boxing conversions in void-returning lambdas [v3]

Liam Miller-Cushon cushon at openjdk.org
Mon Jul 22 17:28:39 UTC 2024


On Fri, 19 Jul 2024 22:18:05 GMT, Liam Miller-Cushon <cushon at openjdk.org> wrote:

>> Please consider this possible fix for [JDK-8336491](https://bugs.openjdk.org/browse/JDK-8336491), which avoids generating an unnecessary boxing conversion for the result of void-returning expression lambdas.
>
> Liam Miller-Cushon has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Represent void lambda results as Type.noType

I'm happy with proceeding with the current approach. Thanks again for the help!

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

PR Comment: https://git.openjdk.org/jdk/pull/20222#issuecomment-2243455712


More information about the compiler-dev mailing list