commit | 0273ad1f702d7094b90ebb62c21c50b6a9568ab0 | [log] [tgz] |
---|---|---|
author | Alex Light <allight@google.com> | Wed Nov 02 11:19:31 2016 -0700 |
committer | Alex Light <allight@google.com> | Thu Nov 03 09:17:50 2016 -0700 |
tree | 759ae8b9f5bad5ee62e9e04d7dd5b35d307f627f | |
parent | 21b880ce80f63ddeeab7afaffe0de6934e602551 [diff] |
Remove lock from ClassExt installation procedure. We were using a lock on the class to ensure that we avoid races in setting the ext_data_ field of a class object. We replace this with a CAS of the field in order to prevent deadlocks. Test: mma test-art-host Change-Id: Ie436ff9526f2c3b38a9af49c5606a7cee6d718f1