Date: prev next · Thread: first prev next last
2018 Archives by date, by thread · List index




On 2018/06/27 12:35 AM, Thorsten Behrens wrote:

Tangential question: anybody aware of something to prevent gdb from
trying to load _all_ symbols? The VS debugger is much more frugal
there initially.


There is low hanging fruit in the main gdb load path. It inits memory with zeros and then overwrites it. (Not immediately either, it zeros tons of RAM and then comes back and overwrites it later, in the most cache-unfriendly manner possible).
Which is a lot of time when it's loading tons of symbols.

But when I reported that to the gdb devs, I was told to recompile gdb with another allocator 
(jemalloc maybe?)

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.