Mac Intel

Bjorn Gustavsson bjorn@REDACTED
Mon Aug 14 09:21:54 CEST 2006

"Bob Ippolito" <bob@REDACTED> writes:

> One common cause of this is attempting to use the realloc() call in
> hopes of shrinking a large allocation. That does not ever happen on
> Mac OS X. realloc(ptr, N) where N is <= size currently allocated is
> always a no-op (no other VM does this "optimization" to my knowledge).
> If you download the libc source from Apple and look at the
> implementation it's pretty clear that this is the case.

Thanks! That is useful to know.


Björn Gustavsson, Erlang/OTP, Ericsson AB

More information about the erlang-questions mailing list