OSDN Git Service

android-x86/dalvik.git
11 years agoMove the arraycopy implementation out of bionic and into dalvik.
Elliott Hughes [Fri, 15 Feb 2013 22:25:15 +0000 (14:25 -0800)]
Move the arraycopy implementation out of bionic and into dalvik.

Change-Id: I5b7964e53eca6f2da949d6ef24d42a9c6ed3996c

11 years agoMerge "Zygote: limit the bounding capability set to CAP_NET_RAW"
Nick Kralevich [Wed, 13 Feb 2013 21:38:08 +0000 (21:38 +0000)]
Merge "Zygote: limit the bounding capability set to CAP_NET_RAW"

11 years agoZygote: limit the bounding capability set to CAP_NET_RAW
Nick Kralevich [Wed, 13 Feb 2013 18:39:34 +0000 (10:39 -0800)]
Zygote: limit the bounding capability set to CAP_NET_RAW

Prevent a zygote spawned application from acquiring
capabilities other than CAP_NET_RAW.  The only Zygote
accessible program on Android which grants capabilities
is /system/bin/ping (CAP_NET_RAW), so we don't need to
keep the other capabilities in our bounding set.

Change-Id: Ifbfdbaf3d32bc6237b6e1fc57766ca13baae7bde

11 years agoam 43241340: Merge "Use execv from Libcore"
Nick Kralevich [Wed, 6 Feb 2013 00:17:31 +0000 (16:17 -0800)]
am 43241340: Merge "Use execv from Libcore"

# Via Gerrit Code Review (1) and Nick Kralevich (1)
* commit '43241340b1456eec0a19175d6a642c78f8354ae5':
  Use execv from Libcore

11 years agoMerge "Use execv from Libcore"
Nick Kralevich [Wed, 6 Feb 2013 00:14:21 +0000 (00:14 +0000)]
Merge "Use execv from Libcore"

11 years agoUse execv from Libcore
Nick Kralevich [Tue, 5 Feb 2013 21:18:29 +0000 (13:18 -0800)]
Use execv from Libcore

Change-Id: Idc862adef2a95636c85992e1954651b4e0bcaf16

11 years agoam ecc334ea: Merge "Fix a tracked reference leak in dvmGenerateProxyClass."
Elliott Hughes [Tue, 5 Feb 2013 20:50:08 +0000 (12:50 -0800)]
am ecc334ea: Merge "Fix a tracked reference leak in dvmGenerateProxyClass."

# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit 'ecc334eaf1dd36f28b9e8402302aa94a57b93274':
  Fix a tracked reference leak in dvmGenerateProxyClass.

11 years agoMerge "Fix a tracked reference leak in dvmGenerateProxyClass."
Elliott Hughes [Tue, 5 Feb 2013 20:47:51 +0000 (20:47 +0000)]
Merge "Fix a tracked reference leak in dvmGenerateProxyClass."

11 years agoFix a tracked reference leak in dvmGenerateProxyClass.
Elliott Hughes [Tue, 5 Feb 2013 19:22:16 +0000 (11:22 -0800)]
Fix a tracked reference leak in dvmGenerateProxyClass.

Bug: https://code.google.com/p/android/issues/detail?id=43919
Change-Id: Ib5c217368ba75f4422d0c932c2c67daaaeddea4b

11 years agoam ad9811c9: Merge "Remove dead instruction in common_exceptionThrown."
Jeff Hao [Sat, 2 Feb 2013 01:42:54 +0000 (17:42 -0800)]
am ad9811c9: Merge "Remove dead instruction in common_exceptionThrown."

# Via Gerrit Code Review (1) and Jeff Hao (1)
* commit 'ad9811c9f7be61f536b03ff372db1c94fa41a05e':
  Remove dead instruction in common_exceptionThrown.

11 years agoMerge "Remove dead instruction in common_exceptionThrown."
Jeff Hao [Sat, 2 Feb 2013 01:26:01 +0000 (01:26 +0000)]
Merge "Remove dead instruction in common_exceptionThrown."

11 years agoRemove dead instruction in common_exceptionThrown.
Jeff Hao [Sat, 2 Feb 2013 01:17:57 +0000 (17:17 -0800)]
Remove dead instruction in common_exceptionThrown.

Addresses bug: https://code.google.com/p/android/issues/detail?id=43920

Change-Id: Ie735222db17b883416543ca5617b4f02fd8a8d76

11 years agoam a43a4d37: am 8828aee2: Merge "dvz: remove dead code."
Nick Kralevich [Tue, 29 Jan 2013 20:22:31 +0000 (12:22 -0800)]
am a43a4d37: am 8828aee2: Merge "dvz: remove dead code."

