summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2016-10-27 12:04:57 -0700
committerAndreas Gampe <agampe@google.com>2016-10-28 08:10:50 -0700
commita0d81af89349dada4586a2770597e27e5c9f0f90 (patch)
tree4ae75d10be17c6fc45a1471a77ad9df0f41bff64 /compiler/optimizing/graph_visualizer.cc
parenta908348b4388854dab0b655b55dbeac1ecec2949 (diff)
ART: Make graph visualizer thread-safe
Store visualizer to a temporary string stream during compilation. Print to the final output on destruction, and do so under a lock. Note: the order of methods in the output is only guaranteed to be deterministic with single-threaded compilation (-j1). Test: m Test: Compile multithread Test: Check output file that begin_compilation and end_compilation are interleaved Test: Check that names of compiled methods match Change-Id: I7eb3be2f88333cf1f116fe71b77cffa1ac702208
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions