This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Memory management in Cygwin
- To: Alex <alexx at inbox dot lv>
- Subject: Re: Memory management in Cygwin
- From: Mumit Khan <khan at NanoTech dot Wisc dot EDU>
- Date: Sun, 19 Mar 2000 16:27:04 -0600 (CST)
- cc: cygwin at sourceware dot cygnus dot com
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