OSDN Git Service

android-x86/dalvik.git
11 years agoMerge "Don't crash if the dmtracedump -d file doesn't exist."
Elliott Hughes [Wed, 6 Mar 2013 16:35:01 +0000 (16:35 +0000)]
Merge "Don't crash if the dmtracedump -d file doesn't exist."

11 years agoDon't crash if the dmtracedump -d file doesn't exist.
Elliott Hughes [Wed, 6 Mar 2013 06:42:37 +0000 (22:42 -0800)]
Don't crash if the dmtracedump -d file doesn't exist.

Change-Id: Ie4b504b43a8a61d09ca60d68b1a62694391ac223

11 years agoMerge "Fix -Xjitthreshold (for real this time)."
Elliott Hughes [Fri, 1 Mar 2013 19:05:44 +0000 (19:05 +0000)]
Merge "Fix -Xjitthreshold (for real this time)."

11 years agoFix -Xjitthreshold (for real this time).
Elliott Hughes [Fri, 1 Mar 2013 18:45:01 +0000 (10:45 -0800)]
Fix -Xjitthreshold (for real this time).

My previous "fix" (c89d83e1c05979b68037ad15413fa4460a88e36f) had the
conditions reversed, so you _had_ to use -Xjitthreshold to get a non-zero
threshold, but when you did, you'd get the default instead of what you
asked for!

This was spotted by the jank tests.

Bug: 8285558
Bug: https://code.google.com/p/android/issues/detail?id=52017
Change-Id: I28270f2573d46929eb10d30789fecf7d5a8cea75

11 years agoMerge "Zygote: use proper header file."
Nick Kralevich [Wed, 27 Feb 2013 23:25:18 +0000 (23:25 +0000)]
Merge "Zygote: use proper header file."

11 years agoMerge "Remove CAP_NET_RAW from zygote"
Nick Kralevich [Wed, 27 Feb 2013 21:24:09 +0000 (21:24 +0000)]
Merge "Remove CAP_NET_RAW from zygote"

11 years agoRemove CAP_NET_RAW from zygote
Nick Kralevich [Wed, 27 Feb 2013 20:59:06 +0000 (12:59 -0800)]
Remove CAP_NET_RAW from zygote

ping no longer needs CAP_NET_RAW. See:

* http://lwn.net/Articles/443051/
* https://android-review.googlesource.com/52090
* https://android-review.googlesource.com/52072

Eliminate the CAP_NET_RAW special case in zygote.

Change-Id: Ie4b1d2b65a27051bbd2825d288f9838762ae31c8

11 years agoZygote: use proper header file.
Nick Kralevich [Wed, 27 Feb 2013 00:20:11 +0000 (16:20 -0800)]
Zygote: use proper header file.

capset is defined in <sys/capability.h>

Change-Id: Ifb340cfb3506830242749456706d4eddb73fb2aa

11 years agoMerge "Fix -Xjitthreshold."
Elliott Hughes [Tue, 26 Feb 2013 01:24:30 +0000 (01:24 +0000)]
Merge "Fix -Xjitthreshold."

11 years agoFix -Xjitthreshold.
Elliott Hughes [Tue, 26 Feb 2013 01:04:06 +0000 (17:04 -0800)]
Fix -Xjitthreshold.

Previously, we'd always overwrite the user-supplied value because
the architecture-specific default gets set so late.

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

11 years agoMerge "Abstract methods aren't implementations."
Elliott Hughes [Sat, 23 Feb 2013 01:32:09 +0000 (01:32 +0000)]
Merge "Abstract methods aren't implementations."

11 years agoAbstract methods aren't implementations.
Elliott Hughes [Sat, 23 Feb 2013 01:04:54 +0000 (17:04 -0800)]
Abstract methods aren't implementations.

We should only be checking the visibility of actual implementations
of interface methods. Intervening abstract methods are allowed to
be non-public.

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

11 years agoMerge "Zygote: replace set?id() with setres?id()"
Nick Kralevich [Wed, 20 Feb 2013 22:29:22 +0000 (22:29 +0000)]
Merge "Zygote: replace set?id() with setres?id()"

