RFR: 8271623: Omit enclosing instance fields from inner classes that don't use it [v5]

Vicente Romero vromero at openjdk.java.net
Tue Nov 23 15:13:25 UTC 2021


On Mon, 22 Nov 2021 22:33:48 GMT, Liam Miller-Cushon <cushon at openjdk.org> wrote:

>> This change omits the synthetic `this$0` field from inner classes that do not access any enclosing instance state.
>
> Liam Miller-Cushon has updated the pull request incrementally with three additional commits since the last revision:
> 
>  - Negate condition inside loop
>  - Clean up tests
>  - Use a shorter name for Target setting

lgtm, thanks for fixing this!

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

Marked as reviewed by vromero (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/4966


More information about the compiler-dev mailing list