[heap] Optimize ParkedMutexGuard
We do not need to park/unpark when we can acquire the lock without blocking. Bug: v8:10315, chromium:1218318 Change-Id: I7909936531ffe83087182d50e759113a9305fbcf Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2953287 Commit-Queue: Dominik Inführ <dinfuehr@chromium.org> Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Cr-Commit-Position: refs/heads/master@{#75097}
Showing
Please
register
or
sign in
to comment