eda4dfae59eec2db945cf032aee3a9aeaa2eb494 |
|
15-Feb-2016 |
Calin Juravle <calin@google.com> |
Remove code cache check from native bridge run-test Every now and them the native bridge run-test failed because the code cache cannot be found. I suspect a temporary I/O issue when stat-ing the directory. However I could not verify yet that's actually the cause. Native bridge can work without a code_cache so we can relax the test until we figure out the flakiness. Bug: 27189715 Change-Id: I2ad3f93e80c0e2df89adf1d9d2afe1087c10af08
|
ef885cdfa8e3c61a67750110c1efcdd2559af1ec |
|
14-Dec-2015 |
Calin Juravle <calin@google.com> |
Print more info on why the code_cache test fails in 115-native-bridge. Change-Id: Ib30893e53a5ed616ae4f6b6bc4d657b0fca846c8
|
0d6f02679111fc1dd84cc45ddb4daab2fc622911 |
|
22-Sep-2015 |
jgu21 <jinghui.gu@intel.com> |
Block signals before invoking special or user handlers 1. Block signals marked in sa_mask before invoking user handler if not in old style. 2. Block all signals before invoking special signal handler. Change-Id: Ie1283e97ed28ee3421df584352cd62cb107264bc Signed-off-by: jgu21 <jinghui.gu@intel.com>
|
fd2854137ebdd2dbcc1459c5aa7abccdc62691b2 |
|
26-Aug-2015 |
Andreas Gampe <agampe@google.com> |
ART: Fix run-test inline assembly Use assembly that both Clang and GCC support. Use a minimal 2-byte encoding. Bug: 22876261 Change-Id: I11724b3cf09869fa341907dcb9acc1bee919e3c8
|
3835acca9101bd7afa181d8df8eba5a496d480e6 |
|
21-Aug-2015 |
Agi Csaki <agicsaki@google.com> |
Correct for signal, native bridge test hard-coded signal handling values Added inline assembly to ensure that the instruction causing a segfault in x86/x86_64 for the 004-SignalTest and 115-native-bridge test always has a size of 3 bytes, in response to a bug that caused the test to fail when this instruction had variable sizes. Bug: 22876261 Change-Id: I474a04782a446439956c22360c71cea2655f8a1b
|
3996c89a49238037e852203e74b026015608fb0a |
|
17-Aug-2015 |
Agi Csaki <agicsaki@google.com> |
Correct for 115-native-bridge hard-coded x86/x86_64 signal handling values Added inline assembly to ensure that the instruction causing a segfault in x86/x86_64 for the 115-native-bridge test always has a size of 3 bytes, in response to a bug that caused the test to fail when this instruction had variable sizes. Bug: 22876261 Change-Id: I296e623f170fd1925919bedf913c569a6563e3dc
|
0c7c55c717e774598ebce25f662209e8db23b3c9 |
|
24-Jul-2015 |
jgu21 <jinghui.gu@intel.com> |
Register signal handler to kernel if not claimed To set special handler for a signal, if the signal was not claimed before, the default handler in sigchain must be registerred for it before claimimg it in sigchain. Change-Id: I7ab74392cabb7f34af8ae038c90d20f0641b9d99 Signed-off-by: jgu21 <jinghui.gu@intel.com>
|
0bcf9fdad1cb286f4149e249513326c2acbb6c38 |
|
30-May-2015 |
Douglas Leung <douglas.leung@imgtec.com> |
Fix test 115-native-bridge for Mips. (cherry picked from commit d0af5479d61013362e43ae15cb69c9f8da915e08) Change-Id: I3eee8df39e774d233f11c43a5578f407bfdebca1
|
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
|
93de952df65ca5033bda313712b68b6272b4975f |
|
21-May-2015 |
Andreas Gampe <agampe@google.com> |
ART: Use v2 version of NativeBridge struct Update the struct to the new version, but without implementation. Bug: 20217701 (cherry picked from commit 540cc3d49c858e670591d8c00fcd87576cdbede6) Change-Id: Ic23a60b949f119c7d8b0e7cb27a61e6c16532a23
|
d0af5479d61013362e43ae15cb69c9f8da915e08 |
|
30-May-2015 |
Douglas Leung <douglas.leung@imgtec.com> |
Fix test 115-native-bridge for Mips. Change-Id: I3eee8df39e774d233f11c43a5578f407bfdebca1
|
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
|
540cc3d49c858e670591d8c00fcd87576cdbede6 |
|
21-May-2015 |
Andreas Gampe <agampe@google.com> |
ART: Use v2 version of NativeBridge struct Update the struct to the new version, but without implementation. Bug: 20217701 Change-Id: Ic23a60b949f119c7d8b0e7cb27a61e6c16532a23
|
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
|
6a3c1fcb4ba42ad4d5d142c17a3712a6ddd3866f |
|
31-Oct-2014 |
Ian Rogers <irogers@google.com> |
Remove -Wno-unused-parameter and -Wno-sign-promo from base cflags. Fix associated errors about unused paramenters and implict sign conversions. For sign conversion this was largely in the area of enums, so add ostream operators for the effected enums and fix tools/generate-operator-out.py. Tidy arena allocation code and arena allocated data types, rather than fixing new and delete operators. Remove dead code. Change-Id: I5b433e722d2f75baacfacae4d32aef4a828bfe1b
|
b57535de9078f2e26d4d2a53addcaf3d6f8cab0f |
|
22-Oct-2014 |
Calin Juravle <calin@google.com> |
[native bridge] Add test to verify code_cache existance. Bug: 18027433 (cherry picked from commit 44a3506627833deb17d21d6a7d51245a5af2c3e9) Change-Id: I9ce578949dbe522d5033465df7ca49fdd3aa3cbf
|
44a3506627833deb17d21d6a7d51245a5af2c3e9 |
|
22-Oct-2014 |
Calin Juravle <calin@google.com> |
[native bridge] Add test to verify code_cache existance. Bug: 18027433 Change-Id: I760acfdc3d109344a0d4fb25ae5d3f067997c547
|
6d031046eeb5e9f62b657df0695b752e1d0aa583 |
|
10-Sep-2014 |
jgu21 <jinghui.gu@intel.com> |
ART: Update for split native bridge initialization (cherry picked from commit a6da74e941d7cee498ac3880018a1d8dc953c6eb) (cherry picked from commit 7a536531791293441253cffb6e370ba1150eee96) Bug: 17671501 Change-Id: Id948e3ab22ac988d96f5d370bba8c3f86d08abff
|
a6da74e941d7cee498ac3880018a1d8dc953c6eb |
|
10-Sep-2014 |
jgu21 <jinghui.gu@intel.com> |
ART: Update for split native bridge initialization Change-Id: I0b93da93251c6b4638de786bf98cf99df07c3fc2
|
93de4273d72a2558a7b3423547b5074cd76c5796 |
|
12-Aug-2014 |
Calin Juravle <calin@google.com> |
[ART] Move to system/core native bridge library Some cleanups on the way: - move NativeBridgeRuntimeCallbacks from a global to a field - rename native_bridge_library_string to the more suggestive navtive_bridge_library_path - clean up imports Bug: 16884833 (cherry picked from commit I73aab8e212860ba5aee9444d801806d3da326a41) Change-Id: I67f037ea81d2a4ede4294afd8b84b7640e534a13
|
c8423521c1d1136c70b153479b7df3bf4fd7fc2a |
|
12-Aug-2014 |
Calin Juravle <calin@google.com> |
[ART] Move to system/core native bridge library Some cleanups on the way: - move NativeBridgeRuntimeCallbacks from a global to a field - rename native_bridge_library_string to the more suggestive navtive_bridge_library_path - clean up imports Bug: 16884833 Change-Id: I73aab8e212860ba5aee9444d801806d3da326a41
|
20ae1d77463d1c3f206eac8d541124b4555464de |
|
17-Jul-2014 |
Ian Rogers <irogers@google.com> |
Clean up native bridge (partially cherry picked from commit 68d8b42ddec39ec0174162d90d4abaa004d1983e) Change-Id: I85813e97d73b1b331646dd0e880108dfbfe80f69
|
68d8b42ddec39ec0174162d90d4abaa004d1983e |
|
17-Jul-2014 |
Ian Rogers <irogers@google.com> |
Wire up check JNI force copy mode. Increase check JNI checks. Break apart jni_internal.h in to jni_env_ext.h and java_vm_ext.h. Fix the abuse of ScopedObjectAccess/annotalysis by ScopedCheck in the case of VM routines. Make class loader override and shared library class loader JNI global references rather than mirror pointers. Clean-ups to native bridge. Change-Id: If7c6110b5aade7a402bfb67534af86a7b2cdeb55
|
f7a68c1bd01db4e80003eb19cc8a4cdc8330adbe |
|
03-Aug-2014 |
Yong WU <yong.wu@intel.com> |
Add trampoline invoke and ART callback tests for native-bridge Create trampolines for JNI functions in native-bridge. Test trampoline invoking from ART side. Add tests for ART callbacks which called from native-bridge. In this test they are invoked from the trampoline of JNI_OnLoad. Change-Id: Ibaa5103fdf49a6b29a1c12f45410fe5f82d46b1e
|
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
|