3 ms·
For anyone else wondering, "holy crap, WTF does -client do?" here you go: https://stackoverflow.com/a/198651/931209 https://stackoverflow.com/a/198651/931209 A
by rubyn00bie 7y ago
For anyone else wondering, "holy crap, WTF does -client do?" here you go: https://stackoverflow.com/a/198651/931209 https://stackoverflow.com/a/198651/931209
And to save folks a click:
> The Client VM compiler does not try to execute many of the more complex optimizations performed by the compiler in the Server VM, but in exchange, it requires less time to analyze and compile a piece of code. This means the Client VM can start up faster and requires a smaller memory footprint.
There's literally so many just insane things about the JVM and its variants, I totally get why some folks are like "JAVA OR DEATH." I just wish I had started learning it 20 years ago, like a lot of 'em, so it wasn't such a gigantic wall of pedantic knowledge to acquire.
- jimbo1qaz 7y ago> A 64-bit capable JDK currently ignores this option and instead uses the Java Hotspot Server VM.
- stingraycharles 7y agoThis is an extremely important detail, as I expect pretty much everyone to run the 64bit version of the JVM.