c80618565c777fb18352b9a09d617d7b2a5c9233 |
|
04-May-2017 |
Josh Gao <jmgao@google.com> |
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)
|
a402fbc2962e8cda1111449a47c26de69b33d669 |
|
17-Jan-2017 |
Yanbing Jiang <yanbing.jiang@intel.com> |
Add test for getError() of NativeBridge. NativeBridge v3 introduced getError() of which the functionality is same as dlerror(). This patch forces the routine of ART to NativeBridge to execute getError() on ART host test by loading invalid library from Java. Test: make test-art-host-run-test-115-native-bridge Change-Id: Iba389c22b6587176cbfe57d42af49041560c5b00 Signed-off-by: Zhenhua WANG <zhenhua.wang@intel.com> (cherry picked from commit 2abb686ddbf7c8fe54f2c1cb41ab90d7c8b04c7a)
|
6b2018f4b847a60f39c86d67e1cae8a00ce977bc |
|
04-May-2017 |
Josh Gao <jmgao@google.com> |
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
|
2abb686ddbf7c8fe54f2c1cb41ab90d7c8b04c7a |
|
17-Jan-2017 |
Yanbing Jiang <yanbing.jiang@intel.com> |
Add test for getError() of NativeBridge. NativeBridge v3 introduced getError() of which the functionality is same as dlerror(). This patch forces the routine of ART to NativeBridge to execute getError() on ART host test by loading invalid library from Java. Test: make test-art-host-run-test-115-native-bridge Change-Id: Iba389c22b6587176cbfe57d42af49041560c5b00 Signed-off-by: Zhenhua WANG <zhenhua.wang@intel.com>
|
031768a340634e2dbdec1aebb2bb3fe509b2f1f6 |
|
27-Aug-2015 |
Mathieu Chartier <mathieuc@google.com> |
Add non debug version of libarttest We now pass the libarttest as an argument to the java program. This enables using libarttestd by default and libarttest when -O is specified. Change-Id: I0de1ae01e2bb5f7b9c7fd7487b6cb55051f60657
|
8ee2145d65ed14b267ae4c6396f2333115611a97 |
|
23-May-2015 |
Andreas Gampe <agampe@google.com> |
ART: Add support for special handlers in sigchainlib Add support for a special managed handler in sigchainlib that will be called as the first user handler. Use this support for native bridge v2. Extend test 115-native-bridge to test the functionality. Bug: 20217701 (cherry picked from commit 03c2cc89428914adf52229d6a3867eef6127911a) Change-Id: I78cc01fbdabe169154ff6b94c9f3ddb95b5c7448
|
03c2cc89428914adf52229d6a3867eef6127911a |
|
23-May-2015 |
Andreas Gampe <agampe@google.com> |
ART: Add support for special handlers in sigchainlib Add support for a special managed handler in sigchainlib that will be called as the first user handler. Use this support for native bridge v2. Extend test 115-native-bridge to test the functionality. Bug: 20217701 Change-Id: I78cc01fbdabe169154ff6b94c9f3ddb95b5c7448
|
848f70a3d73833fc1bf3032a9ff6812e429661d9 |
|
15-Jan-2014 |
Jeff Hao <jeffhao@google.com> |
Replace String CharArray with internal uint16_t array. Summary of high level changes: - Adds compiler inliner support to identify string init methods - Adds compiler support (quick & optimizing) with new invoke code path that calls method off the thread pointer - Adds thread entrypoints for all string init methods - Adds map to verifier to log when receiver of string init has been copied to other registers. used by compiler and interpreter Change-Id: I797b992a8feb566f9ad73060011ab6f51eb7ce01
|
e94e2d42a5892f930b47415841b0e00e374b54e2 |
|
01-Oct-2014 |
Calin Juravle <calin@google.com> |
More native bridge tests Test for os.arch. Bug: 17713104 (cherry picked from commit ba16b0796aafb6ad4c96c5e10b713d73edc0b857) Change-Id: I45bde49c778f176cdfc779b211053a2747adb3fc
|
ba16b0796aafb6ad4c96c5e10b713d73edc0b857 |
|
01-Oct-2014 |
Calin Juravle <calin@google.com> |
More native bridge tests Test for os.arch. Bug: 17713104 Change-Id: I2d0f151c512857e4576fa186ce59c41b054bee75
|
855564b83db7b106d2995d0e784f1f4b62e52371 |
|
25-Jul-2014 |
Andreas Gampe <agampe@google.com> |
ART: Native bridge command-line parameter Add a command-line parameter for the native bridge library, slight refactor/cleanup. Add run-test 115 to test the native bridge interface. Currently the tests are black-listed for the target, as the setup for the test is too complicated in the current infrastructure. Change-Id: I6ccf19485e8c30b96e9f2fd5425278cb1ebd403f
|