DescriptionReland: Add a trace-event for each runtime-stats timer (CL 2052523002)
The trace-events will have a high overhead when turned on, but they are in a disabled-by-default category.
As long as the off overhead is negligible, this CL allows us to understand the behavior of V8 rather than its performance at the moment.
The original CL was failing the TSAN builder, the variable in question was intended to be accessed quickly with no guarantee.
Switched to using an Atomic variable with no barrier read/write.
BUG=v8:5089
patch from issue 2052523002 at patchset 100001 (http://crrev.com/2052523002#ps100001)
Committed: https://crrev.com/fd7080cbefc21f2f890b5db00d4eadf163e2cbbf
Cr-Commit-Position: refs/heads/master@{#36973}
Patch Set 1 #Patch Set 2 : The reland fix: Use an atomic variable #
Messages
Total messages: 9 (3 generated)
|