<feed xmlns='http://www.w3.org/2005/Atom'>
<title>android_dalvik/docs/jni-tips.html, branch cm-13.0</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_dalvik/'/>
<entry>
<title>The jni-tips documentation has moved to frameworks/base.</title>
<updated>2011-04-14T18:52:03+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2011-04-14T18:52:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_dalvik/commit/?id=80aedd4dfc1252cb214fdff5baeb55166e3bf021'/>
<id>80aedd4dfc1252cb214fdff5baeb55166e3bf021</id>
<content type='text'>
Change-Id: I77fbc3ed593c51f61de9590beaadaa52f08387f8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I77fbc3ed593c51f61de9590beaadaa52f08387f8
</pre>
</div>
</content>
</entry>
<entry>
<title>Added some threading notes</title>
<updated>2010-10-11T21:46:25+00:00</updated>
<author>
<name>Andy McFadden</name>
<email>fadden@android.com</email>
</author>
<published>2010-10-11T21:46:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_dalvik/commit/?id=8eb34d5a4455fbdd7982d5efeda38eda70cd71a9'/>
<id>8eb34d5a4455fbdd7982d5efeda38eda70cd71a9</id>
<content type='text'>
Explain thread attach/detach, behavior of threads running native code.
Added pthread_key_create destructor note to backward compatibility
section.

Change-Id: I954708c9ec7c83ba951c0f512c88d5c610a49411
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Explain thread attach/detach, behavior of threads running native code.
Added pthread_key_create destructor note to backward compatibility
section.

Change-Id: I954708c9ec7c83ba951c0f512c88d5c610a49411
</pre>
</div>
</content>
</entry>
<entry>
<title>Change Runtime.nativeLoad to return the dlerror(3) string.</title>
<updated>2010-09-30T23:48:54+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2010-09-30T22:51:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_dalvik/commit/?id=f584b4a56e1d5b98ddd914cf5d40b7616bfa1302'/>
<id>f584b4a56e1d5b98ddd914cf5d40b7616bfa1302</id>
<content type='text'>
This has a companion change in libcore:
  https://android-git.corp.google.com/g/71342

Bug: 3044042
Change-Id: I070a80a41ec2f306f5092a641807017f70179451
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This has a companion change in libcore:
  https://android-git.corp.google.com/g/71342

Bug: 3044042
Change-Id: I070a80a41ec2f306f5092a641807017f70179451
</pre>
</div>
</content>
</entry>
<entry>
<title>New material for JNI Tips doc.</title>
<updated>2010-08-03T23:54:22+00:00</updated>
<author>
<name>Andy McFadden</name>
<email>fadden@android.com</email>
</author>
<published>2010-07-20T23:54:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_dalvik/commit/?id=21056df4a20cc8cd714037314b6c88f7242e9137'/>
<id>21056df4a20cc8cd714037314b6c88f7242e9137</id>
<content type='text'>
Added three new "FAQ" sections, covering the questions that come up
most frequently on the android-ndk mailing list.

Augmented the "Unsupported Features" section with a list of items
that didn't used to work, and noted when they started working.

Various minor updates.

Change-Id: I9acb22e70f6dae1d9b5011da0eab08b6e739d5f9
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added three new "FAQ" sections, covering the questions that come up
most frequently on the android-ndk mailing list.

Augmented the "Unsupported Features" section with a list of items
that didn't used to work, and noted when they started working.

Various minor updates.

