public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug macros/16233] New: possible memory optimization in macro reader
@ 2013-11-25 16:10 tromey at redhat dot com
0 siblings, 0 replies; only message in thread
From: tromey at redhat dot com @ 2013-11-25 16:10 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=16233
Bug ID: 16233
Summary: possible memory optimization in macro reader
Product: gdb
Version: HEAD
Status: NEW
Severity: enhancement
Priority: P2
Component: macros
Assignee: unassigned at sourceware dot org
Reporter: tromey at redhat dot com
Right now the macro code puts all the text of
the macros into the bcache.
However, since nothing unmaps the section data while the BFD is open,
any strings that can be used verbatim don't need to
be entered into the bcache. Instead pointers into the section
can be used directly.
This change would save some memory for -g3 objfiles.
I think at least the macro replacement text falls into this
category.
--
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:[~2013-11-25 16:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-25 16:10 [Bug macros/16233] New: possible memory optimization in macro reader tromey at redhat 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).