Bug 234750 - [GTK][a11y] Avoid going to the main thread while serializing ATSPI objects for the cache
Summary: [GTK][a11y] Avoid going to the main thread while serializing ATSPI objects fo...
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: Gtk
Depends on: 234740
Blocks: ATSPI
  Show dependency treegraph
 
Reported: 2021-12-30 04:22 PST by Carlos Garcia Campos
Modified: 2022-01-17 00:21 PST (History)
2 users (show)

See Also:


Attachments
Patch (6.88 KB, patch)
2021-12-30 04:26 PST, Carlos Garcia Campos
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Garcia Campos 2021-12-30 04:22:27 PST
We only ask the main thread for state and is defunct. We can cache the state and use an atomic member for the is defunct.
Comment 1 Carlos Garcia Campos 2021-12-30 04:26:07 PST
Created attachment 448093 [details]
Patch
Comment 2 Adrian Perez 2022-01-10 03:40:48 PST
Comment on attachment 448093 [details]
Patch

Patch looks okay, but in need of a rebase. Could you please update it?
Comment 3 Carlos Garcia Campos 2022-01-10 03:46:48 PST
Actually I forgot to update the depends on.
Comment 4 Carlos Garcia Campos 2022-01-17 00:20:52 PST
Comment on attachment 448093 [details]
Patch

Clearing flags
Comment 5 Carlos Garcia Campos 2022-01-17 00:21:25 PST
This doesn't make sense now that we don't use isolated tree.