[PATCH v3 0/2] Write DWARF index cache files in background
Simon Marchi
simark@simark.ca
Fri Feb 24 21:44:34 GMT 2023
On 2/24/23 13:46, Tom Tromey via Gdb-patches wrote:
>>>>>> "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
I started seeing this, I guess it's related:
FAIL: gdb.base/index-cache.exp: test_cache_enabled_miss: at least one file was created
FAIL: gdb.base/index-cache.exp: test_cache_enabled_miss: expected file is there
Simon
More information about the Gdb-patches
mailing list