11 years agoZygote: replace set?id() with setres?id()
Nick Kralevich [Wed, 20 Feb 2013 21:56:11 +0000 (13:56 -0800)]
Zygote: replace set?id() with setres?id()

setuid -> setresuid()
setgid -> setresgid()

Change-Id: I319a6a0ea63cf5bd3755ec8371064365be30872b

11 years agoMerge "Expand test 004-annotations to cover package annotations."
Elliott Hughes [Wed, 20 Feb 2013 19:50:04 +0000 (19:50 +0000)]
Merge "Expand test 004-annotations to cover package annotations."

11 years agoExpand test 004-annotations to cover package annotations.
Elliott Hughes [Wed, 20 Feb 2013 19:19:32 +0000 (11:19 -0800)]
Expand test 004-annotations to cover package annotations.

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

11 years agoMerge "Added missing initialization of modLock when DvmDex structures are allocated."
Elliott Hughes [Tue, 19 Feb 2013 19:01:26 +0000 (19:01 +0000)]
Merge "Added missing initialization of modLock when DvmDex structures are allocated."

11 years agoAdded missing initialization of modLock when DvmDex structures are allocated.
msg555 [Tue, 19 Feb 2013 14:47:28 +0000 (09:47 -0500)]
Added missing initialization of modLock when DvmDex structures are allocated.

The structure is zeroed with dvmAllocRegion (use to be calloc) which for most
implementations of pthreads behaves correctly as if initialized. However, an explicit
initialization is more correct.

Change-Id: I172fed73c2a8a6962d720f78c60436b4f58cc168

11 years agoMerge "Move the arraycopy implementation out of bionic and into dalvik."
Elliott Hughes [Fri, 15 Feb 2013 23:22:05 +0000 (23:22 +0000)]
Merge "Move the arraycopy implementation out of bionic and into dalvik."

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: address comments from previous review."
Nick Kralevich [Thu, 14 Feb 2013 19:11:46 +0000 (19:11 +0000)]
Merge "Zygote: address comments from previous review."

11 years agoZygote: address comments from previous review.
Nick Kralevich [Thu, 14 Feb 2013 19:00:33 +0000 (11:00 -0800)]
Zygote: address comments from previous review.

Previous review at https://android-review.googlesource.com/51731

Change-Id: Idfe6c95976cc8f82ec473bcb630678fa9ec9486a

11 years agoMerge "Zygote: limit the bounding capability set to CAP_NET_RAW"
Nick Kralevich [Thu, 14 Feb 2013 18:50:37 +0000 (18:50 +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 [Thu, 14 Feb 2013 17:56:41 +0000 (09:56 -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.

If the kernel doesn't support file capabilities, we
end up printing approx 30 lines of warning messages. Hopefully
this will encourage kernel developers to upgrade. In a future
change, we can turn a prctl(PR_CAPBSET_DROP) failure into
a fatal error.

Change-Id: I8560fa5ad125bf31f0d13be513431697bc7d22bb

11 years agoMerge "Remove stray references to non-existent opcodes."
Elliott Hughes [Thu, 14 Feb 2013 18:20:14 +0000 (18:20 +0000)]
Merge "Remove stray references to non-existent opcodes."

11 years agoRemove stray references to non-existent opcodes.
Elliott Hughes [Thu, 14 Feb 2013 18:09:00 +0000 (10:09 -0800)]
Remove stray references to non-existent opcodes.

Change-Id: I83ca6ea12344a8df7ef14d600baf5060b76870f5

11 years agoMerge "Revert "Zygote: limit the bounding capability set to CAP_NET_RAW""
Elliott Hughes [Thu, 14 Feb 2013 01:29:29 +0000 (01:29 +0000)]
Merge "Revert "Zygote: limit the bounding capability set to CAP_NET_RAW""

11 years agoRevert "Zygote: limit the bounding capability set to CAP_NET_RAW"
Elliott Hughes [Thu, 14 Feb 2013 01:29:19 +0000 (01:29 +0000)]
Revert "Zygote: limit the bounding capability set to CAP_NET_RAW"

This reverts commit 921e9aea72bc2aa99a52ccdb90573bbd3bf3508f, which prevents the emulator from booting.

Change-Id: I73b7afba38d4087d552dd685c56d4e5ddb3103cf

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.