<feed xmlns='http://www.w3.org/2005/Atom'>
<title>android_dalvik/libdex, branch gingerbread</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>Exclude sha1.c when building libdex for device</title>
<updated>2011-10-01T17:17:38+00:00</updated>
<author>
<name>Jim Huang</name>
<email>jserv@0xlab.org</email>
</author>
<published>2011-10-01T17:16:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_dalvik/commit/?id=55ac5b0a908b85c050f34dc603f62dd4b1fc4e9f'/>
<id>55ac5b0a908b85c050f34dc603f62dd4b1fc4e9f</id>
<content type='text'>
In bionic, there is already an optimized SHA-1 hash implementation,
and the file 'sha1.c' in libdex is almost identical.  It is only
necessary to build sha1.c for host version of libdex.

In addition, the SHA-1 hash implementation in bionic is slightly faster
than the one included in libdex.

Here is the reference SHA-1 benchmark on Nexus S:

[libdex]
Rounds: 100000, size: 6250K, time: 1.28s,  speed: 4.768 MB/s

[bionic]
Rounds: 100000, size: 6250K, time: 1.184s, speed: 5.156 MB/s

Change-Id: Ia8918aeaeec75aceecbbb8cd55130d709a9fe311
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In bionic, there is already an optimized SHA-1 hash implementation,
and the file 'sha1.c' in libdex is almost identical.  It is only
necessary to build sha1.c for host version of libdex.

In addition, the SHA-1 hash implementation in bionic is slightly faster
than the one included in libdex.

Here is the reference SHA-1 benchmark on Nexus S:

[libdex]
Rounds: 100000, size: 6250K, time: 1.28s,  speed: 4.768 MB/s

[bionic]
Rounds: 100000, size: 6250K, time: 1.184s, speed: 5.156 MB/s

