From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 94820 invoked by alias); 13 Apr 2015 13:35:17 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 94809 invoked by uid 89); 13 Apr 2015 13:35:16 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 13 Apr 2015 13:35:16 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t3DDZECi029244 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 13 Apr 2015 09:35:15 -0400 Received: from localhost.localdomain (ovpn-113-99.phx2.redhat.com [10.3.113.99]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t3DDZDx4011450; Mon, 13 Apr 2015 09:35:13 -0400 Message-ID: <552BC611.8070906@redhat.com> Date: Mon, 13 Apr 2015 13:35:00 -0000 From: Jeff Law User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Jan Hubicka , gcc-patches@gcc.gnu.org Subject: Re: Fix detailed mem report WRT hash tables References: <20150327152606.GE63825@kam.mff.cuni.cz> In-Reply-To: <20150327152606.GE63825@kam.mff.cuni.cz> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2015-04/txt/msg00585.txt.bz2 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