On 4/13/07, Oleg Kobchenko <[EMAIL PROTECTED]> wrote:
In C runtime library malloc/free use private local heaps
which are local to module--not process. So if client code
and J DLL both use the same CRT DLL, then it's OK.
But I doubt it, especially in Unix, where each application
tends to link libraries statically to avoid compatibility
issues.

To see it in action, in Visual Studio, create a solution
...

Under unix, malloc/free (as well as other address space
manipulation mechanisms, such as mmap) manage
per-process memory, not per-module memory.

FYI,

--
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to