There's another use case. Low-latency (mostly financial) applications. In most cases they are already written very carefully to use primitives where possible, not to allocate new objects, always use or reuse buffers or existing instances or use Unsafe or memory mapped files for direct memory management. For apps like that, GC mostly just gets in the way and is not really needed. Another problem apps like that deal with is JIT pauses. There's JVMs like Azul that can work around that.
Which sometimes makes me question why write them in Java in the first place, but I guess having Java still brings some advantages.
Which sometimes makes me question why write them in Java in the first place, but I guess having Java still brings some advantages.
Originally posted by cybertraveler
View Post
Comment