• Ulan Degenbaev's avatar
    [heap] Fix regressions in the configuration without concurrent marking · fbd3834e
    Ulan Degenbaev authored
    Building and running tests with v8_enabled_concurrent_marking=false
    currently produces two failures:
    1) Segmentation fault on attempt to mark a read-only object.
       This is fixed by changing MarkBit::Set to be a no-op if the object
       is already marked (which is the case for the readonly space).
    2) Missing write-barrier due to bogus condition in the bailout.
       The barrier can be skipped only if the host object is not marked yet.
    
    This also disables two concurrent allocation tests that rely on
    concurrent marking write-barrier.
    
    Bug: v8:10875
    
    Change-Id: Ib3a238fc34c8f20c697470e0bd4ac427fb4bdc0e
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2421816Reviewed-by: 's avatarDominik Inführ <dinfuehr@chromium.org>
    Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#70041}
    fbd3834e
Name
Last commit
Last update
..
heap-tester.h Loading commit data...
heap-utils.cc Loading commit data...
heap-utils.h Loading commit data...
test-alloc.cc Loading commit data...
test-array-buffer-tracker.cc Loading commit data...
test-compaction.cc Loading commit data...
test-concurrent-allocation.cc Loading commit data...
test-concurrent-marking.cc Loading commit data...
test-embedder-tracing.cc Loading commit data...
test-external-string-tracker.cc Loading commit data...
test-heap.cc Loading commit data...
test-incremental-marking.cc Loading commit data...
test-invalidated-slots.cc Loading commit data...
test-iterators.cc Loading commit data...
test-lab.cc Loading commit data...
test-mark-compact.cc Loading commit data...
test-memory-measurement.cc Loading commit data...
test-page-promotion.cc Loading commit data...
test-spaces.cc Loading commit data...
test-unmapper.cc Loading commit data...
test-weak-references.cc Loading commit data...
test-write-barrier.cc Loading commit data...