Non-static classes hold a link to their parent classes, which can be avoided.
------------- Commit messages: - [PATCH] Change nested classes in jdk.jconsole to static nested classes Changes: https://git.openjdk.java.net/jdk/pull/5974/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5974&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8275384 Stats: 12 lines in 5 files changed: 0 ins; 0 del; 12 mod Patch: https://git.openjdk.java.net/jdk/pull/5974.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/5974/head:pull/5974 PR: https://git.openjdk.java.net/jdk/pull/5974