diff options
author | Andreas Gampe <agampe@google.com> | 2019-07-15 13:30:41 -0700 |
---|---|---|
committer | Treehugger Robot <treehugger-gerrit@google.com> | 2019-07-16 18:42:34 +0000 |
commit | 431a7e587117f43ae3819009f3b2e4d6211f35b9 (patch) | |
tree | 1713e271f7480f24ebb550e1b30ab113d6efd75a /compiler/optimizing/loop_optimization.cc | |
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
Diffstat (limited to 'compiler/optimizing/loop_optimization.cc')
0 files changed, 0 insertions, 0 deletions