Go to file
yurys@chromium.org cec0745aa2 Introduce callback for resolving global object name while taking heap snapshot
Heap profiler currently gets "document" of global objects while taking snapshot (to later retrieve its "URL"). This is unsafe as there may be no current v8 context when the property is requested while corresponding property accessor may make some assumptions about the context stack during its invokation. Several crashes were reported due to this problem:
https://bugs.webkit.org/show_bug.cgi?id=103076
https://crbug.com/162121
https://crbug.com/132727

This patch adds a callback for resolving global object names and avoid the crashes.
Review URL: https://codereview.chromium.org/11415203

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13137 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2012-12-04 17:17:55 +00:00
benchmarks More fixes for V8 benchmark version 7. 2012-03-15 17:13:50 +00:00
build Turn off optimization for Mac Debug builds 2012-11-30 10:14:21 +00:00
include Introduce callback for resolving global object name while taking heap snapshot 2012-12-04 17:17:55 +00:00
preparser Fix a bunch of implicit casts detected by the Win64 compiler 2012-06-19 13:45:30 +00:00
samples Send non-JS output (e.g. errors) to stderr, instead of stdout. 2012-11-13 10:31:40 +00:00
src Introduce callback for resolving global object name while taking heap snapshot 2012-12-04 17:17:55 +00:00
test Introduce callback for resolving global object name while taking heap snapshot 2012-12-04 17:17:55 +00:00
tools Revert 13117: "Enable stub generation using Hydrogen/Lithium (again)" 2012-12-03 17:16:51 +00:00
.gitignore git should ignore .d8_history (d8 readline history) 2012-11-13 21:43:38 +00:00
AUTHORS Remove redundant jump to deoptimization (the jump already exists in DoCheckMapCommon) 2012-10-29 11:45:40 +00:00
ChangeLog Prepare push to trunk. Now working on version 3.15.9. 2012-12-04 13:49:22 +00:00
DEPS Pull more recent gyp. 2012-09-26 09:12:45 +00:00
LICENSE Update LICENSE file 2012-01-03 16:38:42 +00:00
LICENSE.strongtalk Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
LICENSE.v8 Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
LICENSE.valgrind Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
Makefile Revert 13117: "Enable stub generation using Hydrogen/Lithium (again)" 2012-12-03 17:16:51 +00:00
Makefile.android Change the Android makefile to use GCC 4.6 instead of GCC 4.4.3. 2012-10-02 13:20:27 +00:00
OWNERS Add OWNERS file 2012-10-08 11:58:08 +00:00
PRESUBMIT.py Add PRESUBMIT script to V8 2012-10-08 13:49:57 +00:00
SConstruct Kill off the SCons based build. 2012-10-18 13:07:41 +00:00