Re: Heap allocation
From: James Antill (james-netnews_at_and.org)
Date: 09/01/04
- Next message: Barry Margolin: "Re: What is select()'s exception set used for?"
- Previous message: Jo: "Developing a server receiving multiple sockets"
- In reply to: asm: "Heap allocation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 01 Sep 2004 12:20:13 -0400
On Wed, 01 Sep 2004 02:23:46 -0700, asm wrote:
> Hi All,
>
> When a process allocates dynamic storage by making a call
> to malloc(), does it get allocated from a per process heap
> or a system wide heap?
malloc() is an API), it can be implemented in a number of ways, for
instance hoard[1] implements it one way ... Solaris another way[2], glibc
another way[3]. There are more than a few comparisons.
[1] http://www.cs.umass.edu/~emery/hoard/
[2] http://docs.sun.com/?q=malloc&p=/doc/816-0213/6m6ne385r&a=view
http://docs.sun.com/db/doc/816-0213/6m6ne37qu?a=view
[3] http://gee.cs.oswego.edu/dl/html/malloc.html
-- James Antill -- james@and.org Need an efficient and powerful string library for C? http://www.and.org/vstr/
- Next message: Barry Margolin: "Re: What is select()'s exception set used for?"
- Previous message: Jo: "Developing a server receiving multiple sockets"
- In reply to: asm: "Heap allocation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|