[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Memory Allocation Hooks
- From: skaller <skaller@...>
- Date: 13 Jan 2005 14:24:38 +1100
On Thu, 2005-01-13 at 06:47, Jay Carlson wrote:
> The three cases for the runtime hook (as opposed to a compile-time hook)
> are:
>
> 1) You want different allocators for different states
>
> 2) You want to have a single "standard" DLL or .so file to reduce the
> number of versions floating around.
>
> 3) Your program and its shared libraries can't agree which allocator to
> use. This is the Win32 problem I was mudslinging at.
also possibly
(4) testing and measuring allocations
since a hook allows you to, for example, log data
about a running program, possibly without changing
the program.
--
John Skaller, mailto:skaller@users.sf.net
voice: 061-2-9660-0850,
snail: PO BOX 401 Glebe NSW 2037 Australia
Checkout the Felix programming language http://felix.sf.net