v8/test/cctest/heap
Wez aca333123d [heap] Replace retained_size() with ExternalBackingStoreBytes().
ArrayBuffer memory allocated off-heap was previously tracked by a test-
only retained_size() field on each LocalArrayBufferTracker.

Changes in off-heap ArrayBuffer memory usage are now reported to the
Space with which the ArrayBuffer is associated, so that the value is
cheaply available to include in e.g. GC limit calculations, via a new
getter, ExternalBackingStoreBytes().

Changes to external ArrayBuffer backing-store allocations are tracked in
an AtomicNumber associated with each Space, to allow for ArrayBuffers
being concurrently moved or freed from multiple Pages in the same Space
during sweeps & compactions.

Bug: chromium:837583
Change-Id: I8b1b6addd5cd05533d8da55ca813e134bc36e181
Reviewed-on: https://chromium-review.googlesource.com/1052347
Commit-Queue: Wez <wez@chromium.org>
Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#53192}
2018-05-15 21:04:42 +00:00
..
heap-tester.h Reland: [cleanup] Refactor the Factory 2018-04-09 19:52:22 +00:00
heap-utils.cc Reland: [cleanup] Refactor the Factory 2018-04-09 19:52:22 +00:00
heap-utils.h [heap] Exclude the owner of the linear allocation area from evacuation. 2016-11-03 12:13:23 +00:00
test-alloc.cc [objects.h splitting] Move classes related to api callbacks. 2018-05-02 10:24:44 +00:00
test-array-buffer-tracker.cc [heap] Replace retained_size() with ExternalBackingStoreBytes(). 2018-05-15 21:04:42 +00:00
test-compaction.cc Reland: [cleanup] Refactor the Factory 2018-04-09 19:52:22 +00:00
test-concurrent-marking.cc Reland "Introduce ConcurrentMarking::StopRequest API." 2018-02-19 14:46:44 +00:00
test-embedder-tracing.cc [heap] Increase test coverage for embedder tracing 2017-12-07 14:11:51 +00:00
test-heap.cc Reland "[heap] Move even more objects into RO_SPACE" 2018-05-09 13:12:01 +00:00
test-incremental-marking.cc [V8 Platform] Make CallOnWorkerThread use std::unique_ptr 2018-03-26 17:43:22 +00:00
test-invalidated-slots.cc Reland: [cleanup] Refactor the Factory 2018-04-09 19:52:22 +00:00
test-lab.cc [ubsan] Change Address typedef to uintptr_t 2018-04-14 01:25:28 +00:00
test-mark-compact.cc Reland: [cleanup] Refactor the Factory 2018-04-09 19:52:22 +00:00
test-page-promotion.cc [heap] Do eager unmapping in CollectAllAvailableGarbage. 2018-04-19 16:13:04 +00:00
test-spaces.cc [heap] Introduce a CodeSpace class. 2018-05-07 14:55:08 +00:00
test-unmapper.cc [heap] Do eager unmapping in CollectAllAvailableGarbage. 2018-04-19 16:13:04 +00:00
test-weak-references.cc [in-place weak refs] Add WeakArrayList & replace Heap::retained_maps with it. 2018-04-16 08:36:34 +00:00