Change-Id: Ia8918aeaeec75aceecbbb8cd55130d709a9fe311
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'gingerbread' of git://git.omapzoom.org/platform/dalvik into 237</title>
<updated>2011-09-29T23:19:43+00:00</updated>
<author>
<name>Steve Kondik</name>
<email>shade@chemlab.org</email>
</author>
<published>2011-09-29T23:19:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_dalvik/commit/?id=895c9616049cd6a0922ce8afb961ae284593d0bb'/>
<id>895c9616049cd6a0922ce8afb961ae284593d0bb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Only use O_BINARY if it is defined (windows compatibility)</title>
<updated>2011-06-09T18:51:34+00:00</updated>
<author>
<name>Bruce Beare</name>
<email>bruce.j.beare@intel.com</email>
</author>
<published>2011-06-06T17:50:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_dalvik/commit/?id=372191f2b87d90acfb25db5c938ac96f861c2c04'/>
<id>372191f2b87d90acfb25db5c938ac96f861c2c04</id>
<content type='text'>
Change-Id: Iaa3c0812ef4d90d46b4031be7f4faca84c7d7200
Signed-off-by: Bruce Beare &lt;bruce.j.beare@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Iaa3c0812ef4d90d46b4031be7f4faca84c7d7200
Signed-off-by: Bruce Beare &lt;bruce.j.beare@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Combined patch from master branch</title>
<updated>2011-06-09T16:15:58+00:00</updated>
<author>
<name>Bruce Beare</name>
<email>bruce.j.beare@intel.com</email>
</author>
<published>2011-06-01T22:10:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_dalvik/commit/?id=f9d2cdf4762f818678f668cdff64294dbce131f1'/>
<id>f9d2cdf4762f818678f668cdff64294dbce131f1</id>
<content type='text'>
 	From: Jack Ren &lt;jack.ren@intel.com&gt;
 	Date: Tue, 1 Mar 2011 21:10:42 +0800
 	Subject: [PATCH 1/2] sync with korg/master commit dd19f5b91a1032e60871febb143850fd81000c5a

	following patches are applied in one time:

	commit dd19f5b91a1032e60871febb143850fd81000c5a
	Merge: 2b3d7e8 a62c84f
	Author: Romain Guy &lt;romainguy@android.com&gt;
	Date:   Thu Feb 24 11:24:47 2011 -0800

	    Merge "Fix for a crash when GC weak references."

	commit 2b3d7e8eccd7cbf64b2ac41c05073a9191d0d3b3
	Merge: ef4b061 b4719ed
	Author: Raphael Moll &lt;ralf@android.com&gt;
	Date:   Tue Feb 22 14:55:59 2011 -0800

	    Merge "Open dexdump files in binary mode."

	commit b4719eda048c4dc4a4b6e5280c7a2b8299051078
	Author: Raphael Moll &lt;ralf@android.com&gt;
	Date:   Wed Feb 16 13:39:27 2011 -0800

	    Open dexdump files in binary mode.

	    Requires change Ia5c0a59e from system/core
	    (which defines O_BINARY globally.)

	commit a62c84f62a27a08d6bef6da0b96913d616dd659f
	Author: Mattias Petersson &lt;mattias.petersson@sonyericsson.com&gt;
	Date:   Tue Dec 21 09:28:04 2010 +0100

	    Fix for a crash when GC weak references.

	    When a weak reference had been cleared there was a small risk that
	    the VM crashed when the cleared reference was garbage collected.

	    This is an example of code that can cause the problem:
	       Integer referent = new Integer(10);
	       wref = new WeakReference&lt;Integer&gt;(referent);
	       wref.clear(); //set the referent to null

	    When a garbage collection starts, all objects are scanned, looking
	    for objects that can be collected. During this phase, a list of
	    weak references is created. A check is performed to ensure that
	    only references with a non-null referent are added to this list.
	    In most cases, for the example above, the referent will be null
	    at this point, and it will never be added to the list. But if
	    the timing is extremely bad it looks like it is possible for the
	    reference to end up on the list before the referent has been set
	    to null, and the referent is set to null a little while later.
	    This means that we now have a reference on the list with a null
	    referent.

	    A bit later in the garbage collection flow, the list of weak

	s is traversed in order to clear the references that
	    can be collected. Here we got the crash because the code asserted
	    that the referent of the references in the list should be
	    non-null. And in some rare cases it actually was null. The fix
	    is simply to remove the assert.

	commit ef4b0613d6952770aefac07d503955eb7b962d2b
	Merge: 464104b e9503ef
	Author: Andy McFadden &lt;fadden@android.com&gt;
	Date:   Mon Nov 8 19:38:19 2010 -0800

	    am e9503ef8: am 886130bc: (-s ours) Two patches.

	    * commit 'e9503ef8c460f4818062ecc80a9e0b4f8c6745b8':
	      Two patches.

Change-Id: I04c1c9204af8197a4352358d805af40f1312d2ea
Signed-off-by: Bruce Beare &lt;bruce.j.beare@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 	From: Jack Ren &lt;jack.ren@intel.com&gt;
 	Date: Tue, 1 Mar 2011 21:10:42 +0800
 	Subject: [PATCH 1/2] sync with korg/master commit dd19f5b91a1032e60871febb143850fd81000c5a

	following patches are applied in one time:

	commit dd19f5b91a1032e60871febb143850fd81000c5a
	Merge: 2b3d7e8 a62c84f
	Author: Romain Guy &lt;romainguy@android.com&gt;
	Date:   Thu Feb 24 11:24:47 2011 -0800

	    Merge "Fix for a crash when GC weak references."

	commit 2b3d7e8eccd7cbf64b2ac41c05073a9191d0d3b3
	Merge: ef4b061 b4719ed
	Author: Raphael Moll &lt;ralf@android.com&gt;
	Date:   Tue Feb 22 14:55:59 2011 -0800

	    Merge "Open dexdump files in binary mode."

	commit b4719eda048c4dc4a4b6e5280c7a2b8299051078
	Author: Raphael Moll &lt;ralf@android.com&gt;
	Date:   Wed Feb 16 13:39:27 2011 -0800

	    Open dexdump files in binary mode.

	    Requires change Ia5c0a59e from system/core
	    (which defines O_BINARY globally.)

	commit a62c84f62a27a08d6bef6da0b96913d616dd659f
	Author: Mattias Petersson &lt;mattias.petersson@sonyericsson.com&gt;
	Date:   Tue Dec 21 09:28:04 2010 +0100

	    Fix for a crash when GC weak references.

	    When a weak reference had been cleared there was a small risk that
	    the VM crashed when the cleared reference was garbage collected.

	    This is an example of code that can cause the problem:
	       Integer referent = new Integer(10);
	       wref = new WeakReference&lt;Integer&gt;(referent);
	       wref.clear(); //set the referent to null

	    When a garbage collection starts, all objects are scanned, looking
	    for objects that can be collected. During this phase, a list of
	    weak references is created. A check is performed to ensure that
	    only references with a non-null referent are added to this list.
	    In most cases, for the example above, the referent will be null
	    at this point, and it will never be added to the list. But if
	    the timing is extremely bad it looks like it is possible for the
	    reference to end up on the list before the referent has been set
	    to null, and the referent is set to null a little while later.
	    This means that we now have a reference on the list with a null
	    referent.

	    A bit later in the garbage collection flow, the list of weak

	s is traversed in order to clear the references that
	    can be collected. Here we got the crash because the code asserted
	    that the referent of the references in the list should be
	    non-null. And in some rare cases it actually was null. The fix
	    is simply to remove the assert.

	commit ef4b0613d6952770aefac07d503955eb7b962d2b
	Merge: 464104b e9503ef
	Author: Andy McFadden &lt;fadden@android.com&gt;
	Date:   Mon Nov 8 19:38:19 2010 -0800

	    am e9503ef8: am 886130bc: (-s ours) Two patches.

	    * commit 'e9503ef8c460f4818062ecc80a9e0b4f8c6745b8':
	      Two patches.

