summaryrefslogtreecommitdiff
path: root/deps/v8/src/profiler
diff options
context:
space:
mode:
authorAli Ijaz Sheikh <ofrobots@google.com>2016-04-25 07:51:27 -0700
committerJames M Snell <jasnell@gmail.com>2016-04-25 09:29:26 -0700
commite5f1e2c1df068a80b6c66bdba3a99291b9a42f11 (patch)
treef08b9455eb5198ae4101842b1feeb14d03fb42fa /deps/v8/src/profiler
parentde1dc0ae2eb52842b5c5c974090123a64c3a594c (diff)
downloadandroid-node-v8-e5f1e2c1df068a80b6c66bdba3a99291b9a42f11.tar.gz
android-node-v8-e5f1e2c1df068a80b6c66bdba3a99291b9a42f11.tar.bz2
android-node-v8-e5f1e2c1df068a80b6c66bdba3a99291b9a42f11.zip
deps: upgrade to V8 5.0.71.35
Pick up the latest bug fix from the V8 5.0 branch. Original commit message: V8-Commit: https://github.com/v8/v8/commit/c1d51c7c Version 5.0.71.35 (cherry-pick) Merged 2837cb387 disallow left-trim fast path when sampling heap profiler is active R=hablich@chromium.org, hpayer@chromium.org BUG=v8:4937 Review URL: https://codereview.chromium.org/1918453002 . PR-URL: https://github.com/nodejs/node/pull/6372 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com> Reviewed-By: Michaƫl Zasso <mic.besace@gmail.com>
Diffstat (limited to 'deps/v8/src/profiler')
-rw-r--r--deps/v8/src/profiler/heap-profiler.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/deps/v8/src/profiler/heap-profiler.h b/deps/v8/src/profiler/heap-profiler.h
index 74539ae142..32e143c74f 100644
--- a/deps/v8/src/profiler/heap-profiler.h
+++ b/deps/v8/src/profiler/heap-profiler.h
@@ -32,6 +32,7 @@ class HeapProfiler {
bool StartSamplingHeapProfiler(uint64_t sample_interval, int stack_depth);
void StopSamplingHeapProfiler();
+ bool is_sampling_allocations() { return !sampling_heap_profiler_.is_empty(); }
AllocationProfile* GetAllocationProfile();
void StartHeapObjectsTracking(bool track_allocations);