summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.h
diff options
context:
space:
mode:
authorDaniel Mihalyi <daniel.mihalyi@mattakis.com>2014-08-18 18:45:31 +0200
committerIan Rogers <irogers@google.com>2014-08-18 11:13:28 -0700
commitca1d06cfa2f2b8d2be4390644e126cb68cdbb5ba (patch)
treee5e7d0caffc2538e2cc005705410c0496628d741 /compiler/optimizing/graph_visualizer.h
parent90b180ee1edd17b8dca34ea9e58624818d2ee15a (diff)
Optimized instrumentation listener handling
Some instrumentation listener lists may be modified while iterating over the list to deliver an instrumentation event. Therefore the previous implementation copied the list of listeners before starting the iteration. This new implementation only copies the list of instrumentation listeners when the list is changed. Instances of the list are reference counted using std::shared_ptr<>. Change-Id: I1b84db1f2042836dc1110925243f49e5790156d6
Diffstat (limited to 'compiler/optimizing/graph_visualizer.h')
0 files changed, 0 insertions, 0 deletions