• Home
Name Date Size #Lines LOC

..--

InternalNative.cD03-May-202411.2 KiB359223

InternalNative.hD03-May-20241.1 KiB337

InternalNativePriv.hD03-May-20244.7 KiB11848

README.txtD03-May-20241.2 KiB2519

SystemThread.cD03-May-20245.3 KiB170116

SystemThread.hD03-May-20241.4 KiB426

dalvik_system_DexFile.cD03-May-202414.5 KiB452259

dalvik_system_SamplingProfiler.cD03-May-202419.8 KiB648390

dalvik_system_VMDebug.cD03-May-202421.3 KiB773505

dalvik_system_VMRuntime.cD03-May-20245.8 KiB20198

dalvik_system_VMStack.cD03-May-20246.9 KiB239124

dalvik_system_Zygote.cD03-May-202411.6 KiB433254

java_lang_Class.cD03-May-202425.9 KiB814491

java_lang_Object.cD03-May-20243 KiB11356

java_lang_Runtime.cD03-May-20244.4 KiB16583

java_lang_String.cD03-May-20241.2 KiB4414

java_lang_System.cD03-May-20249.1 KiB293184

java_lang_SystemProperties.cD03-May-20241.8 KiB6621

java_lang_Throwable.cD03-May-20241.8 KiB6225

java_lang_VMClassLoader.cD03-May-20246 KiB204114

java_lang_VMThread.cD03-May-20246.8 KiB264145

java_lang_reflect_AccessibleObject.cD03-May-20241.5 KiB4615

java_lang_reflect_Array.cD03-May-20244.6 KiB14881

java_lang_reflect_Constructor.cD03-May-20245.4 KiB16692

java_lang_reflect_Field.cD03-May-202416 KiB449270

java_lang_reflect_Method.cD03-May-20247 KiB221121

java_lang_reflect_Proxy.cD03-May-20241.5 KiB4917

java_security_AccessController.cD03-May-20244.7 KiB14166

java_util_concurrent_atomic_AtomicLong.cD03-May-20241.1 KiB4013

org_apache_harmony_dalvik_NativeTestTarget.cD03-May-20241.2 KiB4414

org_apache_harmony_dalvik_ddmc_DdmServer.cD03-May-20241.4 KiB5018

org_apache_harmony_dalvik_ddmc_DdmVmInternal.cD03-May-20244.9 KiB17191

sun_misc_Unsafe.cD03-May-202410.6 KiB351212

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
25