Reviewers: alph, Yury Semikhatsky,
Description:
AllocationProfiler: introduce allocation_profiler flag in V8 api.
Allocation profiler needs to instrument code in stubs, biltins etc.
It is a bit tricky thing due to complex structure of v8 heap.
The simplest solution is to create isolate without snapshot.
So I introduced allocation_profiler flag and corresponding
api methods.
static bool EnableAllocationProfiler(Isolate* isolate);
static bool IsAllocationProfilerEnabled(Isolate* isolate);
BUG=
Mixed with patch from issue 43693002 by yurys.
Drive by fix: do not count untracked objects twice.
Please review this at https://codereview.chromium.org/59373003/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+168, -61 lines):
M include/v8.h
M src/allocation-tracker.cc
M src/api.cc
M src/code-stubs.h
M src/flag-definitions.h
M src/frames-inl.h
M src/frames.h
M src/frames.cc
M src/heap-snapshot-generator.cc
M src/isolate.h
M src/isolate.cc
M src/x64/code-stubs-x64.cc
M src/x64/macro-assembler-x64.cc
M test/cctest/test-heap-profiler.cc
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.