commit | 340dafabc8e88378e395cda9027cf17726910e91 | [log] [tgz] |
---|---|---|
author | Nicolas Geoffray <ngeoffray@google.com> | Fri Nov 18 16:03:10 2016 +0000 |
committer | Nicolas Geoffray <ngeoffray@google.com> | Tue Nov 22 13:08:29 2016 +0000 |
tree | f742cfc9b9eb3fdf0245a66491d39fb841da7c01 | |
parent | 71d15102b52af67e8fe1193192aa2b4cd1956ae0 [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