v8/test/cctest/heap
mattloring f3cdf8a9f0 Allocation sampling for paged/large object spaces
This change expands allocation sampling to include old, map, code, and large object spaces. This involved refactoring much of the observation logic out of NewSpace into Space and overriding as needed in sub-classes.

Additionally, the sampling heap profiler now maintains a pair of heap observers. One observer is used for observing new space and resetting the inline allocation limit to be periodically notified of allocations. The other observes allocation across the other spaces where there is no additional work required to observe allocations.

Tests have been updated to ensure that allocations are observed correctly for Paged and LargeObject spaces.

R=ofrobots@google.com, hpayer@chromium.org, ulan@chromium.org
BUG=

Review URL: https://codereview.chromium.org/1625753002

Cr-Commit-Position: refs/heads/master@{#33959}
2016-02-12 19:50:41 +00:00
..
heap-tester.h Reland of [heap] Simplify distribution of remaining memory during sweeping & compaction (patchset #1 id:1 of https://codereview.chromium.org/1661723003/ ) 2016-02-03 09:44:23 +00:00
test-alloc.cc
test-compaction.cc Reland of "[cctest] Add tests for aborting compaction of pages" 2015-12-16 14:06:51 +00:00
test-heap.cc [heap] Move to page lookups for SemiSpace, NewSpace, and Heap containment methods 2016-02-10 09:47:16 +00:00
test-incremental-marking.cc Implement tracing interface for v8 2015-12-17 18:48:35 +00:00
test-lab.cc [heap] Move to LAB-based allocation for newspace evacuation. 2015-12-18 18:33:50 +00:00
test-mark-compact.cc
test-spaces.cc Allocation sampling for paged/large object spaces 2016-02-12 19:50:41 +00:00
utils-inl.h Reland of "[cctest] Add tests for aborting compaction of pages" 2015-12-16 14:06:51 +00:00