Mail Archives: djgpp-workers/2003/06/18/01:09:48
"Mark E." wrote:
>
> > memalign is supported by glibc. So is the function valloc,
> > which uses memalign. I'm assuming that they were added to DJGPP
> > for compatibility with
>
> valloc and memalloc were added because at the time g++'s internal
> garbage collector required either valloc or mmap. I also seem to
> remember that around that time valloc or mmap became a requirement
> for gnu smalltalk.
Here is *another* new item or three. What are valloc and
memalloc? What is mmap? If I knew these things in advance it
might be easier to allow for them. For example, nmalloc has a
compile time equate to install a guard word. This could be
reorganized to provide 32 bits of flags, usage counters, etc.
without changing anything but the overhead. I have no idea
whether this would facilitate all those things, but it was cut out
in order to reduce the usual memory load. A heavily reworked
system might even supply 31 bits without increasing overhead.
The specification sands are sifting.
--
Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT worldnet DOT att DOT net)
Available for consulting/temporary embedded and systems.
<http://cbfalconer.home.att.net> USE worldnet address!
- Raw text -