[Webkit-unassigned] [Bug 147841] New: Convert all locking and condition variables in WebKit to use fast ParkingLot-based locks and condition variables
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Aug 10 14:03:01 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=147841
Bug ID: 147841
Summary: Convert all locking and condition variables in WebKit
to use fast ParkingLot-based locks and condition
variables
Classification: Unclassified
Product: WebKit
Version: 528+ (Nightly build)
Hardware: All
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: Web Template Framework
Assignee: webkit-unassigned at lists.webkit.org
Reporter: fpizlo at apple.com
The grand plan is:
- Make Lock use atomic increments on the fast path and ParkingLot on the slow path. This will make the fast path a lot better and will reduce the memory usage of Lock.
- Give Lock and ByteLock the ability to act as their own condition variables.
- Create a separate Condition that uses one byte and some ParkingLot magic, for those cases where a separate condition variable is needed.
Then we can remove all uses of std::mutex, std::condition_variable, WTF::Mutex, and WTF::ThreadCondition.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150810/e5ce6f81/attachment-0001.html>
More information about the webkit-unassigned
mailing list