Home | History | Annotate | only in /dalvik/vm/native
Up to higher level directory
NameDateSize
dalvik_system_DexFile.c31-Jul-201014.5K
dalvik_system_SamplingProfiler.c31-Jul-201019.8K
dalvik_system_VMDebug.c31-Jul-201026.7K
dalvik_system_VMRuntime.c31-Jul-20107.2K
dalvik_system_VMStack.c31-Jul-20106.9K
dalvik_system_Zygote.c31-Jul-201013.1K
InternalNative.c31-Jul-201011.1K
InternalNative.h31-Jul-20101.1K
InternalNativePriv.h31-Jul-20104.6K
java_lang_Class.c31-Jul-201025.9K
java_lang_Object.c31-Jul-20103K
java_lang_reflect_AccessibleObject.c31-Jul-20101.5K
java_lang_reflect_Array.c31-Jul-20104.6K
java_lang_reflect_Constructor.c31-Jul-20105.4K
java_lang_reflect_Field.c31-Jul-201016K
java_lang_reflect_Method.c31-Jul-20107K
java_lang_reflect_Proxy.c31-Jul-20101.5K
java_lang_Runtime.c31-Jul-20104.5K
java_lang_String.c31-Jul-20101.2K
java_lang_System.c31-Jul-20109.1K
java_lang_SystemProperties.c31-Jul-20101.8K
java_lang_Throwable.c31-Jul-20101.9K
java_lang_VMClassLoader.c31-Jul-20106K
java_lang_VMThread.c31-Jul-20106.8K
java_security_AccessController.c31-Jul-20104.7K
java_util_concurrent_atomic_AtomicLong.c31-Jul-20101.1K
org_apache_harmony_dalvik_ddmc_DdmServer.c31-Jul-20101.4K
org_apache_harmony_dalvik_ddmc_DdmVmInternal.c31-Jul-20104.9K
org_apache_harmony_dalvik_NativeTestTarget.c31-Jul-20101.2K
README.txt31-Jul-20101.2K
sun_misc_Unsafe.c31-Jul-201010.6K
SystemThread.c31-Jul-20105.3K
SystemThread.h31-Jul-20101.4K

README.txt

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