commit | ea689abbcd16363fccde246b61b4e5ebf896902a | [log] [tgz] |
---|---|---|
author | Jason Chiu <chiujason@google.com> | Wed Jul 01 17:18:29 2020 +0800 |
committer | Jason Chiu <chiujason@google.com> | Wed Jul 01 10:42:25 2020 +0000 |
tree | 2ca705a0155d2648cda7e9488bc1c76b288884cf | |
parent | f002dd72ac526f24a69c1fdfb9a15562ff0204ad [diff] |
Fix the exception of accessing an ArrayMap - ArrayMap is not thread-safe. - When accessing the map across threads at the same time, the map may throw a ConcurrentModificationException. - Convert the map to a synchronizedMap to avoid the exception. Fixes: 159813482 Test: robotest Change-Id: I3b8bdd435c7c546acf736fa8aafd2ceaed94d081