v8/test/cctest/heap
Ulan Degenbaev 3647f758c2 [heap] Move marking bitmap into the memory chunk header
Instead allocating the bitmap with malloc, we now reserve a block
at the start of the memory chunk. This CL is a partial revert of
https://chromium-review.googlesource.com/c/v8/v8/+/1254125
Additionally it refactors field offset computation and moves them
to MemoryChunkLayout.

Having the bitmap in the memory chunk simplifies sharing of RO pages
and also solves the malloc fragmentation issues.

Bug: chromium:1073140
Change-Id: Ibc04f48921fc9496370858ce4c25c56b31c93c89
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2289979
Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
Reviewed-by: Dan Elphick <delphick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#68783}
2020-07-10 10:23:05 +00:00
..
heap-tester.h [heap] Consolidate marking write barrier logic in MarkingBarrier 2020-07-07 10:34:37 +00:00
heap-utils.cc Fix tests to work with single generation heap 2020-07-07 09:30:57 +00:00
heap-utils.h Fix tests to work with single generation heap 2020-07-07 09:30:57 +00:00
test-alloc.cc [api] Create v8::String::NewFromLiteral that returns Local<String> 2020-03-09 12:02:07 +00:00
test-array-buffer-tracker.cc Fix tests to work with single generation heap 2020-07-07 09:30:57 +00:00
test-compaction.cc [ptr-compr][ppc] Implement pointer compression 2020-05-06 19:06:32 +00:00
test-concurrent-allocation.cc [heap] Tests can now set FLAG_local_heaps from the get-go 2020-06-03 08:03:38 +00:00
test-concurrent-marking.cc [heap] Refactor marking worklists 2019-12-11 16:46:40 +00:00
test-embedder-tracing.cc Fix tests to work with single generation heap 2020-07-07 09:30:57 +00:00
test-external-string-tracker.cc Revert "[heap] Move start of incremental marking in allocation" 2020-07-09 16:55:20 +00:00
test-heap.cc Revert "[heap] Allow LocalHeap on the main thread" 2020-07-09 21:21:25 +00:00
test-incremental-marking.cc [heap] Allow enabling --local-heaps by default 2020-06-02 19:03:25 +00:00
test-invalidated-slots.cc [heap] Split out memory-chunk.h etc from spaces.h 2020-05-05 05:44:42 +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 Fix tests to work with single generation heap 2020-07-07 09:30:57 +00:00
test-memory-measurement.cc [test] Fix UAF in cctest/test-memory-measurement/RandomizedTimeout 2020-07-10 08:52:00 +00:00
test-page-promotion.cc Fix tests to work with single generation heap 2020-07-07 09:30:57 +00:00
test-spaces.cc [heap] Move marking bitmap into the memory chunk header 2020-07-10 10:23:05 +00:00
test-unmapper.cc [heap] Split out memory-allocator.h 2020-05-18 10:08:30 +00:00
test-weak-references.cc Fix tests to work with single generation heap 2020-07-07 09:30:57 +00:00
test-write-barrier.cc [heap] Consolidate marking write barrier logic in MarkingBarrier 2020-07-07 10:34:37 +00:00