• Ali Ijaz Sheikh's avatar
    [heap] make allocation_step_in_progress_ a heap property · 203e5916
    Ali Ijaz Sheikh authored
    Don't start new steps recursively if a step is already in progress.
    Having this property on a space is not sufficient, as an allocation
    is a global (heap-wide) event. Computing the next step size, for example
    is a property of all observers in existence rather than the spaces in
    existence.
    
    In this case a failure was due to the fact that we attempted to compute
    the next step size while a given observer was mid-way through its step
    triggered from a different space. bytes_to_next_step_ was partially
    updated at that point.
    
    BUG=v8:7313
    
    Change-Id: Iaf632fce2cfd5ed49b0f41a69c3694e505e17d81
    Reviewed-on: https://chromium-review.googlesource.com/887174
    Commit-Queue: Ali Ijaz Sheikh <ofrobots@google.com>
    Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#50909}
    203e5916
Name
Last commit
Last update
benchmarks Loading commit data...
build_overrides Loading commit data...
docs Loading commit data...
gni Loading commit data...
gypfiles 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...
.editorconfig Loading commit data...
.git-blame-ignore-revs 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...
ChangeLog Loading commit data...
DEPS 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...
Makefile Loading commit data...
Makefile.android Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...
snapshot_toolchain.gni Loading commit data...