6 ms·
Parallel. G1 will be default in 1.9. Edit: the part about 1.8 is wrong. 1.8 doesn't have a standard default.
by hyperpape 11y ago
Parallel. G1 will be default in 1.9.
Edit: the part about 1.8 is wrong. 1.8 doesn't have a standard default.
- lovelearning 11y agoNot sure what you meant in the edit, but the first sentence is correct. Hotspot 1.8 does default to Parallel collector in the absence of any explicit GC setting VM arguments. [1]: http://hg.openjdk.java.net/jdk8u/jdk8u60/hotspot/file/37240c1019fd/src/share/vm/runtime/arguments.cpp#l1569 http://hg.openjdk.java.net/jdk8u/jdk8u60/hotspot/file/37240c...
- hyperpape 11y agoThat's what I initially thought, but then looked at http://docs.oracle.com/javase/8/docs/technotes/tools/unix/java.html http://docs.oracle.com/javase/8/docs/technotes/tools/unix/ja... and confused myself.
- chrisseaton 11y agoUnrelated but I don't think there will be a Java 1.9 - it will simply be Java 9.0 http://openjdk.java.net/jeps/223 http://openjdk.java.net/jeps/223.