-
Marja Hölttä authored
The deadlock occurs because of cyclical "first mutex1, then mutex2" mutex locking patterns between 3 mutexes: the futex-emulation mutex, the gc mutex and the isolate break_access mutex. The fix is to not allocate memory while holding the futex-emulation mutex. This breaks the cycle. Bug: v8:10239, v8:10800 Change-Id: Ifbb693549a28db11d8affc56de0bbed3ef0dd701 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2356345Reviewed-by: Shu-yu Guo <syg@chromium.org> Reviewed-by: Ulan Degenbaev <ulan@chromium.org> Commit-Queue: Marja Hölttä <marja@chromium.org> Cr-Commit-Position: refs/heads/master@{#69434}
615a355e