commit | 431a7e587117f43ae3819009f3b2e4d6211f35b9 | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Mon Jul 15 13:30:41 2019 -0700 |
committer | Treehugger Robot <treehugger-gerrit@google.com> | Tue Jul 16 18:42:34 2019 +0000 |
tree | 1713e271f7480f24ebb550e1b30ab113d6efd75a | |
parent | 8787cf87606f2a0c45b44578c7a9a254b7c6dfc9 [diff] |
ART: Fix some thread-annotalysis issues in ProfileSaver Remove where possible and replace with the instance_-referenced locks. Refactor the Run() flow: let Run() expect the profiler lock to be held (and release it). Let RunProfileSaverThread() grab the lock. This allows removing NO_THREAD_SAFETY_ANALYSIS from RunProfileSaverThread. Annotate methods with missing negative annotations. Bug: 137339043 Test: m Change-Id: Ief472cf03facdd4e9253501f2e4eebff4569a22c