This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] symbol lookup cache
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Doug Evans <dje at google dot com>
- Cc: gdb-patches <gdb-patches at sourceware dot org>, Joel Brobecker <brobecker at adacore dot com>
- Date: Thu, 4 Dec 2014 20:28:19 +0100
- Subject: Re: [RFC] symbol lookup cache
- Authentication-results: sourceware.org; auth=none
- References: <yjt2y4qrlqwa dot fsf at ruffy dot mtv dot corp dot google dot com> <20141204191559 dot GA10848 at host2 dot jankratochvil dot net> <CADPb22R=t1AOhb2+YmFfsH2hVphAVHifV1b7kD-jZZD4J_ARHA at mail dot gmail dot com>
On Thu, 04 Dec 2014 20:24:28 +0100, Doug Evans wrote:
> On Thu, Dec 4, 2014 at 11:15 AM, Jan Kratochvil <jan.kratochvil@redhat.com> wrote:
> > "Accelerate lookup_symbol_aux_objfile 85x" is so fast in a fraction of second
> > because it traverses 146426 symtabs. So 146426 is OK but 1979341 was not (it
> > was in some way more than 1979341 before you refactored symtabs).
>
> Just to make sure I understand correctly, the 85x is dwz-specific, right?
Yes, all my numbers are DWZ specific, I have not tested what/if effect it has
for non-DWZ inferiors.
Jan