3 ms·
It says this in the presentation. It uses native malloc/free and it can allocate memory on the stack. So - not garbage collected. However, they are interested
by mike_hearn 11y ago
It says this in the presentation. It uses native malloc/free and it can allocate memory on the stack. So - not garbage collected.
However, they are interested in changing this so that programs compiled to LLVM can benefit from the additional safety of bounds checking and GC. They've already done this when running C (source code) on Graal/Truffle and the perf hit was manageable.
Note that you can already write Java that does manual memory allocation and other non-safe things, and quite a lot of popular Java libraries do exactly that to boost performance.