# Via Android Git Automerger (1) and others
* commit 'a43a4d371466b9efbb93be3d19d8c6c88e8cee46':
  dvz: remove dead code.

11 years agoam 8828aee2: Merge "dvz: remove dead code."
Nick Kralevich [Tue, 29 Jan 2013 20:19:46 +0000 (12:19 -0800)]
am 8828aee2: Merge "dvz: remove dead code."

# Via Gerrit Code Review (1) and Nick Kralevich (1)
* commit '8828aee2eba996d3cd4aab27c912248d5437b1a0':
  dvz: remove dead code.

11 years agoMerge "dvz: remove dead code."
Nick Kralevich [Tue, 29 Jan 2013 20:04:46 +0000 (20:04 +0000)]
Merge "dvz: remove dead code."

11 years agodvz: remove dead code.
Nick Kralevich [Tue, 29 Jan 2013 18:28:31 +0000 (10:28 -0800)]
dvz: remove dead code.

dvz is never used.  Delete it.

Change-Id: If2b5ccbf6668a1044a0d57e09ce6d0c0923c6c76

11 years agoam af6fe2d2: am 604d7243: Merge "rTEMP gets clobbered in the JALR macro. Use t9 instead."
Elliott Hughes [Wed, 23 Jan 2013 00:58:01 +0000 (16:58 -0800)]
am af6fe2d2: am 604d7243: Merge "rTEMP gets clobbered in the JALR macro. Use t9 instead."

* commit 'af6fe2d2a10e36caed1cf6e45b5de66bfa50e882':
  rTEMP gets clobbered in the JALR macro. Use t9 instead.

11 years agoam 604d7243: Merge "rTEMP gets clobbered in the JALR macro. Use t9 instead."
Elliott Hughes [Wed, 23 Jan 2013 00:55:28 +0000 (16:55 -0800)]
am 604d7243: Merge "rTEMP gets clobbered in the JALR macro. Use t9 instead."

* commit '604d724354695ddcc65f62b10ed2243400901e2e':
  rTEMP gets clobbered in the JALR macro. Use t9 instead.

11 years agoMerge "rTEMP gets clobbered in the JALR macro. Use t9 instead."
Elliott Hughes [Wed, 23 Jan 2013 00:41:37 +0000 (00:41 +0000)]
Merge "rTEMP gets clobbered in the JALR macro. Use t9 instead."

11 years agorTEMP gets clobbered in the JALR macro. Use t9 instead.
Raghu Gandham [Wed, 23 Jan 2013 00:02:42 +0000 (16:02 -0800)]
rTEMP gets clobbered in the JALR macro. Use t9 instead.

Change-Id: I0ac806c9ad73acf766a8b233997da33b794365be

11 years agoam e59bd16c: am 8b0367ca: Merge "Fix DDMS crash"
Ian Rogers [Tue, 15 Jan 2013 00:42:33 +0000 (16:42 -0800)]
am e59bd16c: am 8b0367ca: Merge "Fix DDMS crash"

* commit 'e59bd16cd4d9b552acff632a625f695c447ac39b':
  Fix DDMS crash

11 years agoam 8b0367ca: Merge "Fix DDMS crash"
Ian Rogers [Tue, 15 Jan 2013 00:39:56 +0000 (16:39 -0800)]
am 8b0367ca: Merge "Fix DDMS crash"

* commit '8b0367ca57d7021f74e09010f731958cfd854ed3':
  Fix DDMS crash

11 years agoMerge "Fix DDMS crash"
Ian Rogers [Tue, 15 Jan 2013 00:30:01 +0000 (16:30 -0800)]
Merge "Fix DDMS crash"

11 years agoFix DDMS crash
Tim Murray [Mon, 14 Jan 2013 22:09:33 +0000 (14:09 -0800)]
Fix DDMS crash

(cherry-pick of 22d8dba8ae5be7aecb07322a410712206896fa15)

Change-Id: Ic5edd3d9367db8570523e1380c3e6edfabeec2c0

11 years agoam 44b6dae3: am c3245cfe: Merge "DexDump: Leak in FieldMethodInfo.signature"
Elliott Hughes [Thu, 3 Jan 2013 00:49:10 +0000 (16:49 -0800)]
am 44b6dae3: am c3245cfe: Merge "DexDump: Leak in FieldMethodInfo.signature"

* commit '44b6dae3f93ed8c010165ef46dcce44e9912ea85':
  DexDump: Leak in FieldMethodInfo.signature

