You can in theory turn off gc but in practice no one does this because nearly everything is written with the assumption that allocations will be cleaned up by the gc. The compiler has no switches to help you run in a non-gc’d state. At best you can control when you run the gc.
blibble|1 year ago
zero garbage Java it is relatively common in algorithmic trading
> but in practice no one does this
that's funny, I could swear we do