3 ms·
The GC pauses locking entire JVM for several seconds are indeed a concern for many application classes, financial exchanges included. Exactly for this purpose e
by ivom2gi 11y ago
The GC pauses locking entire JVM for several seconds are indeed a concern for many application classes, financial exchanges included. Exactly for this purpose even designated JVMs are built, Azul for example is providing a pauseless JVM which is able to handle the garbage collection concurrently. Or if the JVM migration itself is not possible, other solutions, such as tuning the application to avoid Full GC entirely or using off-heap allocations for big data structures are used.
- pkolaczk 11y agoI've been using G1 for quite a long now and it doesn't do a major stop the world GC, unless in some very extreme theoretical situations I've never encountered yet. However sub-10-millisecond pause targets are still a challenge, but there is a lot of progress in this area still being made.