summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex/Main.java
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2017-05-04 13:55:28 -0700
committerJosh Gao <jmgao@google.com>2017-05-16 16:28:50 -0700
commitc80618565c777fb18352b9a09d617d7b2a5c9233 (patch)
treee5de83e63145a6276f42156baf72f4851a69fc31 /test/ProfileTestMultiDex/Main.java
parentdafb6c2f9e8b9173ada6b8311bd88a0ed24c5bd5 (diff)
sigchain: limit use of SetHandlingSignal.
The native bridge and user signal handlers are able to not return to our signal handler, leaving the HandlingSignal flag set to true for the rest of the lifetime of the thread. Fix this by only using SetHandlingSignal for handlers that we know will return (i.e. the ART fault handler). This effectively reverts commit 90444558, which means sigprocmask's behavior is back to filtering out claimed signals when inside a user signal handler. Include an update to test/115-native-bridge from Zhenhua Wang, to make sure we keep handling signals when a signal handler longjmps away instead of returning. Bug: http://b/37988407 Test: m test-art-host Test: m test-art-target Change-Id: Ia7159ddfa38f1f055e5cd6089c849a208d335752 (cherry picked from commit 6b2018f4b847a60f39c86d67e1cae8a00ce977bc)
Diffstat (limited to 'test/ProfileTestMultiDex/Main.java')
0 files changed, 0 insertions, 0 deletions