diff options
author | Andreas Gampe <agampe@google.com> | 2016-10-27 12:04:57 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2016-10-28 08:10:50 -0700 |
commit | a0d81af89349dada4586a2770597e27e5c9f0f90 (patch) | |
tree | 4ae75d10be17c6fc45a1471a77ad9df0f41bff64 /compiler/optimizing/graph_visualizer.cc | |
parent | a908348b4388854dab0b655b55dbeac1ecec2949 (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