11 years agoam c3245cfe: Merge "DexDump: Leak in FieldMethodInfo.signature"
Elliott Hughes [Thu, 3 Jan 2013 00:47:47 +0000 (16:47 -0800)]
am c3245cfe: Merge "DexDump: Leak in FieldMethodInfo.signature"

* commit 'c3245cfe4246d0cb2e276cf525940fdc6df8213f':
  DexDump: Leak in FieldMethodInfo.signature

11 years agoMerge "DexDump: Leak in FieldMethodInfo.signature"
Elliott Hughes [Thu, 3 Jan 2013 00:33:23 +0000 (16:33 -0800)]
Merge "DexDump: Leak in FieldMethodInfo.signature"

11 years agoam 8b135734: am cbac7aed: am 51997559: Fail if the new index is out of range. do...
jwilson [Wed, 2 Jan 2013 22:01:42 +0000 (14:01 -0800)]
am 8b135734: am cbac7aed: am 51997559: Fail if the new index is out of range. do not merge.

* commit '8b13573481b2af0b6e4fdbb175b9e1f8b02baed4':
  Fail if the new index is out of range. do not merge.

11 years agoam cbac7aed: am 51997559: Fail if the new index is out of range. do not merge.
jwilson [Wed, 2 Jan 2013 21:59:40 +0000 (13:59 -0800)]
am cbac7aed: am 51997559: Fail if the new index is out of range. do not merge.

* commit 'cbac7aed2621a0d51ecddf89af0b3c4a110a17df':
  Fail if the new index is out of range. do not merge.

11 years agoam 51997559: Fail if the new index is out of range. do not merge.
jwilson [Wed, 2 Jan 2013 21:57:43 +0000 (13:57 -0800)]
am 51997559: Fail if the new index is out of range. do not merge.

* commit '519975591eba13ae7ac4e494a0dfb88a34ca191b':
  Fail if the new index is out of range. do not merge.

11 years agoFail if the new index is out of range. do not merge.
jwilson [Mon, 17 Dec 2012 18:16:33 +0000 (13:16 -0500)]
Fail if the new index is out of range. do not merge.

We were silently truncating, which made an obvious problem
into a non-obvious one.

Bug: http://code.google.com/p/android/issues/detail?id=40409

(cherry picked from commit 0a752f071fbbdfeab5dd9a230efe0f4f47b8cd94)

Change-Id: I6adbe6309bdcb2882f0e5500d6e1e149d08dbd2d

11 years agoDexDump: Leak in FieldMethodInfo.signature
You Kim [Tue, 25 Dec 2012 14:51:01 +0000 (23:51 +0900)]
DexDump: Leak in FieldMethodInfo.signature

Free pMethInfo->signature when filled by getMethodInfo.

Change-Id: Id278d732374daceb7b8b05be7f433af25eee0c27

11 years agoam d0380673: Merge "Support System.loadLibrary for libraries with transitive dependen...
Elliott Hughes [Sat, 22 Dec 2012 01:52:41 +0000 (17:52 -0800)]
am d0380673: Merge "Support System.loadLibrary for libraries with transitive dependencies."

* commit 'd038067321dbf062089bfc7cda27955a78690a4b':
  Support System.loadLibrary for libraries with transitive dependencies.

11 years agoMerge "Support System.loadLibrary for libraries with transitive dependencies."
Elliott Hughes [Sat, 22 Dec 2012 01:50:09 +0000 (17:50 -0800)]
Merge "Support System.loadLibrary for libraries with transitive dependencies."

11 years agoam 2e5f16bf: Merge "Fix a forecopy/forcecopy typo."
Elliott Hughes [Sat, 22 Dec 2012 00:27:19 +0000 (16:27 -0800)]
am 2e5f16bf: Merge "Fix a forecopy/forcecopy typo."

* commit '2e5f16bfe83e26f3a7958d57df8a2a2e87f241c5':
  Fix a forecopy/forcecopy typo.

11 years agoMerge "Fix a forecopy/forcecopy typo."
Elliott Hughes [Sat, 22 Dec 2012 00:11:32 +0000 (16:11 -0800)]
Merge "Fix a forecopy/forcecopy typo."

11 years agoFix a forecopy/forcecopy typo.
Elliott Hughes [Fri, 21 Dec 2012 23:19:31 +0000 (15:19 -0800)]
Fix a forecopy/forcecopy typo.

Change-Id: Ic8f8d6fdf278bfa41e54586bc187c0ba42248700

11 years agoam 47160283: Merge "Add JNI statistics to the SIGQUIT output."
Elliott Hughes [Fri, 21 Dec 2012 20:41:15 +0000 (12:41 -0800)]
am 47160283: Merge "Add JNI statistics to the SIGQUIT output."

