In C (resp. C++), it is possible to allocate arrays, structures, (resp. objects) which are strictly local to a function (resp. method) in the stack frame allocated for this function.
However, in java, all objects are allocated on the heap, even objects which are completely local to a method and are never leaked outside the method.
In some cases, being able to allocate such objects on the stack rather than the heap would provide great efficiency gains.
Does RoboVM code generation support this, or could it support this in the future?
Regards