v8/test/cctest/heap
Ulan Degenbaev 889b27b8da [heap] Add a simple implementation of Heap::IsPendingAllocation
The new predicate allows a background thread to check if the given
object was recently allocated and may potentially be unsafe to read
from the background thread.

The current implementation has relatively high overhead as it loads
two pointers per heap space. It will be optimized in the future.

Bug: v8:11148

Change-Id: I2a9dfb2c70de4b8214b8f8a35681a8bab1a63ca8
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2532296
Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
Reviewed-by: Dominik Inführ <dinfuehr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#71130}
2020-11-11 17:45:18 +00:00
..
heap-tester.h Reland "Reland "[deoptimizer] Change deopt entries into builtins"" 2020-10-21 06:01:38 +00:00
heap-utils.cc [test] Tests should only invoke NewSpace::Grow in safepoint 2020-09-24 16:14:10 +00:00
heap-utils.h [test] Tests should only invoke NewSpace::Grow in safepoint 2020-09-24 16:14:10 +00:00
test-alloc.cc [factory] Remove unneeded JSFunctionBuilder::set_map calls 2020-11-11 10:46:18 +00:00
test-array-buffer-tracker.cc [cleanup][wasm] Replace min/max with std::min/std::max 2020-11-09 01:50:30 +00:00
test-compaction.cc [heap] Delay OOM during GC until NearHeapLimitCallback is invoked 2020-10-29 20:00:56 +00:00
test-concurrent-allocation.cc [heap] Fix flaky test failure in concurrent allocation 2020-11-03 12:48:16 +00:00
test-concurrent-marking.cc [heap] Split ConcurrentMarking::Stop and update priority 2020-10-23 15:57:50 +00:00
test-embedder-tracing.cc global-handles: Fix ASAN fake stack handling 2020-10-30 13:56:36 +00:00
test-external-string-tracker.cc Reland^2 "[heap] Move start of incremental marking in allocation" 2020-07-14 12:07:34 +00:00
test-heap.cc [heap] Add a simple implementation of Heap::IsPendingAllocation 2020-11-11 17:45:18 +00:00
test-incremental-marking.cc Disable --stress-concurrent-allocation for tests that change free lists 2020-09-03 11:15:39 +00:00
test-invalidated-slots.cc [factory] Remove deprecated JSFunction ctors 2020-11-11 06:12:35 +00:00
test-iterators.cc Reland "[heap] Make ReadOnlySpace use bump pointer allocation" 2020-06-18 11:48:38 +00:00
test-lab.cc [torque] Use generated instance types, part 1 2019-10-28 18:30:31 +00:00
test-mark-compact.cc [factory] Remove deprecated JSFunction ctors 2020-11-11 06:12:35 +00:00
test-memory-measurement.cc [factory] Remove deprecated JSFunction ctors 2020-11-11 06:12:35 +00:00
test-page-promotion.cc [test] Tests should only invoke NewSpace::Grow in safepoint 2020-09-24 16:14:10 +00:00
test-spaces.cc [cleanup] Remove DISALLOW_COPY_AND_ASSIGN in test/{cctest,fuzzer,inspector} 2020-11-10 01:24:43 +00:00
test-unmapper.cc [test]: Fix platform lifetime in EagerUnmappingInCollectAllAvailableGarbage. 2020-10-28 09:12:05 +00:00
test-weak-references.cc Reland "Reland "[deoptimizer] Change deopt entries into builtins"" 2020-10-21 06:01:38 +00:00
test-write-barrier.cc [heap] Consolidate marking write barrier logic in MarkingBarrier 2020-07-07 10:34:37 +00:00