commit | f6f5451bbd96d7292ac344dd4182661f9d891442 | [log] [tgz] |
---|---|---|
author | Mythri Alle <mythria@google.com> | Tue Jun 21 13:14:26 2022 +0000 |
committer | Mythri Alle <mythria@google.com> | Wed Jun 22 07:18:29 2022 +0000 |
tree | c25692f2d1cab5e4b83bcb33f6524c21526a8184 | |
parent | 9f61e0afdea60320cb8ea7651494bd3f51bfa77b [diff] |
Use mutator lock for deoptimized_methods_ deoptimized_methods_ is always read when we hold shared mutator lock and updated after suspending all threads when mutator lock is held exclusively. So we can just use mutator lock instead of another special lock. Bug: 206029744 Test: art/test.py Change-Id: I6596281abb8d723af80335a79a95c641b884fba6