commit | ef07ef38927507f1551646abe3fbcea86a903cbe | [log] [tgz] |
---|---|---|
author | Narayan Kamath <narayan@google.com> | Thu Nov 21 11:49:36 2013 +0000 |
committer | Narayan Kamath <narayan@google.com> | Fri Nov 22 10:20:30 2013 +0000 |
tree | 915ef1d285d0c430a90b405b73e37caf21e061ee | |
parent | 9d1efd271bf631776e0e5ec3418f94592b730743 [diff] |
Replace usage of CopyOnWriteArraySet. Use a List<Class<?>> as the cache key instead, but dedup and check for nulls in the list using a HashSet instead. This will improve performance for large lists of interfaces. bug: 10316383 Change-Id: Id0c36a731e6e3cb39bf36c083180c0c4da5c2dd4 (cherry picked from commit 6074af533f57a93e1b8e1ab63dce6a264a4d5dae)