DescriptionGet rid of Isolate::safe_stack_iterator_counter
This change removes per-isolate counter of active SafeStackFrameIterators. The counter is used by stack frames implementations to avoid accessing pointers to heap objects when traversing stack for CPU profiler (so called "safe" mode). Each StackFrame instance is owned by single iterator and has a pointer to it so we can simply mark the iterator as "safe" or not and read the field in the stack frames instead of going into the isolate.
BUG=None
R=loislo@chromium.org, svenpanne@chromium.org
Committed: https://code.google.com/p/v8/source/detail?r=15317
Patch Set 1 #Patch Set 2 : Updated comment #Patch Set 3 : Fix debug compilation #
Total comments: 2
Patch Set 4 : Comments addressed #Patch Set 5 : Rebase #
Messages
Total messages: 5 (0 generated)
|