rt.jar put on a Proguard diet losses 26 MB
Richard Bair
richard.bair at oracle.com
Tue Dec 18 08:33:20 PST 2012
> rt.jar went from 50,469 KB to 24,207 KB.
This is really great experimentation. Just for information, the target of JRE (base) + FX that we're aiming for is < 16MB, so still somewhat smaller than what you got from these results. Our official plan is to ship tooling with Java 8 that will allow you to subset the JRE & FX along "macro module" levels (such as Base (JRE), Core (FX), Graphics (FX), Controls (FX), Web (FX), etc). Then you could take the results of this, feed it through ProGuard, and potentially get it smaller still. Plus obfuscation and such (not a bad idea when doing a native app bundle, and it should further shrink the size).
Richard
More information about the macosx-port-dev
mailing list