Reviewers: Søren Gjesse,

Description:
Provide more functions to CPU profiler (fix issue 858).

The cause for missing functions is that some of them are created
from compiled code (see FastNewClosureStub), and thus not get
registered in profiler's code map.

My solution is to hook on GC visitor to provide JS functions
addresses to profiler, only if it is enabled.

BUG=858
TEST=

Please review this at http://codereview.chromium.org/3417019/show

Affected files:
  M src/cpu-profiler.h
  M src/cpu-profiler.cc
  M src/heap.cc
  M src/log.h
  M src/log.cc
  M src/profile-generator.h
  M src/profile-generator.cc
  M src/stub-cache.cc


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to