-
Shu-yu Guo authored
Due to shared GCs it's easy to accidentally deadlock V8 by forgetting to park a thread before blocking. This CL does the following: - Adds ParkingConditionVariable and ParkingSemaphore, which hide the Wait[For] methods in favor of ParkedWait[For], which parks the thread before blocking the thread. - Migrate to the Parking* variants in JS shared memory tests. Bug: v8:11708 Change-Id: I6d1b2b26a05e7df0a69a1614c03308f538a8782f Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3708017Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Commit-Queue: Shu-yu Guo <syg@chromium.org> Cr-Commit-Position: refs/heads/main@{#81225}
8b8e044f
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
js-atomics-mutex-unittest.cc |