logoalt Hacker News

antonhag • today at 4:41 PM • 1 reply • view on HN

Lower overhead yes - but G1 should have shorter pauses. And shorter pauses is probably worth it unless you run only background jobs in your jvms.


Replies

cogman10 • today at 5:52 PM

Lower CPU and Memory overhead.

Serial will be your best choice if your app is constantly using 100% of that core or if you need to minimize the amount of memory overhead.

G1 is a better choice if you can be flexible with your memory and if you have a lot of periods in your app where it's below 100% CPU usage (maybe a lot of IO).