v8/test/cctest/heap
Dominik Inführ ab8368dfdb [heap] Remove PagedSpace::SizeOfObjects
PagedSpace::SizeOfObjects() then returns exactly the same value as
PagedSpace::Size(). SizeOfObjects() used to deduct the current LAB,
however this is now more difficult with local heaps. Accessing the
main thread LAB from concurrent threads causes a data race. Also
LocalHeaps have their own LAB, which should be deducted as well to be
uniform with the main thread. However this would be tricky and expensive.
The simpler solution is to do not deduct the main thread LAB anymore.

Bug: v8:10315
Change-Id: I3c47e1a65caca9395737251aa694b295e78c7fb5
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2336090
Commit-Queue: Dominik Inführ <dinfuehr@chromium.org>
Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#69245}
2020-08-05 13:24:42 +00:00
..
heap-tester.h [heap] Add flag for pinning pages 2020-07-13 10:03:57 +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] Enable concurrent allocation of old space large objects 2020-08-03 11:38:42 +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 Reland^2 "[heap] Move start of incremental marking in allocation" 2020-07-14 12:07:34 +00:00
test-heap.cc [heap] Remove PagedSpace::SizeOfObjects 2020-08-05 13:24:42 +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 [heap] Add flag for pinning pages 2020-07-13 10:03: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] Share RO_SPACE pages with pointer compression 2020-07-31 13:34:59 +00:00
test-unmapper.cc [heap] Split out memory-allocator.h 2020-05-18 10:08:30 +00:00
test-weak-references.cc [nci] Replace CompilationTarget with a new Code::Kind value 2020-08-05 12:27:22 +00:00
test-write-barrier.cc [heap] Consolidate marking write barrier logic in MarkingBarrier 2020-07-07 10:34:37 +00:00