This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Memory management in Cygwin


On Sun, 19 Mar 2000, Alex wrote:

> I'm interested to know if C/C++ compilers in Cygwin somehow optimize
> memory allocation/deallocation routines like getting large blocks from
> OS and then redistributing small portions to the program.
> Thanks for help!

It's not the compilers, but rather the runtime that manage the memory
pools, and yes, Cygwin's memory manager does do pool optimization just
like every other `malloc' package out there.

Cygwin's malloc is based on, as far as I can tell, Doug Lea's public
domain implementation. See his homepage http://g.oswego.edu/index.html
for the design document (go down to the "Software" section).

Regards,
Mumit



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]