v8/test/cctest/heap
Pierre Langlois b152bb75f8 [heap] Relax accessing markbits in ranges.
When calling the `bitmap(chunk)` method of the various *MarkingState accessors
we would receive a raw `Bitmap` pointer which does not tell you if accesses to
markbits should be made atomically or not. As a result, we would default to
doing atomic operation when in fact it may not be necessary.

Here we're introducing a templated `ConcurrentBitmap` class that wraps
operations done on the markbits and allows them to be made non-atomic.

Additionaly, some of the `Bitmap` methods were only used to verify the heap and
in the tests so they do not need atomic implementations. Using them in a
concurrent context should now fail to link to make sure they're not mis-used in
the future.

Change-Id: Ifb55f8522c8bf0c87d65da9227864ee428d21bbd
Cq-Include-Trybots: luci.v8.try:v8_linux64_tsan_rel
Reviewed-on: https://chromium-review.googlesource.com/c/1482916
Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
Commit-Queue: Pierre Langlois <pierre.langlois@arm.com>
Cr-Commit-Position: refs/heads/master@{#59836}
2019-02-25 15:28:41 +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 [cleanup] #include heap-inl.h less often 2019-02-15 06:22:53 +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 [cleanup] #include heap-inl.h less often 2019-02-15 06:22:53 +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] Relax accessing markbits in ranges. 2019-02-25 15:28:41 +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 Reland "Change SetProperty/SetSuperProperty to infer language mode when possible" 2019-01-24 16:57:23 +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