Description[counters] Making runtime counters reentrant.
So far counters did not work when they were reentrant and thus would lead to
wrong bookkeeping of the counter stack. Using a separate stack-allocated linked
list to track the timer stack solves this issue. This is a temporary workaround
with the limitations of the counter system in mind. Eventually we will move to
the trace-based system for these kind of statistics.
BUG=v8:4770
LOG=n
Committed: https://crrev.com/5e468666b7ff0893b6c9614b4c70a6f7b1dcb027
Cr-Commit-Position: refs/heads/master@{#34208}
Patch Set 1 #
Total comments: 2
Patch Set 2 : using stack-allocated RuntimeCallTimerScope #Patch Set 3 : do proper null initialization #Patch Set 4 : adding more counters #Patch Set 5 : removing gc counter again #Patch Set 6 : gc counter removal #Patch Set 7 : more fixes #Patch Set 8 : merge with master #Patch Set 9 : missing includes #Patch Set 10 : fixing comment #
Depends on Patchset: Messages
Total messages: 28 (15 generated)
|