Implemented "no heap access" mode for JSFrame which is used for stack sampling in...
authormikhail.naganov@gmail.com <mikhail.naganov@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 13 Apr 2009 23:12:04 +0000 (23:12 +0000)
committermikhail.naganov@gmail.com <mikhail.naganov@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 13 Apr 2009 23:12:04 +0000 (23:12 +0000)
commit0eb4dea12d16eac04ad3500899144d49edebabc8
tree890a227bd116e7cdf463d385e6b79bfe5523eb5c
parentce6d2916b810953a6cea6d96e8ce0dc5771344e8
Implemented "no heap access" mode for JSFrame which is used for stack sampling in profiler.

As I discovered that JSFrame accesses SharedFunctionInfo only to calculate caller SP and the latter is not used in profiler's stack sampling, I disabled accessing heap objects in JSFrame when doing stack sampling. This finally made V8's profiling stable when used from Chrome on a real web app.

Review URL: http://codereview.chromium.org/73020

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1694 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/frames-arm.cc
src/frames-ia32.cc
src/frames-inl.h
src/frames.cc
src/frames.h