DescriptionMove StatsTable into the Counters class.
By moving StatsTable from class Isolate to class Counters, it make the
class StatsTable thead safe. This is needed because these two classes
call each other, and for background compilation, instances of the
Counters class can persist longer that the corresponding Isolate it
came from.
It also removes unnecessary hops to the the Isolate, and checks if the
StatsTable has been created, for these communications.
BUG=v8:6361
Review-Url: https://codereview.chromium.org/2906063002
Cr-Commit-Position: refs/heads/master@{#45576}
Committed: https://chromium.googlesource.com/v8/v8/+/2a9965bd0ecf90393d785425b97c5045fc0b5316
Patch Set 1 #Patch Set 2 : Remove deleting stats_table_ in isolate. #Patch Set 3 : Fix nits. #
Messages
Total messages: 19 (15 generated)
|