[PATCH v3 0/2] Write DWARF index cache files in background

Tom Tromey tromey@adacore.com
Fri Feb 24 18:46:24 GMT 2023


>>>>> "Tom" == Tom Tromey via Gdb-patches <gdb-patches@sourceware.org> writes:

Tom> Here's v3 of the patches to write the DWARF index in the background.
Tom> v2 was here:

Tom> https://sourceware.org/pipermail/gdb-patches/2022-June/189889.html

Tom> This hides a user-noticeable pause when the feature is enabled.  (Note
Tom> that, when the feature is used in batch mode, the pause is still
Tom> seen.)

Tom> This version of the series fixes a possible race that I found in v2.
Tom> Essentially, the index-writing background job must be started after
Tom> all the finalization tasks have started.  There's a comment in the
Tom> code explaining this.

I'm checking this in now.

Tom


More information about the Gdb-patches mailing list