Integrated: 8271623: Omit enclosing instance fields from inner classes that don't use it

Liam Miller-Cushon cushon at openjdk.java.net
Tue Nov 23 18:18:10 UTC 2021


On Tue, 3 Aug 2021 03:19:13 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.

This pull request has now been integrated.

Changeset: ea85e01a
Author:    Liam Miller-Cushon <cushon at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/ea85e01a4c8db1bc48d590abc882dc6efe5b0f4a
Stats:     451 lines in 17 files changed: 396 ins; 22 del; 33 mod

8271623: Omit enclosing instance fields from inner classes that don't use it

Reviewed-by: vromero, jlahoda

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

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


More information about the compiler-dev mailing list