* commit '471602839c71ee46d707fc044772b8c62a6975a1':
  Add JNI statistics to the SIGQUIT output.

11 years agoMerge "Add JNI statistics to the SIGQUIT output."
Elliott Hughes [Fri, 21 Dec 2012 20:31:43 +0000 (12:31 -0800)]
Merge "Add JNI statistics to the SIGQUIT output."

11 years agoAdd JNI statistics to the SIGQUIT output.
Elliott Hughes [Fri, 21 Dec 2012 19:43:46 +0000 (11:43 -0800)]
Add JNI statistics to the SIGQUIT output.

Bug: 7903975
Change-Id: Ibc011ef73c8632fec42b846fcdee20c970951757

11 years agoSupport System.loadLibrary for libraries with transitive dependencies.
Elliott Hughes [Thu, 20 Dec 2012 22:37:25 +0000 (14:37 -0800)]
Support System.loadLibrary for libraries with transitive dependencies.

Bug: 7896159
Bug: http://code.google.com/p/android/issues/detail?id=34416
Change-Id: Ic0522c4d7c3a3493e09b8dd4f68aabd86acb9b73

11 years agoam 5155b31c: Merge "Change NewDirectByteBuffer to allow NULL if capacity == 0."
Elliott Hughes [Thu, 20 Dec 2012 19:03:36 +0000 (11:03 -0800)]
am 5155b31c: Merge "Change NewDirectByteBuffer to allow NULL if capacity == 0."

* commit '5155b31cd96474459cff380621ebb9a77b2b7cbc':
  Change NewDirectByteBuffer to allow NULL if capacity == 0.

11 years agoMerge "Change NewDirectByteBuffer to allow NULL if capacity == 0."
Elliott Hughes [Thu, 20 Dec 2012 02:05:01 +0000 (18:05 -0800)]
Merge "Change NewDirectByteBuffer to allow NULL if capacity == 0."

11 years agoChange NewDirectByteBuffer to allow NULL if capacity == 0.
Elliott Hughes [Wed, 19 Dec 2012 23:45:18 +0000 (15:45 -0800)]
Change NewDirectByteBuffer to allow NULL if capacity == 0.

Also make the diagnostics more uniform.

Bug: 7892060
Change-Id: Ib3ca0d6241a5958d2c8681337b1883fc3d74cb54

11 years agoresolved conflicts for merge of e016e80c to jb-mr1-dev-plus-aosp
Ying Wang [Wed, 19 Dec 2012 21:28:01 +0000 (13:28 -0800)]
resolved conflicts for merge of e016e80c to jb-mr1-dev-plus-aosp

Change-Id: I889b3aac68aec152d34d14431b854d7a8e6575a9

11 years agoam a20a1fd6: Merge "Optimize dvmHash Loops."
Elliott Hughes [Wed, 19 Dec 2012 20:33:22 +0000 (12:33 -0800)]
am a20a1fd6: Merge "Optimize dvmHash Loops."

* commit 'a20a1fd6795dc053d2d7988f80ce19454d8ba043':
  Optimize dvmHash Loops.

11 years agoMerge "Optimize dvmHash Loops."
Elliott Hughes [Wed, 19 Dec 2012 18:51:40 +0000 (10:51 -0800)]
Merge "Optimize dvmHash Loops."

11 years agoOptimize dvmHash Loops.
You Kim [Wed, 19 Dec 2012 05:25:21 +0000 (14:25 +0900)]
Optimize dvmHash Loops.

pHashTable->tableSize is working as volatile variable & is evaluated on every iteration.
Help compiler to define tableSize as local(Register) variable.

Change-Id: Iecdea3ecb810319d461ff3924ef21fd6c2d69d1e

11 years agoam 72d8557f: Merge "Optimize opcodes to avoid bubble in pipeline."
Elliott Hughes [Mon, 17 Dec 2012 21:51:02 +0000 (13:51 -0800)]
am 72d8557f: Merge "Optimize opcodes to avoid bubble in pipeline."

* commit '72d8557fbc8e82ded7d163a476ac5963a91c5128':
  Optimize opcodes to avoid bubble in pipeline.

11 years agoMerge "Optimize opcodes to avoid bubble in pipeline."
Elliott Hughes [Mon, 17 Dec 2012 21:45:41 +0000 (13:45 -0800)]
Merge "Optimize opcodes to avoid bubble in pipeline."

11 years agoam 78798c71: Merge "Remove possilbe leaks in dalvik."
Elliott Hughes [Mon, 17 Dec 2012 19:19:19 +0000 (11:19 -0800)]
am 78798c71: Merge "Remove possilbe leaks in dalvik."