Change-Id: I04c1c9204af8197a4352358d805af40f1312d2ea
Signed-off-by: Bruce Beare &lt;bruce.j.beare@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>DexOpt anything in /system on /cache</title>
<updated>2011-01-10T02:30:50+00:00</updated>
<author>
<name>ctso</name>
<email>ctsoyars@gmail.com</email>
</author>
<published>2010-06-24T02:04:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_dalvik/commit/?id=15d27bbe10e307136e081bedb7cf25131896f1cb'/>
<id>15d27bbe10e307136e081bedb7cf25131896f1cb</id>
<content type='text'>
Change-Id: I24d77e263df1cf86c4d45174a654edabe0ecd9a5

Allow system property to disable use of /cache for dexfiles.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I24d77e263df1cf86c4d45174a654edabe0ecd9a5

Allow system property to disable use of /cache for dexfiles.
</pre>
</div>
</content>
</entry>
<entry>
<title>Correct dexopt for uniprocessors.</title>
<updated>2010-09-30T22:15:32+00:00</updated>
<author>
<name>Andy McFadden</name>
<email>fadden@android.com</email>
</author>
<published>2010-09-30T21:02:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_dalvik/commit/?id=d8b5f50d0c6c9a0ce157e89df4ee1e8eb8b334c3'/>
<id>d8b5f50d0c6c9a0ce157e89df4ee1e8eb8b334c3</id>
<content type='text'>
The SMP flag was defaulting to "true" for dexopt, even on uniprocessors.
With this change the VM now has three choices: dexopt for SMP, dexopt
for uniprocessor, or dexopt for current system.  The last is used for
just-in-time dexopt (used by -eng and -userdebug builds on bootstrap DEX
files) and installd dexopt (used for apps on all builds).

The dexopt used by the build system during -user builds will either be
explicitly SMP or explicitly uniprocessor, since "current system" has
no meaning when you're cross-dexopting.

Also, unified the dexopt control flags into a single enum.

(cherry-pick from dalvik-dev)

Change-Id: Id1d9c548ca8567585a28ef9ee911cc2ac6b116dd
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The SMP flag was defaulting to "true" for dexopt, even on uniprocessors.
With this change the VM now has three choices: dexopt for SMP, dexopt
for uniprocessor, or dexopt for current system.  The last is used for
just-in-time dexopt (used by -eng and -userdebug builds on bootstrap DEX
files) and installd dexopt (used for apps on all builds).

The dexopt used by the build system during -user builds will either be
explicitly SMP or explicitly uniprocessor, since "current system" has
no meaning when you're cross-dexopting.

