diff options
author | Mathieu Chartier <mathieuc@google.com> | 2017-04-05 17:23:54 -0700 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2017-04-05 17:27:22 -0700 |
commit | 8f23d97af3b10ae56fb16d63fd2932098dac45c0 (patch) | |
tree | 8c44a6e668c30d62144a5bfb8fcdac219a60a032 /test/ProfileTestMultiDex/Main.java | |
parent | a5567dc7deeb4a9f6c023dccc58e7388d760b935 (diff) |
Force save profiles for SIGUSR1
Force save profiles from signal catcher for SIGUSR1. Saving the
profiles is expensive but we already do a GC which is also expensive
for this signal.
Test: adb shell ls -l /data/misc/profiles/cur/1000/system_server/
Test: adb shell kill -s SIGUSR1 `pid system_server`
Test: adb shell ls -l /data/misc/profiles/cur/1000/system_server/
Bug: 36457259
Bug: 34927277
Change-Id: I1852bba1a7f47b378ba0321edf951bca942b3c39
Diffstat (limited to 'test/ProfileTestMultiDex/Main.java')
0 files changed, 0 insertions, 0 deletions