summaryrefslogtreecommitdiffstats
path: root/runtime/entrypoints/jni
Commit message (Collapse)AuthorAgeFilesLines
* Remove unreachable JNI workaround code.Ian Rogers2014-04-281-75/+0
| | | | Change-Id: I8d737ced8b553ed80a1fd72560e62abd78ff8b12
* Allow mixing of thread offsets between 32 and 64bit architectures.Ian Rogers2014-04-011-3/+2
| | | | | | | Begin a more full implementation x86-64 REX prefixes. Doesn't implement 64bit thread offset support for the JNI compiler. Change-Id: If9af2f08a1833c21ddb4b4077f9b03add1a05147
* Add more checking to ReleasePrimitiveArray.Mathieu Chartier2014-02-111-1/+2
| | | | | | | | When we ReleasePrimitiveArray, we now check that the elements pointer is not a heap address if it is not equal to the java array's data. Bug: 12845603 Change-Id: I458862f4dc586ba1c414647c7eb81b978c4ccb7e
* Fix incorrect IsHeapAddress in jni entrypoints.Mathieu Chartier2013-12-031-1/+1
| | | | | | | | The behaviour of IsHeapAddress had changed in the compaction CL to not include nullptr as a valid heap address. Bug: 11982013 Change-Id: I2847f71ca6775210ea4de8ede8b9ee8c14c55228
* Fast JNI support.Ian Rogers2013-10-201-2/+2
| | | | | | | Use a modifier to signal a native method is a fast JNI method. If the modifier is set then don't perform runnable transitions. Change-Id: I7835b4d837bfdd1cb8e2d54b919c0d5e6cf90499
* Refactor java.lang.reflect implementationBrian Carlstrom2013-08-131-3/+3
| | | | | | | | | | | Cherry-picked from commit ed41d5c44299ec5d44b8514f6e17f802f48094d1. Move to ArtMethod/Field instead of AbstractMethod/Field and have java.lang.reflect APIs delegate to ArtMethod/ArtField. Bug: 10014286. Change-Id: Iafc1d8c5b62562c9af8fb9fd8c5e1d61270536e7
* Entry point clean up.Ian Rogers2013-08-072-5/+119
| | | | | | | | | | | | | | | | | | Create set of entry points needed for image methods to avoid fix-up at load time: - interpreter - bridge to interpreter, bridge to compiled code - jni - dlsym lookup - quick - resolution and bridge to interpreter - portable - resolution and bridge to interpreter Fix JNI work around to use JNI work around argument rewriting code that'd been accidentally disabled. Remove abstact method error stub, use interpreter bridge instead. Consolidate trampoline (previously stub) generation in generic helper. Simplify trampolines to jump directly into assembly code, keeps stack crawlable. Dex: replace use of int with ThreadOffset for values that are thread offsets. Tidy entry point routines between interpreter, jni, quick and portable. Change-Id: I52a7c2bbb1b7e0ff8a3c3100b774212309d0828e
* Portable refactorings.Ian Rogers2013-07-301-0/+46
Separate quick from portable entrypoints. Move architectural dependencies into arch. Change-Id: I9adbc0a9782e2959fdc3308215f01e3107632b7c