Hacker News new | ask | show | jobs
by imtringued 2285 days ago
You can't "write around" the GC in Java. The JVM will reach the max heap size quickly unless you avoid all allocations.
1 comments

There are plenty of GC enabled systems programming languages that offer all C++ set of features for memory allocations, besides the GC.

Java isn't one of them, at least until Valhalla comes along.

Still there are Java APIs for off GC heap allocation, which bypass that limitation.