fixed address objects (was Calling straight C code)

Markus Kohler markus_kohler at hp.com
Wed Mar 10 09:28:35 UTC 1999


Raab, Andreas wrote:
> 
> Tim,
> 
> > A _much_ better solution would be to find some way to convince Windows to
> > return memory chunks with higher addresses. Does anyone know of a
> > practical way
> > to do that? In the older code, someone had solved the improper freeing
> > problem
> > by setting the lock flag for each chunk, and so it made a fairly drastic
> > memory
> > leak - but it didn't blow up. :-)
> >
> I can do this - all I'd have to do is to dig up the GNU (or some other)
> malloc implementation that allows me to supply a custom sbrk().

I would can recommend Doug Leas malloc : http://g.oswego.edu/.
It's a mature implementation with a good performance. It beats the HP-UX
malloc easily :-O

Markus

-- 
Markus Kohler  mailto:markus_kohler at hp.com





More information about the Squeak-dev mailing list