public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug symtab/17961] New: MINIMAL_SYMBOL_HASH_SIZE needs to scale
@ 2015-02-12 11:27 dje at google dot com
  0 siblings, 0 replies; only message in thread
From: dje at google dot com @ 2015-02-12 11:27 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=17961

            Bug ID: 17961
           Summary: MINIMAL_SYMBOL_HASH_SIZE needs to scale
           Product: gdb
           Version: HEAD
            Status: NEW
          Keywords: performance
          Severity: normal
          Priority: P2
         Component: symtab
          Assignee: unassigned at sourceware dot org
          Reporter: dje at google dot com

I was profiling gdb trying to see why "break (anonymous namespace):foo" was
slow.
The problem turned out to be due to a couple of reasons.

One of them is that this program is big.
Big as in "nm $binary | wc" shows ~4M symbols.

Currently MINIMAL_SYMBOL_HASH_SIZE is the constant 2039.

This value needs to scale.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-02-12  1:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-12 11:27 [Bug symtab/17961] New: MINIMAL_SYMBOL_HASH_SIZE needs to scale dje at google dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).