GC in Java is the best in world with a lot options and knobs that allows to tune to particular application requirements. Still some trading platforms using it disable GC and just ensure enough memory is available so memory leaks during the trading hours would not matter before the application will be restarted.
[–] fpoling 8 hours ago
[–] pjmlp 6 hours ago
Yet one still needs to account with processes like MISRA to account for safety.