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