Every time I have a conversation with a JVM GC developer I learn something. Hard not to come to the conclusion that Java is way ahead of everyone else.
-
Show this thread
-
Replying to @pcwalton
They need to be light years ahead of everyone else because they lean so hard on JITing. Despite their advances, and the fact that they claim to care, the JVM still starts incredibly slowly and uses TONS of memory to get those GC wins.
2 replies 0 retweets 24 likes -
And yes, that is a real cost and operational issue (I say as a person who works with a large Java codebase as a critical piece of infrastructure)
1 reply 0 retweets 11 likes -
just to be sure, you are talking about Hotspot / openjk? If these points are important, there's other vm with other trade-off. Openj9 starts faster and comsume less memory (depending of your app, perf profil will be different). Graal can produce native binaries with fast startup
1 reply 0 retweets 2 likes -
Indeed. For us, using OpenJ9 and ditching Spring was enough to reduce memory usage to a level comparable with other runtimes, e.g. Node.
1 reply 0 retweets 4 likes -
But then these claims of magical garbage collectors and performance far ahead of everyone else evaporate.
2 replies 0 retweets 2 likes
They aren’t magical…GC is fundamentally a tradeoff.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.