• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java 8 Virtual Machine

 
Tyler Lusk
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are these flags necessary for a Java 8 Virtual machine ?
 
Tim Cooke
Sheriff
Posts: 3291
153
Clojure IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nope. What makes you think they are necessary?
 
Tyler Lusk
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tim Cooke wrote:Nope. What makes you think they are necessary?


All the supposed "experts" on the minecraft forum said those flags are absolutely essential especially the Incremental GC setting. Thanks! I thought I read somewhere Java 8 does all that automatically anyway.
 
Tim Cooke
Sheriff
Posts: 3291
153
Clojure IntelliJ IDE Java
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Perhaps they are 'essential' for getting the best out of a minecraft application. But that doesn't mean they are the best for all other applications. JVM tuning is a worth while activity but there's no 'one size fits all' config that works for every application.
 
Tyler Lusk
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here was his reference...
No, CMS is the recommended GC engine for Minecraft (as in EVERYONE should be using it).

What's deprecated is Incremental Mode, but only due to it being rarely used.
See more about CMS here: http://www.oracle.com/technetwork/java/javase/gc-tuning-6-140523.html#cms

I-CMS is actually still my recommendation for Minecraft. It's designed to keep GC pauses to bare minimum timings, which helps not cause 'spikes' of lag to your users.

Then any TPS lost due to these GC intervals should be caught up by my catch-up system, so it makes performance stable.

His flags are recommended until Java9, then well just have to live with normal CMS.
 
Tyler Lusk
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I see now he referenced a Java 6 document when he clearly new I was discussing Java 8. Ugh!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!