v8/test/unittests/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
..
barrier-unittest.cc [heap] Add timeout to Scavenger barrier 2018-10-30 14:28:49 +00:00
bitmap-test-utils.h [heap] Relax accessing markbits in ranges. 2019-02-25 15:28:41 +00:00
bitmap-unittest.cc [heap] Relax accessing markbits in ranges. 2019-02-25 15:28:41 +00:00
embedder-tracing-unittest.cc [heap] Reland improvements for embedder tracing 2018-11-26 17:44:10 +00:00
gc-idle-time-handler-unittest.cc [heap] Simplify idle notification handler 2019-02-21 12:25:52 +00:00
gc-tracer-unittest.cc [heap] Add GC sum counters 2018-10-17 19:42:30 +00:00
heap-controller-unittest.cc [heap] Refactor HeapController 2018-09-10 19:47:15 +00:00
heap-unittest.cc [cleanup] #include heap-inl.h less often 2019-02-15 06:22:53 +00:00
item-parallel-job-unittest.cc Remove V8.GC.ParallelTaskLatencyMicroSeconds histogram 2019-02-19 12:54:17 +00:00
marking-unittest.cc [heap] Relax accessing markbits in ranges. 2019-02-25 15:28:41 +00:00
memory-reducer-unittest.cc [heap] Reland "Add a guard for restarting the memory reducer after mark-compact." 2016-11-18 13:50:22 +00:00
object-stats-unittest.cc [object-stats] Add unittest for clashing instance types 2018-01-23 11:38:15 +00:00
scavenge-job-unittest.cc [heap] allocation step should before limit update 2018-01-23 19:32:05 +00:00
slot-set-unittest.cc [cleanup][heap] Fix kPointerSize usages in src/heap/ 2018-12-19 19:58:20 +00:00
spaces-unittest.cc [heap] Refactor usages of the InNewSpace() predicate 2019-01-29 09:34:26 +00:00
unmapper-unittest.cc [logger] Untangle log.h includes 2019-01-22 10:56:52 +00:00
worklist-unittest.cc [heap] Rename IsGlobalEmpty to IsEmpty 2018-07-03 07:15:34 +00:00