• Home
Name Date Size #Lines LOC

..--

InternalNative.cppD03-May-20248.3 KiB254158

InternalNative.hD03-May-20241.1 KiB337

InternalNativePriv.hD03-May-20244.9 KiB11652

README.txtD03-May-20241.2 KiB2419

dalvik_bytecode_OpcodeInfo.cppD03-May-20241.3 KiB4414

dalvik_system_DexFile.cppD03-May-202416.6 KiB533310

dalvik_system_VMDebug.cppD03-May-202422.5 KiB805495

dalvik_system_VMRuntime.cppD03-May-20247.4 KiB232155

dalvik_system_VMStack.cppD03-May-20247.1 KiB239129

dalvik_system_Zygote.cppD03-May-202422.1 KiB746473

java_lang_Class.cppD03-May-202426.5 KiB829502

java_lang_Double.cppD03-May-20241.3 KiB4120

java_lang_Float.cppD03-May-20241.3 KiB4120

java_lang_Math.cppD03-May-20242 KiB7750

java_lang_Object.cppD03-May-20243 KiB11155

java_lang_Runtime.cppD03-May-20243.9 KiB14682

java_lang_String.cppD03-May-20242.1 KiB7042

java_lang_System.cppD03-May-202412 KiB374227

java_lang_Throwable.cppD03-May-20241.9 KiB6629

java_lang_VMClassLoader.cppD03-May-20245.8 KiB200111

java_lang_VMThread.cppD03-May-20246.8 KiB263144

java_lang_reflect_AccessibleObject.cppD03-May-20241.5 KiB4515

java_lang_reflect_Array.cppD03-May-20244.6 KiB14882

java_lang_reflect_Constructor.cppD03-May-20242.6 KiB7838

java_lang_reflect_Field.cppD03-May-202424.7 KiB720499

java_lang_reflect_Method.cppD03-May-20248.1 KiB250143

java_lang_reflect_Proxy.cppD03-May-20241.5 KiB4817

java_util_concurrent_atomic_AtomicLong.cppD03-May-20241.1 KiB3913

org_apache_harmony_dalvik_NativeTestTarget.cppD03-May-20241.2 KiB4314

org_apache_harmony_dalvik_ddmc_DdmServer.cppD03-May-20241.4 KiB4918

org_apache_harmony_dalvik_ddmc_DdmVmInternal.cppD03-May-20244.9 KiB17091

sun_misc_Unsafe.cppD03-May-202412.3 KiB399245

README.txt

1Internal native functions.
2
3All of the functions defined here make direct use of VM functions or data
4structures, so they can't be written with JNI and shouldn't really be in
5a separate shared library.  Do not add additional functions here unless
6they need to access VM internals directly.
7
8All functions here either complete quickly or are used to enter a wait
9state, so we don't set the thread status to THREAD_NATIVE when executing
10these methods.  This means that the GC will wait for these functions
11to finish.  DO NOT perform long operations or blocking I/O in here.
12These methods should not be declared "synchronized", because we don't
13check for that flag when issuing the call.
14
15We use "late" binding on these, rather than explicit registration,
16because it's easier to handle the core system classes that way.
17
18The functions here use the DalvikNativeFunc prototype, but we can
19also treat them as DalvikBridgeFunc, which takes two extra arguments.
20The former represents the API that we're most likely to expose should
21JNI performance be deemed insufficient.  The Bridge version is used as
22an optimization for a few high-volume Object calls, and should generally
23not be used as we may drop support for it at some point.
24