This is the mail archive of the gdb@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]

Re: Bad performance in updating JIT debug symbols


On Sat, Sep 17, 2016 at 2:43 PM, Fredrik Tolf <fredrik@dolda2000.com> wrote:
> On Sat, 17 Sep 2016, Duane Ellis wrote:
>>
>> So why not make a wrapper on the symbol lookup function
>>
>> Search the main list if that fails to find try the next list of syms.
>>
>> After you under 100 inserts resort your additional list. And start a new
>> list
>
>
> I can imagine a lot of ways to optimize the current code, but the main point
> was that GDB seems to be stuck in a path of the code that is not really
> intended to be used other than when GDB is "confused", so the main question
> is why that happens.

Ref https://sourceware.org/ml/gdb/2016-03/msg00038.html

With some of my profiles and a patch that helps somewhat (there's
still bad scaling) but also cause functional regression.


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