DescriptionIntroduce 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.
Committed: https://code.google.com/p/v8/source/detail?r=13137
Patch Set 1 #
Total comments: 4
Patch Set 2 : #
Messages
Total messages: 5 (0 generated)
|