Re:Malloc envy
by lmm on Monday April 04, 2016 @06:52PM
(#11426383)
This is probably not a very productive conversation to have, but that simply doesn't match my experience - and frankly a system with "all kinds of performance problems" sounds like incompetence. Short-lived garbage does not cause pauses (GC in a modern JVM can be concurrent, it's only fragmentation that causes pauses), and long-lived garbage generally doesn't need to exist (that's workload-dependent - but the kind of workload where it's important is the kind of workload that's impossible to write without GC). Holding onto objects for longer than they need to live certainly happens, but that's the same problem you have in a non-GC language, and if anything it's easier to diagnose on the JVM which has some excellent tooling around monitoring these things.
[ Parent
| on HN ]
Re:Malloc envy
by chetanahuja on Monday April 04, 2016 @07:39PM
(#11426667)
and frankly a system with "all kinds of performance problems" sounds like incompetence
long-lived garbage generally doesn't need to exist
Wonderful. It's not the GC it's you who's incompetent. Or maybe you're competent, but your app simply doesn't really need to exist. A more complete shit-HN-says comment I couldn't find if I went searching for it.