commit | cd72dc997ffd88ae92867332d2833c6b5d48fe36 | [log] [tgz] |
---|---|---|
author | Roland Levillain <rpl@google.com> | Tue Feb 27 19:15:31 2018 +0000 |
committer | Roland Levillain <rpl@google.com> | Tue Feb 27 19:20:50 2018 +0000 |
tree | a48165e3c59673b755993c960e0cca4db6f859fb | |
parent | 0bdc1fc702b5c9e45df93f92a052f0c0b1c26733 [diff] |
Fix an incorrect use of ScopedContentionRecorder in ReaderWriterMutex. The TID the blocked (current) thread and the TID of the mutex's exclusive owner thread should be respectively passed as second and third arguments to ScopedContentionRecorder's constructor. Test: art/test.py Change-Id: Ica37dfb1c15e25cd48fa46f499192de58e8a7e0e