Re:Performance of modern Java on data-heavy workloads
by shellac on Tuesday June 09, 2020 @09:04AM
(#23466296)
On G1 you used to be able to use `-XX:+UseStringDeduplication`, which gives you back something like the string sharing used pre-whatever it was (8?).
[ Parent
| on HN ]
Re:Performance of modern Java on data-heavy workloads
by this_user on Tuesday June 09, 2020 @10:14AM
(#23466829)
If you are looking to do low latency, then G1 isn't the best choice these days, though. Shenandoah or ZGC are both more advanced algorithms that can greatly reduce the pauses caused by GC activity.
Re:Performance of modern Java on data-heavy workloads
by ec109685 on Tuesday June 09, 2020 @11:01AM
(#23467220)
The article compares garbage collectors and with its workloads, Shenandoah had worse throughput, so it depends.
Re:Performance of modern Java on data-heavy workloads
by nicktelford on Tuesday June 09, 2020 @09:10AM
(#23466335)
That appears to still be an option, see the last line of: https://docs.oracle.com/en/java/javase/14/gctuning/garbage-f...