v8/test/cctest/heap
Michael Lippautz 4c7cabb1d8 [heap] Delay embedder tracing prologue until heap is set up
v8::EmbedderHeapTracer::TracePrologue may call back into V8 during
StartMarking. In this case we expect that the write barriers are set up and
consistent, i.e., global flag matches page flag.

Blink calls back into V8 in a corner case where sweeping is finalized on
incremental marking start which may trigger resettting a V8 Value which may
trigger DescriptorArray re-shuffling.

Bug: chromium:940003
Change-Id: Ia15c798d0faaab802df1c3b569b5b6a323a4fe59
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1514492
Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
Reviewed-by: Hannes Payer <hpayer@chromium.org>
Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#60145}
2019-03-11 09:39:32 +00:00
..
heap-tester.h [heap] Activate the memory reducer on smaller heaps 2019-01-22 11:14:32 +00:00
heap-utils.cc [heap] Replace InNewSpace checks with InYoungGeneration checks 2019-02-12 10:22:51 +00:00
heap-utils.h [heap] Replace InNewSpace checks with InYoungGeneration checks 2019-02-12 10:22:51 +00:00
test-alloc.cc [heap] Introduce AllocationType and use it in Heap::AllocateRaw. 2019-03-05 12:29:30 +00:00
test-array-buffer-tracker.cc [heap] Small fixes for young large objects 2019-02-18 09:43:44 +00:00
test-compaction.cc [cleanup] #include heap-inl.h less often 2019-02-15 06:22:53 +00:00
test-concurrent-marking.cc Reland "[heap] Remove bailout marking worklist." 2019-01-18 10:04:17 +00:00
test-embedder-tracing.cc [heap] Delay embedder tracing prologue until heap is set up 2019-03-11 09:39:32 +00:00
test-external-string-tracker.cc [cleanup] #include heap-inl.h less often 2019-02-15 06:22:53 +00:00
test-heap.cc [heap] Introduce AllocationType and use it in Heap::AllocateRaw. 2019-03-05 12:29:30 +00:00
test-incremental-marking.cc v8: Fix -Wextra-semi warnings, enable warning. 2019-02-13 14:11:28 +00:00
test-invalidated-slots.cc Reland "Change SetProperty/SetSuperProperty to infer language mode when possible" 2019-01-24 16:57:23 +00:00
test-lab.cc [ubsan] Port HeapObject to the new design 2018-12-20 16:43:49 +00:00
test-mark-compact.cc [heap] Introduce AllocationType and use it in Heap::AllocateRaw. 2019-03-05 12:29:30 +00:00
test-page-promotion.cc [heap] Fix tests for young large objects 2019-02-07 11:01:20 +00:00
test-spaces.cc [cleanup] Use unique_ptr for MemoryAllocator in Heap 2019-02-15 11:53:46 +00:00
test-unmapper.cc [cleanup] Mark heap/ methods in subclasses with override. 2018-09-17 15:32:31 +00:00
test-weak-references.cc [cleanup] #include heap-inl.h less often 2019-02-15 06:22:53 +00:00