Change-Id: I9acb22e70f6dae1d9b5011da0eab08b6e739d5f9
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove trailing whitespace.</title>
<updated>2010-06-09T00:04:11+00:00</updated>
<author>
<name>Carl Shapiro</name>
<email>cshapiro@google.com</email>
</author>
<published>2010-06-08T23:37:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_dalvik/commit/?id=de75089fb7216d19e9c22cce4dc62a49513477d3'/>
<id>de75089fb7216d19e9c22cce4dc62a49513477d3</id>
<content type='text'>
Change-Id: I95534bb2b88eaf48f2329282041118cd034c812b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I95534bb2b88eaf48f2329282041118cd034c812b
</pre>
</div>
</content>
</entry>
<entry>
<title>Trivial formatting fix.</title>
<updated>2010-06-04T23:51:47+00:00</updated>
<author>
<name>Andy McFadden</name>
<email>fadden@android.com</email>
</author>
<published>2010-06-04T23:51:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_dalvik/commit/?id=3ccaec4ddccd692847a90346db4c22301663a164'/>
<id>3ccaec4ddccd692847a90346db4c22301663a164</id>
<content type='text'>
Change-Id: I89277db5a2278a9e4d584ffb4b24d5cd77f71a3c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I89277db5a2278a9e4d584ffb4b24d5cd77f71a3c
</pre>
</div>
</content>
</entry>
<entry>
<title>Added note about NewStringUTF.</title>
<updated>2010-01-28T21:04:29+00:00</updated>
<author>
<name>Andy McFadden</name>
<email>fadden@android.com</email>
</author>
<published>2010-01-28T20:27:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_dalvik/commit/?id=7e7a332330357aaec1c2c7c4f6b9a369bfdf4cd2'/>
<id>7e7a332330357aaec1c2c7c4f6b9a369bfdf4cd2</id>
<content type='text'>
Calling NewStringUTF with non-UTF data is a common mistake.  This adds
a note to the JNI Tips document.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Calling NewStringUTF with non-UTF data is a common mistake.  This adds
a note to the JNI Tips document.
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement JNI "weak global" references.</title>
<updated>2009-10-20T18:23:00+00:00</updated>
<author>
<name>Andy McFadden</name>
<email>fadden@android.com</email>
</author>
<published>2009-09-25T17:42:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_dalvik/commit/?id=b18992f6e3c168742bc7c7d19d662d7719aef5dd'/>
<id>b18992f6e3c168742bc7c7d19d662d7719aef5dd</id>
<content type='text'>
The VM now supports the NewWeakGlobalRef and DeleteWeakGlobalRef calls,
which create a kind of weak reference that's directly visible to native
code.  While the JNI spec says that these can be used directly, the only
safe way to use them is to convert them to a strong local or global
reference first, so this is enforced.

The net result is very similar to manually creating a global reference to
a WeakReference object and manipulating it with method calls from native
code, but the JNI calls are faster and more convenient.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The VM now supports the NewWeakGlobalRef and DeleteWeakGlobalRef calls,
which create a kind of weak reference that's directly visible to native
code.  While the JNI spec says that these can be used directly, the only
safe way to use them is to convert them to a strong local or global
reference first, so this is enforced.

The net result is very similar to manually creating a global reference to
a WeakReference object and manipulating it with method calls from native
code, but the JNI calls are faster and more convenient.
</pre>
</div>
</content>
</entry>
<entry>
<title>am 5c6fee52: am 40f3271c: More doc changes.</title>
<updated>2009-09-23T18:36:29+00:00</updated>
<author>
<name>Andy McFadden</name>
<email>fadden@android.com</email>
</author>
<published>2009-09-23T18:36:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_dalvik/commit/?id=1371f12c7a66b2c3ad4ac144a5c4374dd74bddf3'/>
<id>1371f12c7a66b2c3ad4ac144a5c4374dd74bddf3</id>
<content type='text'>
Merge commit '5c6fee520e29bcd589b5ab310194ca9773332eba'

* commit '5c6fee520e29bcd589b5ab310194ca9773332eba':
  More doc changes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Merge commit '5c6fee520e29bcd589b5ab310194ca9773332eba'

* commit '5c6fee520e29bcd589b5ab310194ca9773332eba':
  More doc changes.
</pre>
</div>
</content>
</entry>
<entry>
<title>am 8db3bd6e: am 9ae00645: Merge change 26280 into eclair</title>
<updated>2009-09-23T18:36:24+00:00</updated>
<author>
<name>Andy McFadden</name>
<email>fadden@android.com</email>
</author>
<published>2009-09-23T18:36:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_dalvik/commit/?id=94dacab4b641a96593365195a8ff3c30dfda596b'/>
<id>94dacab4b641a96593365195a8ff3c30dfda596b</id>
<content type='text'>
Merge commit '8db3bd6ec5e242d05488c2c175c90d6b5d535a43'

* commit '8db3bd6ec5e242d05488c2c175c90d6b5d535a43':
  Another doc update.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Merge commit '8db3bd6ec5e242d05488c2c175c90d6b5d535a43'

* commit '8db3bd6ec5e242d05488c2c175c90d6b5d535a43':
  Another doc update.
</pre>
</div>
</content>
</entry>
</feed>
