5 ms·
There are so many other factors that ultimately determine GC performance. The GC must be tuned based on the workload. For instance, the out of the box defaults
by kilink 11y ago
There are so many other factors that ultimately determine GC performance. The GC must be tuned based on the workload. For instance, the out of the box defaults for things like newRatio [1] are not ideal for web services with lots of short-lived objects.
[1] https://blogs.oracle.com/jonthecollector/entry/the_second_most_important_gc https://blogs.oracle.com/jonthecollector/entry/the_second_mo...
- eivindw 11y agoYes, choice of collector is just one of many tuning options. Point is you need to log and measure your own app for every change you make.