Reviewers: Yury Semikhatsky, Yang, Sven Panne,
Description:
CpuProfiler: eliminate 2 layers of 4 for CodeCreateEvent calls.
The bodies of methods in ProfilerEventProcessor were moved into CpuProfiler.
Multiple NewCodeEntry methods in CpuProfilesCollection were replaced with
one
which
simply passes arguments to the CodeEntry constructor.
And CpuProfiler just calls this method when it needs a CodeEntry object.
This NewCodeEntry method is required because CpuProfilesCollection keeps
ownership of CodeEntry objects.
BUG=255392
TEST=existing tests
Please review this at https://codereview.chromium.org/18053004/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M src/cpu-profiler-inl.h
M src/cpu-profiler.h
M src/cpu-profiler.cc
M src/profile-generator-inl.h
M src/profile-generator.h
M src/profile-generator.cc
M test/cctest/test-cpu-profiler.cc
M test/cctest/test-profile-generator.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.