On 03/27/2015 09:26 AM, Jan Hubicka wrote:
Hi,
I notieced that GGC hash tables are now accounted to hash-table.h:alloc_entries
that is not very informative (we do not have any stats for heap hash tables that
would be nice to have).
This patch fixes the first problem by adding annotations. OK (perhaps for next
stage1?)
Bootstrapped/regtested x86_64-linux with and without gathering stats.
Honza
* hash-table.c (hash_table constructor): Add mem stats.
(alloc_entries): Likewise.
OK for the trunk.
jeff