Lines Matching refs:local
57 <p>The JNIEnv is used for thread-local storage. For this reason, <strong>you cannot share a JNIEnv…
95 thread-local-storage; that way it'll be passed into your destructor as
118 to store this data in a static local structure.</p>
150 by a JNI function is a "local reference". This means that it's valid for the
158 <p>The only way to get non-local references is via the functions
163 local reference as an argument and returns a global one.
172 <p>All JNI methods accept both local and global references as arguments.
187 <p>Programmers are required to "not excessively allocate" local references. In practical terms thi…
188 that if you're creating large numbers of local references, perhaps while running through an array of
192 16 local references, so if you need more than that you should either delete as you go or use
204 never automatically free local references until the thread detaches. Any local
206 code that creates local references in a loop probably needs to do some manual
228 are C-style pointers to primitive data rather than local references. They
555 <p>Until Android 4.0 (Ice Cream Sandwich), local references were
559 …<a href="http://android-developers.blogspot.com/2011/11/jni-local-reference-changes-in-ics.html">J…