* commit '78798c711e50643f7f71b0c79dd9c3c7f4d095ac':
  Remove possilbe leaks in dalvik.

11 years agoMerge "Remove possilbe leaks in dalvik."
Elliott Hughes [Mon, 17 Dec 2012 18:59:43 +0000 (10:59 -0800)]
Merge "Remove possilbe leaks in dalvik."

11 years agoRemove possilbe leaks in dalvik.
You Kim [Sun, 16 Dec 2012 18:14:01 +0000 (03:14 +0900)]
Remove possilbe leaks in dalvik.

Add missing free() calls.

Change-Id: Id602b84ba8f15fef1851f37e3d5aac214ac67de1

11 years agoam 538831ea: Merge "Reclaiming attribute obj after pthread_create"
Elliott Hughes [Mon, 17 Dec 2012 18:58:31 +0000 (10:58 -0800)]
am 538831ea: Merge "Reclaiming attribute obj after pthread_create"

* commit '538831ea621f2fbfe46bef9373f31869e822eb9b':
  Reclaiming attribute obj after pthread_create

11 years agoam d9e08aae: Merge "Remove dead code."
Elliott Hughes [Mon, 17 Dec 2012 18:58:30 +0000 (10:58 -0800)]
am d9e08aae: Merge "Remove dead code."

* commit 'd9e08aae4dfee99961e7bcb8d9997c11c1d981ef':
  Remove dead code.

11 years agoMerge "Reclaiming attribute obj after pthread_create"
Elliott Hughes [Mon, 17 Dec 2012 18:54:49 +0000 (10:54 -0800)]
Merge "Reclaiming attribute obj after pthread_create"

11 years agoReclaiming attribute obj after pthread_create
You Kim [Sun, 16 Dec 2012 17:36:44 +0000 (02:36 +0900)]
Reclaiming attribute obj after pthread_create

call pthread_attr_destroy in order to reclaim attribute object.

Change-Id: I2592903ef67101a7c656a3ab0ad243a9716298b5

11 years agoMerge "Remove dead code."
Elliott Hughes [Mon, 17 Dec 2012 18:42:06 +0000 (10:42 -0800)]
Merge "Remove dead code."

11 years agoam 0e84ab50: Merge "Fail if the new index is out of range."
Elliott Hughes [Mon, 17 Dec 2012 18:37:50 +0000 (10:37 -0800)]
am 0e84ab50: Merge "Fail if the new index is out of range."

* commit '0e84ab50c525e144b4dc52f38a3ac4a08e4ad6f6':
  Fail if the new index is out of range.

11 years agoMerge "Fail if the new index is out of range."
Elliott Hughes [Mon, 17 Dec 2012 18:35:01 +0000 (10:35 -0800)]
Merge "Fail if the new index is out of range."

11 years agoFail if the new index is out of range.
jwilson [Mon, 17 Dec 2012 18:16:33 +0000 (13:16 -0500)]
Fail if the new index is out of range.

We were silently truncating, which made an obvious problem
into a non-obvious one.

Bug: http://code.google.com/p/android/issues/detail?id=40409
Change-Id: I15576357c72ac0e98cf85c0a1d289fd5009468f9

11 years agoam 48b95902: Merge "Possible leak in dvmAllocRegion"
Elliott Hughes [Mon, 17 Dec 2012 17:29:55 +0000 (09:29 -0800)]
am 48b95902: Merge "Possible leak in dvmAllocRegion"

* commit '48b9590264d6f7ca683385c6fac6d98e6d9735fb':
  Possible leak in dvmAllocRegion

11 years agoRemove dead code.
Elliott Hughes [Mon, 17 Dec 2012 17:21:54 +0000 (09:21 -0800)]
Remove dead code.

Change-Id: I56c27c510c8fc0ba2d8e691c788b433dce250f7a

11 years agoMerge "Possible leak in dvmAllocRegion"
Elliott Hughes [Mon, 17 Dec 2012 17:16:35 +0000 (09:16 -0800)]
Merge "Possible leak in dvmAllocRegion"

11 years agoam 193a551a: Merge "Fix handling of annotations whose classes are missing at runtime."
Elliott Hughes [Mon, 17 Dec 2012 17:15:40 +0000 (09:15 -0800)]
am 193a551a: Merge "Fix handling of annotations whose classes are missing at runtime."

* commit '193a551a1b699e96f5bc6ccdcba36aa175d1c4bd':
  Fix handling of annotations whose classes are missing at runtime.

11 years agoMerge "Fix handling of annotations whose classes are missing at runtime."
Elliott Hughes [Mon, 17 Dec 2012 17:09:01 +0000 (09:09 -0800)]
Merge "Fix handling of annotations whose classes are missing at runtime."

