Thread overview
Allocation trace
Jun 26, 2017
Shachar Shemesh
Jun 27, 2017
sarn
June 24, 2017
Hello, does anyone have traces of allocations from real applications? Looking for the sequence of calls to malloc, realloc, and free, e.g.:

0 malloc 128
1 malloc 8192
2 malloc 32
3 free 1
...


Thanks,

Andrei
June 26, 2017
I'm assuming you're looking for mallocs by applications that actually use the GC, right? :-)

Shachar

On 25/06/17 01:15, Andrei Alexandrescu wrote:
> Hello, does anyone have traces of allocations from real applications? Looking for the sequence of calls to malloc, realloc, and free, e.g.:
> 
> 0 malloc 128
> 1 malloc 8192
> 2 malloc 32
> 3 free 1
> ...
> 
> 
> Thanks,
> 
> Andrei

June 26, 2017
On 6/26/17 3:20 PM, Shachar Shemesh wrote:
> I'm assuming you're looking for mallocs by applications that actually use the GC, right? :-)

Looking for more traditional C/C++ applications that free memory explicitly. -- Andrei

June 27, 2017
On Saturday, 24 June 2017 at 22:15:47 UTC, Andrei Alexandrescu wrote:
> Hello, does anyone have traces of allocations from real applications? Looking for the sequence of calls to malloc, realloc, and free, e.g.:
>
> 0 malloc 128
> 1 malloc 8192
> 2 malloc 32
> 3 free 1
> ...
>
>
> Thanks,
>
> Andrei

On *nix systems, you can use ltrace to generate this pretty easily.