After browsing some classpath native code it seems that malloc is used
for allocating native memory. I'm not sure how portable it is between
various VMs. 
I'm afraid that in some cases it can just crash vm which manages brk by
itself. Maybe some level of indirection can be used (memory interface by
pointers, or just #defines).

Artur

Reply via email to