Thread overview | ||||||
---|---|---|---|---|---|---|
|
June 24, 2017 Allocation trace | ||||
---|---|---|---|---|
| ||||
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 Re: Allocation trace | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | 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 Re: Allocation trace | ||||
---|---|---|---|---|
| ||||
Posted in reply to Shachar Shemesh | 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 Re: Allocation trace | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | 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.
|
Copyright © 1999-2021 by the D Language Foundation