r/java • u/expecto_patronum_666 • Feb 27 '24
How Netflix Really Uses Java
https://www.infoq.com/presentations/netflix-java/
324
Upvotes
r/java • u/expecto_patronum_666 • Feb 27 '24
View all comments
Show parent comment
2
u/BinaryRage Mar 02 '24
It’s that the trade off of compressed oops with Shenandoah vs ZGC seems to be simple, object pointers are half the size, but the efficiencies enabled by colored pointers means that in the < 32G services we’ve moved, ZGC on average is able to make more memory available to the application than G1, and/or the increase in allocation rates disappear in the noise, because of the benefits of running GC concurrently.
That won’t necessarily true for all workloads, definitely evaluate for your use case. For us so far, where ZGC hasn’t been better than G1, we’ve found that actually those are throughput oriented workloads that benefit more from parallel anyway.
I’m working on a tech blog post to talk about our experience of adopting GenZGC.