For historical reasons -d only worked in —compile-only-mode. The equivalent behavior is still supported with —compile-only on the command line. All classes are needed for benchmark and analysis purposes. https://bugs.openjdk.java.net/browse/JDK-8057551 http://cr.openjdk.java.net/~lagergren/8057551/webrev/ /M