11 years agoFix handling of annotations whose classes are missing at runtime.
Elliott Hughes [Sat, 15 Dec 2012 01:27:24 +0000 (17:27 -0800)]
Fix handling of annotations whose classes are missing at runtime.

Bug: http://code.google.com/p/android/issues/detail?id=39854
Change-Id: I3089b693ff3084b093f991f991ac9273dea7356d

11 years agoPossible leak in dvmAllocRegion
You Kim [Mon, 17 Dec 2012 15:14:07 +0000 (00:14 +0900)]
Possible leak in dvmAllocRegion

In error case mmapped ptr 'base' is not munmapped.

Change-Id: I9e43841371fee6b7c092fe9a8922ae82e78805ed

11 years agoOptimize opcodes to avoid bubble in pipeline.
You Kim [Thu, 22 Nov 2012 14:51:38 +0000 (23:51 +0900)]
Optimize opcodes to avoid bubble in pipeline.

Possible bubbles between fetch(ldr) and extract(and)
Excute subsequent instruction(s) inbetween the bubble by reordering instruction.

Change-Id: I76d89ed6bc4ca44673231375cc529fdbfd5a8030

11 years agoam eeae8a89: Merge "ExceptionInInitializerError should wrap only non Error exceptions."
Elliott Hughes [Mon, 10 Dec 2012 23:21:47 +0000 (15:21 -0800)]
am eeae8a89: Merge "ExceptionInInitializerError should wrap only non Error exceptions."

* commit 'eeae8a8926f647133dc858661b5b167595cf7f30':
  ExceptionInInitializerError should wrap only non Error exceptions.

11 years agoMerge "ExceptionInInitializerError should wrap only non Error exceptions."
Elliott Hughes [Mon, 10 Dec 2012 23:05:11 +0000 (15:05 -0800)]
Merge "ExceptionInInitializerError should wrap only non Error exceptions."

11 years agoExceptionInInitializerError should wrap only non Error exceptions.
Elliott Hughes [Mon, 10 Dec 2012 22:51:07 +0000 (14:51 -0800)]
ExceptionInInitializerError should wrap only non Error exceptions.

Backport from dalvik-dev, due to customer demand.

Bug: http://code.google.com/p/android/issues/detail?id=41196
Change-Id: I53ef57e54983f2173546463ac78e265ff5dd3284

11 years agoam 74eb48fe: Merge "Don\'t cache failures in the interface cache."
Elliott Hughes [Fri, 7 Dec 2012 20:19:02 +0000 (12:19 -0800)]
am 74eb48fe: Merge "Don\'t cache failures in the interface cache."

* commit '74eb48fe1a362b763461bf36d31c9d901a7866b6':
  Don't cache failures in the interface cache.

11 years agoam c2228b7f: Merge "Remove dvmFindInterfaceMethodInCache2."
Elliott Hughes [Fri, 7 Dec 2012 20:19:01 +0000 (12:19 -0800)]
am c2228b7f: Merge "Remove dvmFindInterfaceMethodInCache2."

* commit 'c2228b7feb1ed2b143666ae1a664c1cc4188ec48':
  Remove dvmFindInterfaceMethodInCache2.

11 years agoMerge "Don't cache failures in the interface cache."
Elliott Hughes [Fri, 7 Dec 2012 00:43:18 +0000 (16:43 -0800)]
Merge "Don't cache failures in the interface cache."

11 years agoDon't cache failures in the interface cache.
Elliott Hughes [Fri, 7 Dec 2012 00:33:38 +0000 (16:33 -0800)]
Don't cache failures in the interface cache.

If we try to reuse a failure, we'll be holding a NULL Method* without
the current thread having the appropriate exception pending, which will
lead to a SIGSEGV.

I've added a corresponding vm-test to cts/.

Bug: http://code.google.com/p/android/issues/detail?id=29358
Change-Id: I044e438c46fce256c8eff2dac5d86778734d5614

11 years agoMerge "Remove dvmFindInterfaceMethodInCache2."
Elliott Hughes [Thu, 6 Dec 2012 23:37:19 +0000 (15:37 -0800)]
Merge "Remove dvmFindInterfaceMethodInCache2."

11 years agoRemove dvmFindInterfaceMethodInCache2.
Elliott Hughes [Thu, 6 Dec 2012 23:24:32 +0000 (15:24 -0800)]
Remove dvmFindInterfaceMethodInCache2.

We can just use dvmFindInterfaceMethodInCache directly.

Change-Id: I2f3a660262ba7a39c05689df160ebdd2e7ec38a5

