v8/src/profiler
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
..
allocation-tracker.cc Move heap and CPU profilers into a dedicated directory. 2015-09-28 19:34:18 +00:00
allocation-tracker.h [presubmit] Enable readability/namespace linter checking. 2015-09-30 13:47:11 +00:00
circular-queue-inl.h [presubmit] Enable readability/namespace linter checking. 2015-09-30 13:47:11 +00:00
circular-queue.h [presubmit] Enable readability/namespace linter checking. 2015-09-30 13:47:11 +00:00
cpu-profiler-inl.h [profiler] Move away from UnboundedQueue to LockedQueue for regular events. 2015-11-18 14:14:49 +00:00
cpu-profiler.cc Add CollectSample API function to CpuProfiler 2016-01-26 20:48:28 +00:00
cpu-profiler.h Add CollectSample API function to CpuProfiler 2016-01-26 20:48:28 +00:00
heap-profiler.cc Revert "Revert of [profiler] Implement POC Sampling Heap Profiler (patchset #12 id:220001 of https://codereview.chromium.org/1555553002/ )" 2016-01-22 16:36:57 +00:00
heap-profiler.h Revert "Revert of [profiler] Implement POC Sampling Heap Profiler (patchset #12 id:220001 of https://codereview.chromium.org/1555553002/ )" 2016-01-22 16:36:57 +00:00
heap-snapshot-generator-inl.h Remove easy to remove calls to Isolate::Current() from api.cc 2015-11-30 08:16:59 +00:00
heap-snapshot-generator.cc Revert of Type Feedback Vector lives in the closure (patchset #2 id:40001 of https://codereview.chromium.org/1668103002/ ) 2016-02-05 10:48:35 +00:00
heap-snapshot-generator.h [runtime] Introduce dedicated JSBoundFunction to represent bound functions. 2015-12-27 06:31:44 +00:00
profile-generator-inl.h Remove easy to remove calls to Isolate::Current() from api.cc 2015-11-30 08:16:59 +00:00
profile-generator.cc Add CollectSample API function to CpuProfiler 2016-01-26 20:48:28 +00:00
profile-generator.h Add CollectSample API function to CpuProfiler 2016-01-26 20:48:28 +00:00
sampler.cc Unflake SampleWhenFrameIsNotSetup 2016-02-12 16:02:46 +00:00
sampler.h Unflake SampleWhenFrameIsNotSetup 2016-02-12 16:02:46 +00:00
sampling-heap-profiler.cc Allocation sampling for paged/large object spaces 2016-02-12 19:50:41 +00:00
sampling-heap-profiler.h Allocation sampling for paged/large object spaces 2016-02-12 19:50:41 +00:00
strings-storage.cc Move strings-storage.* to the profiler directory 2015-10-01 18:11:03 +00:00
strings-storage.h Move strings-storage.* to the profiler directory 2015-10-01 18:11:03 +00:00
unbound-queue-inl.h [presubmit] Enable readability/namespace linter checking. 2015-09-30 13:47:11 +00:00
unbound-queue.h [presubmit] Enable readability/namespace linter checking. 2015-09-30 13:47:11 +00:00