summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorNicolas Geoffray <ngeoffray@google.com>2016-11-18 16:03:10 +0000
committerNicolas Geoffray <ngeoffray@google.com>2016-11-22 13:08:29 +0000
commit340dafabc8e88378e395cda9027cf17726910e91 (patch)
treef742cfc9b9eb3fdf0245a66491d39fb841da7c01 /compiler/optimizing/graph_visualizer.cc
parent71d15102b52af67e8fe1193192aa2b4cd1956ae0 (diff)
Use a per-thread VerifierDeps.
Avoid lock contention on a singleton VerifierDeps by allocating temporary per-thread VerifierDeps that get merged after verification. This saves around ~35% compile-times on interpret-only. Only the creation of extra strings is guarded by a lock, for simplicity. Test: test-art-host, test-art-target bug: 32641252 bug: 30937355 Change-Id: I11a2367da882b58e39afa7b42cba2e74a209b75d
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions