3 ms·
in Java you can turn off the GC completely and you can also compile to native code
by blibble 2y ago
in Java you can turn off the GC completely
and you can also compile to native code
- shizzy0 2y agoYou 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 2y ago> nearly everything is written with the assumption that allocations will be cleaned up by the gc 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