3 ms·
Having worked with Java GC it's just a nightmare to tune. I prefer languages that have almost no options for GC tuning.
by Thaxll 9y ago
Having worked with Java GC it's just a nightmare to tune. I prefer languages that have almost no options for GC tuning.
- rrampage 9y agoOn Java 8+, you can use G1 GC which has very few knobs. On the other hand, CMS GC has a lot of knobs you can tune depending on your workload. JVM (Hotspot in this case) believes in flexibility over a one-size fits all. YMMV.
- stmw 9y agoIn other words, there are actually knobs that have you choose the GC, and then choose settings within the GC.
- erik_seaberg 9y agoTuning is a hassle, but when the alternative is rewriting my important code over and over until I hit the right tradeoff between fast and readable, I'll take it.