forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1752870 - Multiple-reader/single-writer ExclusiveData variant. r=…
…jonco The indirect stubs code needs to take a lock on the lazy stub tier when mapping back from code pointer to function index during a Table::get on a table of funcref. This code is amazingly hot in one large wasm application and is almost unusable because of lock contention caused by this lookup. However, the tier tables are mostly stable at this point and parallel lookups are fine, so we need to allow for multiple readers. The easiest way to do this is by using a multi-reader/single-writer ExclusiveData variant, introduced here. Differential Revision: https://phabricator.services.mozilla.com/D137516
- Loading branch information
Lars T Hansen
committed
Feb 2, 2022
1 parent
acc20a5
commit 7e909fb
Showing
5 changed files
with
164 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters