4 ms·
> It's not for your typical use cases, it's for people running Java in lesser devices. Are you sure? Modules add additional runtime and startup overhead. Class
by needusername 10y ago
> It's not for your typical use cases, it's for people running Java in lesser devices.
Are you sure? Modules add additional runtime and startup overhead. Classloading has always been lazy so if anything your footprint would be bigger. Not to mention the additional runtime checks. Sure you could build a smaller JDK but you'll likely depend on the java.desktop module anyway even for server applications. You may safe a few megabytes on disk because you may not need the cobra and some other small modules but I don't see how this makes a big difference.