• cbruni's avatar
    [counters] Making runtime counters reentrant. · 5e468666
    cbruni authored
    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
    
    Review URL: https://codereview.chromium.org/1695733002
    
    Cr-Commit-Position: refs/heads/master@{#34208}
    5e468666
builtins.cc 158 KB