• Dominik Inführ's avatar
    Revert "[heap] Avoid ParkedMutexGuard during allocation" · 29d861ec
    Dominik Inführ authored
    This reverts commit 273f4e42.
    
    Reason for revert: Based on another need that needs to be reverted because of TSAN failures.
    
    Original change's description:
    > [heap] Avoid ParkedMutexGuard during allocation
    > 
    > Since main thread allocation does not start incremental marking anymore
    > while holding allocation_mutex_, background allocation does not need
    > ParkedMutexGuard anymore to avoid deadlocks.
    > 
    > This also means background thread allocation isn't paused anymore to
    > perform a GC, which already resulted in subtle bugs (e.g. in
    > ExpandBackground with incremental marking). We also do not
    > stop-the-world anymore while holding allocation_mutex_.
    > 
    > Bug: v8:10315
    > Change-Id: Iadf00bc26434c765722b82a10497ab06151f15cc
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2289771
    > Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
    > Commit-Queue: Dominik Inführ <dinfuehr@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#68754}
    
    TBR=ulan@chromium.org,dinfuehr@chromium.org
    
    Change-Id: I3a16c13626c891e8063564fc05fd2d3fc427d159
    No-Presubmit: true
    No-Tree-Checks: true
    No-Try: true
    Bug: v8:10315
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2289975Reviewed-by: 's avatarDominik Inführ <dinfuehr@chromium.org>
    Commit-Queue: Dominik Inführ <dinfuehr@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#68761}
    29d861ec
Name
Last commit
Last update
build_overrides Loading commit data...
custom_deps Loading commit data...
docs Loading commit data...
gni Loading commit data...
include Loading commit data...
infra Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
third_party Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.clang-tidy Loading commit data...
.editorconfig Loading commit data...
.flake8 Loading commit data...
.git-blame-ignore-revs Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gn Loading commit data...
.vpython Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
COMMON_OWNERS Loading commit data...
DEPS Loading commit data...
ENG_REVIEW_OWNERS Loading commit data...
INFRA_OWNERS Loading commit data...
INTL_OWNERS Loading commit data...
LICENSE Loading commit data...
LICENSE.fdlibm Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
MIPS_OWNERS Loading commit data...
OWNERS Loading commit data...
PPC_OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
S390_OWNERS Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...