11 years agoam 318e4faf: Merge "JIT: Performance fix for const doubles"
Elliott Hughes [Fri, 30 Nov 2012 22:59:12 +0000 (14:59 -0800)]
am 318e4faf: Merge "JIT: Performance fix for const doubles"

* commit '318e4faf2a3c3b6a7b4bc442c9220160f21972e3':
  JIT: Performance fix for const doubles

11 years agoMerge "JIT: Performance fix for const doubles"
Elliott Hughes [Fri, 30 Nov 2012 22:52:23 +0000 (14:52 -0800)]
Merge "JIT: Performance fix for const doubles"

11 years agoJIT: Performance fix for const doubles
buzbee [Fri, 30 Nov 2012 14:46:45 +0000 (06:46 -0800)]
JIT: Performance fix for const doubles

Some recent Arm processors take a performance hit when
creating a floating point double by loading it as a pair of singles.
Legacy code to support soft floating point doubles as a pair of core
registers loaded double immediates in this way.

With the CL, we handle double immediates as a single unit.

(cherry-pick of c8129911e598ad0ca8d7b31012444ab6ce8bce45.)

Change-Id: Ic1512e34bfd233a6f5ffd58ce843965adbbad875

11 years agoam c375ac33: Merge "Use ALOGE rather than SLOGE for mountEmulatedStorage failures."
Elliott Hughes [Fri, 30 Nov 2012 20:39:50 +0000 (12:39 -0800)]
am c375ac33: Merge "Use ALOGE rather than SLOGE for mountEmulatedStorage failures."

* commit 'c375ac332911cfea8e6570e2681cf79ad5220edb':
  Use ALOGE rather than SLOGE for mountEmulatedStorage failures.

11 years agoMerge "Use ALOGE rather than SLOGE for mountEmulatedStorage failures."
Elliott Hughes [Fri, 30 Nov 2012 19:46:25 +0000 (11:46 -0800)]
Merge "Use ALOGE rather than SLOGE for mountEmulatedStorage failures."

11 years agoUse ALOGE rather than SLOGE for mountEmulatedStorage failures.
Elliott Hughes [Fri, 30 Nov 2012 19:36:25 +0000 (11:36 -0800)]
Use ALOGE rather than SLOGE for mountEmulatedStorage failures.

Otherwise the actual failure isn't in logcat, and all you see there
is the rather confusing:

  E dalvikvm: cannot mountExternalStorage(): Success

Change-Id: I10c96748b5ff5b6c3877312e7bdb2641026b4489

11 years agoam 0b4e2c8c: Merge "remove duplicated call to dvmJitCalleeSave()"
Elliott Hughes [Thu, 29 Nov 2012 17:11:00 +0000 (09:11 -0800)]
am 0b4e2c8c: Merge "remove duplicated call to dvmJitCalleeSave()"

* commit '0b4e2c8cd485551a764910864fa1fdac389ce8bf':
  remove duplicated call to dvmJitCalleeSave()

11 years agoMerge "remove duplicated call to dvmJitCalleeSave()"
Elliott Hughes [Thu, 29 Nov 2012 16:57:40 +0000 (08:57 -0800)]
Merge "remove duplicated call to dvmJitCalleeSave()"

11 years agoremove duplicated call to dvmJitCalleeSave()
Rocky Zhang [Thu, 29 Nov 2012 00:02:29 +0000 (08:02 +0800)]
remove duplicated call to dvmJitCalleeSave()

Change-Id: Ib7b5f637a22fd5ba60bdb45cd34ac8c1781c7bd3
Signed-off-by: Rocky Zhang <zhangyan.hit@gmail.com>
11 years agoam 32155bb0: Merge "[MIPS] Fix DDMS(profiling) bug."
Elliott Hughes [Tue, 27 Nov 2012 22:55:16 +0000 (14:55 -0800)]
am 32155bb0: Merge "[MIPS] Fix DDMS(profiling) bug."

* commit '32155bb0b07f3865173978f488d775e59a471b81':
  [MIPS] Fix DDMS(profiling) bug.

11 years agoam 7f98dcfc: Merge "[MIPS] Fix several profiling issues caused by incorrect register...
Elliott Hughes [Tue, 27 Nov 2012 22:55:15 +0000 (14:55 -0800)]
am 7f98dcfc: Merge "[MIPS] Fix several profiling issues caused by incorrect register saves"

* commit '7f98dcfc19848e061ed1291190c5619b092a3fb0':
  [MIPS] Fix several profiling issues caused by incorrect register saves

