Memory management in Cygwin

Alex alexx@inbox.lv
Wed Mar 22 09:52:00 GMT 2000


Mumit Khan wrote:
> On 2000年3月19日, 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

 Thanks for help, but it still isn't clear for me, how the memory management
is done in the programs compiled in Cygwin. How about executables build with
-mno-cygwin option? As I know they don't use any runtime libraries. Does the
linker put memory optimization code in them?
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /