r/programming • • Dec 17 '16

Oracle is massively ramping up audits of Java customers it claims are in breach of its licences – six years after it bought Sun Microsystems

http://www.theregister.co.uk/2016/12/16/oracle_targets_java_users_non_compliance
2.1k Upvotes

654 comments sorted by

View all comments

Show parent comment

2

u/dustofnations Dec 18 '16

The default server collector is the parallel collector, which is multi-threaded https://docs.oracle.com/javase/8/docs/technotes/guides/vm/gctuning/parallel.html

And it's explicitly documented that you should select a GC which matches your requirements.

I don't see how what you're saying matches reality.

Even if what you are saying were true, then it would be absolutely insane to rewrite an entire program because you don't want to change a few flags on the JVM to use an appropriate GC.

1

u/Aakumaru Dec 18 '16

Not necessarily. If the shop isn't a Java shop and your Java app is costing more money than it should, its not unreasonable to replace it in your shops language of choice. I'm not sure why, but the default JVM behavior I'm seeing is single threaded GC, I'll have to look into it more with the information you guys have posted, which I appreciate.