11 years agoam 49761fc0: Merge "[MIPS] Fixing FP registers fs0 and fs1 corruption bug."
Elliott Hughes [Tue, 27 Nov 2012 22:39:22 +0000 (14:39 -0800)]
am 49761fc0: Merge "[MIPS] Fixing FP registers fs0 and fs1 corruption bug."

* commit '49761fc08d04f784f2499c05785cd5e524b9e431':
  [MIPS] Fixing FP registers fs0 and fs1 corruption bug.

11 years agoMerge "[MIPS] Fix DDMS(profiling) bug."
Elliott Hughes [Tue, 27 Nov 2012 22:37:03 +0000 (14:37 -0800)]
Merge "[MIPS] Fix DDMS(profiling) bug."

11 years agoMerge "[MIPS] Fix several profiling issues caused by incorrect register saves"
Elliott Hughes [Tue, 27 Nov 2012 22:36:45 +0000 (14:36 -0800)]
Merge "[MIPS] Fix several profiling issues caused by incorrect register saves"

11 years agoMerge "[MIPS] Fixing FP registers fs0 and fs1 corruption bug."
Elliott Hughes [Tue, 27 Nov 2012 22:35:39 +0000 (14:35 -0800)]
Merge "[MIPS] Fixing FP registers fs0 and fs1 corruption bug."

11 years agoam a6f7a22e: (-s ours) Merge jb-mr1-dev into aosp/master - do not merge
The Android Open Source Project [Tue, 27 Nov 2012 16:22:36 +0000 (08:22 -0800)]
am a6f7a22e: (-s ours) Merge jb-mr1-dev into aosp/master - do not merge

* commit 'a6f7a22e9902ce6e550ca0650caaecb69d963135':

11 years agoMerge jb-mr1-dev into aosp/master - do not merge
The Android Open Source Project [Tue, 27 Nov 2012 16:20:15 +0000 (08:20 -0800)]
Merge jb-mr1-dev into aosp/master - do not merge

Change-Id: Idf370f9acc8ecddd2d9c73a41691c65da457ffc0

11 years ago[MIPS] Fixing FP registers fs0 and fs1 corruption bug.
Douglas Leung [Tue, 27 Nov 2012 02:57:38 +0000 (18:57 -0800)]
[MIPS] Fixing FP registers fs0 and fs1 corruption bug.

For performance reasons, we don't want to use "callee saved" FP registers.
The fix is to just use temporary FP registers instead.

Change-Id: Ifae20c707ff7022905a080892348bfbc151e4935
Signed-off-by: Douglas Leung <douglas@mips.com>
11 years ago[MIPS] Fix DDMS(profiling) bug.
Douglas Leung [Thu, 22 Nov 2012 03:13:14 +0000 (19:13 -0800)]
[MIPS] Fix DDMS(profiling) bug.

Change-Id: I47e87d600dc6eb529bf1ae9c8cc2b81910b9513c
Signed-off-by: Douglas Leung <douglas@mips.com>
11 years ago[MIPS] Fix several profiling issues caused by incorrect register saves
Chris Dearman [Thu, 22 Nov 2012 03:08:34 +0000 (19:08 -0800)]
[MIPS] Fix several profiling issues caused by incorrect register saves

rTEMP is used by the JAL and JALR macros so it needs to be preserved
if it is holding some other useful value. No need to save ra in rTEMP
if using JAL/JALR macros.

Change-Id: I1bf8c3b044faa944021b4331e0a71c1489b70241
Signed-off-by: Douglas Leung <douglas@mips.com>
Signed-off-by: Chris Dearman <chris@mips.com>
11 years agoam f118a9fc: am a3df5b58: am b6f4e037: am afe3a013: (-s ours) am 288f2280: Revert...
Yohann Roussel [Mon, 12 Nov 2012 20:16:36 +0000 (12:16 -0800)]
am f118a9fc: am a3df5b58: am b6f4e037: am afe3a013: (-s ours) am 288f2280: Revert "Fix alignment when recompacting a DexMerger result. do not merge."

* commit 'f118a9fce9f661406835d4e218db91b04bd923dc':
  Revert "Fix alignment when recompacting a DexMerger result. do not merge."

11 years agoam 96cdc4ca: am ce0723cc: am 437f58a5: am 2d2f13c5: (-s ours) am 707ebe9f: Fix alignm...
yroussel [Mon, 12 Nov 2012 20:16:35 +0000 (12:16 -0800)]
am 96cdc4ca: am ce0723cc: am 437f58a5: am 2d2f13c5: (-s ours) am 707ebe9f: Fix alignment when recompacting a DexMerger result. do not merge.

* commit '96cdc4cacdae25302cb5ec79e43063140411cbb7':
  Fix alignment when recompacting a DexMerger result. do not merge.