Also, unified the dexopt control flags into a single enum.

(cherry-pick from dalvik-dev)

Change-Id: Id1d9c548ca8567585a28ef9ee911cc2ac6b116dd
</pre>
</div>
</content>
</entry>
<entry>
<title>Add optional tags to dalvik.</title>
<updated>2010-09-17T00:30:27+00:00</updated>
<author>
<name>Jesse Wilson</name>
<email>jessewilson@google.com</email>
</author>
<published>2010-09-16T22:56:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_dalvik/commit/?id=42929e15765640324d9181ec1159effd22aa86ca'/>
<id>42929e15765640324d9181ec1159effd22aa86ca</id>
<content type='text'>
Change-Id: I29a78ccb6312d12b3ef0ed02cfbc638a5b01db9c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I29a78ccb6312d12b3ef0ed02cfbc638a5b01db9c
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove the functionality in ReduceConstants.[ch].</title>
<updated>2010-09-09T18:34:19+00:00</updated>
<author>
<name>Dan Bornstein</name>
<email>danfuzz@android.com</email>
</author>
<published>2010-09-08T22:50:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_dalvik/commit/?id=d394371bd84bacc51e96e2d2eacb8549d9110b1e'/>
<id>d394371bd84bacc51e96e2d2eacb8549d9110b1e</id>
<content type='text'>
It was a good experiment to try, but it was never made production-ready,
and it doesn't look like it would be a net win at this point. We
metaphorically pour out a beer in its honor.

Change-Id: I7f6ac95f5b7c963df0a3015ed33595fa1a928636
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It was a good experiment to try, but it was never made production-ready,
and it doesn't look like it would be a net win at this point. We
metaphorically pour out a beer in its honor.

Change-Id: I7f6ac95f5b7c963df0a3015ed33595fa1a928636
</pre>
</div>
</content>
</entry>
<entry>
<title>Correct Volatile SGET/SPUT format tag, add missing cases for JIT</title>
<updated>2010-09-03T16:17:43+00:00</updated>
<author>
<name>buzbee</name>
<email>buzbee@google.com</email>
</author>
<published>2010-09-03T00:16:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_dalvik/commit/?id=ddc7d29baa92cb24b7bfa80395479f878109f3f8'/>
<id>ddc7d29baa92cb24b7bfa80395479f878109f3f8</id>
<content type='text'>
Fix for http://b/issue?id=2971877, which was identified via
debug tracing on http://b/issue?id=2971569.  There were a couple
of problems: first, the volatile sget/sput byte codes had the
wrong format tag (22c instead of 21c).  Second, the JIT was missing
a couple of case statments to handle these.  As far as the JIT goes,
this would not have caused correctness problems, but would have
been slower than necessary.

Change-Id: I57a41c4e063642b0c19acba5bb0855dd8ce2d4ba
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix for http://b/issue?id=2971877, which was identified via
debug tracing on http://b/issue?id=2971569.  There were a couple
of problems: first, the volatile sget/sput byte codes had the
wrong format tag (22c instead of 21c).  Second, the JIT was missing
a couple of case statments to handle these.  As far as the JIT goes,
this would not have caused correctness problems, but would have
been slower than necessary.

Change-Id: I57a41c4e063642b0c19acba5bb0855dd8ce2d4ba
</pre>
</div>
</content>
</entry>
<entry>
<title>Let &lt;stdbool.h&gt; (or its substitute) get picked up via the preexisting</title>
<updated>2010-09-01T23:44:23+00:00</updated>
<author>
<name>Dan Bornstein</name>
<email>danfuzz@android.com</email>
</author>
<published>2010-09-01T23:44:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_dalvik/commit/?id=4a2b20a1128b13dbcda9e7d1114f4d60a02431ed'/>
<id>4a2b20a1128b13dbcda9e7d1114f4d60a02431ed</id>
<content type='text'>
mechanism in vm/Common.h.

Change-Id: I6b79ee3d67b23d8077567a1bce0a58ae46ceb7f3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
mechanism in vm/Common.h.

Change-Id: I6b79ee3d67b23d8077567a1bce0a58ae46ceb7f3
</pre>
</div>
</content>
</entry>
</feed>
