This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug macros/16233] New: possible memory optimization in macro reader


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]