3 ms·
> Module system supports linking Nope, that's an entirely proprietary, intentionally unspecified extension. > it is possible to create a JRE for distribution
by needusername 9y ago
> Module system supports linking
Nope, that's an entirely proprietary, intentionally unspecified extension.
> it is possible to create a JRE for distribution having only the code that actually matters for the application.
I don't see how this reduces the startup time and memory footprint of the JVM. If a class is not needed by your application it's not loaded, that has been the case since Java 1.0. I don't see how it not being present on disk makes any difference.
> It is also part of how the upcoming AOT compiler to native code will work.
Nope. It also works on classes and plain old JARs [1]
[1] http://openjdk.java.net/jeps/295 http://openjdk.java.net/jeps/295