OSDN Git Service

android-x86/dalvik.git
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 agoam e61da40b: Merge "Zygote: address comments from previous review."
Nick Kralevich [Thu, 14 Feb 2013 19:23:49 +0000 (11:23 -0800)]
am e61da40b: Merge "Zygote: address comments from previous review."

# Via Gerrit Code Review (1) and Nick Kralevich (1)
* commit 'e61da40b35ed522d88da272b8e8b87a15c1eab76':
  Zygote: address comments from previous review.

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 agoam d43bc05e: Merge "Zygote: limit the bounding capability set to CAP_NET_RAW"
Nick Kralevich [Thu, 14 Feb 2013 19:09:50 +0000 (11:09 -0800)]
am d43bc05e: Merge "Zygote: limit the bounding capability set to CAP_NET_RAW"

# Via Gerrit Code Review (1) and Nick Kralevich (1)
* commit 'd43bc05e7b3fe5f7baaadb8de2510658df610e7d':
  Zygote: limit the bounding capability set to CAP_NET_RAW

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 agoam 43654a84: Merge "Remove stray references to non-existent opcodes."
Elliott Hughes [Thu, 14 Feb 2013 18:28:33 +0000 (10:28 -0800)]
am 43654a84: Merge "Remove stray references to non-existent opcodes."

# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '43654a84878e5d320453bb998fa00284a5366dde':
  Remove stray references to non-existent opcodes.

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 agoam 2d28dc96: Merge "Revert "Zygote: limit the bounding capability set to CAP_NET_RAW""
Elliott Hughes [Thu, 14 Feb 2013 01:46:26 +0000 (17:46 -0800)]
am 2d28dc96: Merge "Revert "Zygote: limit the bounding capability set to CAP_NET_RAW""

# Via Gerrit Code Review
* commit '2d28dc96680059afeba8910a539782f29613e06a':
  Revert "Zygote: limit the bounding capability set to CAP_NET_RAW"

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 agoam 6686e50b: Merge "Zygote: limit the bounding capability set to CAP_NET_RAW"
Nick Kralevich [Wed, 13 Feb 2013 21:59:48 +0000 (13:59 -0800)]
am 6686e50b: Merge "Zygote: limit the bounding capability set to CAP_NET_RAW"

# Via Gerrit Code Review (1) and Nick Kralevich (1)
* commit '6686e50b2135dfef88c2f0ee0cfa9a3e0d7ad980':
  Zygote: limit the bounding capability set to CAP_NET_RAW

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 agoFix JIT bug related to immediate doubles
buzbee [Tue, 12 Feb 2013 00:52:31 +0000 (16:52 -0800)]
Fix JIT bug related to immediate doubles

Change 256211 (JIT: Performance Fix for const doubles) introduced a
defect that can cause the JIT to use the wrong floating point
double constant in traces in which the following conditions hold:

   o Two (or more) different 64-bit floating point constants are used.
   o The physical register holding the first constant is still live
     at the time the second constant is used.
   o The low 32 bits of the two constants are identical.

In this situation, the load/copy optimization pass will incorrectly
determine that the two constants are the same, delete the load of
the second constant and re-use the first constant value.

Note: this problem only occurs with 64-bit floating point literals.
64-bit long literals are unaffected.

This CL works around the problem, and a subsequent CL will rework
disambiguation of 64-bit immediates in a somewhat cleaner fashion.

Change-Id: I33baf78402bab58d9b0ca46189f26491c2b2a751

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

# Via Android Git Automerger (1) and others
* commit '896f17741aa4d897dcd9a7cb08bbbcbff93dbc60':
  Use execv from Libcore

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 5d89bdf5: am ecc334ea: Merge "Fix a tracked reference leak in dvmGenerateProxyClass."
Elliott Hughes [Tue, 5 Feb 2013 20:53:35 +0000 (12:53 -0800)]
am 5d89bdf5: am ecc334ea: Merge "Fix a tracked reference leak in dvmGenerateProxyClass."

# Via Android Git Automerger (1) and others
* commit '5d89bdf5518e82422a726a68cf13d8cd60879596':
  Fix a tracked reference leak in dvmGenerateProxyClass.

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 4e9fc028: am ad9811c9: Merge "Remove dead instruction in common_exceptionThrown."
Jeff Hao [Mon, 4 Feb 2013 19:29:32 +0000 (11:29 -0800)]
am 4e9fc028: am ad9811c9: Merge "Remove dead instruction in common_exceptionThrown."

# Via Android Git Automerger (1) and others
* commit '4e9fc0288d40c5b158f3212958d7331b230e9162':
  Remove dead instruction in common_exceptionThrown.

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 25ce21cf: am a43a4d37: am 8828aee2: Merge "dvz: remove dead code."
Nick Kralevich [Tue, 29 Jan 2013 20:24:52 +0000 (12:24 -0800)]
am 25ce21cf: am a43a4d37: am 8828aee2: Merge "dvz: remove dead code."

# Via Android Git Automerger (2) and others
* commit '25ce21cfa0928ff2ba4a64f4bf993f3d50966839':
  dvz: remove dead code.

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 25038b58: am af6fe2d2: am 604d7243: Merge "rTEMP gets clobbered in the JALR macro...
Elliott Hughes [Wed, 23 Jan 2013 01:12:13 +0000 (17:12 -0800)]
am 25038b58: am af6fe2d2: am 604d7243: Merge "rTEMP gets clobbered in the JALR macro. Use t9 instead."

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

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 793fbb71: am e59bd16c: am 8b0367ca: Merge "Fix DDMS crash"
Ian Rogers [Tue, 15 Jan 2013 02:01:48 +0000 (18:01 -0800)]
am 793fbb71: am e59bd16c: am 8b0367ca: Merge "Fix DDMS crash"

* commit '793fbb71e7c8b33cbd8f67c81553a06af6dcfe60':
  Fix DDMS crash

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 agofix DDMS crash
Tim Murray [Mon, 14 Jan 2013 22:09:33 +0000 (14:09 -0800)]
fix DDMS crash

Change-Id: Ic5edd3d9367db8570523e1380c3e6edfabeec2c0

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

* commit '80cf74ee95cbf1afa427226943fa9d578b8c6ed1':
  DexDump: Leak in FieldMethodInfo.signature

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 agoam 2f75f9ea: (-s ours) am 8b135734: am cbac7aed: am 51997559: Fail if the new index...
jwilson [Thu, 3 Jan 2013 00:34:41 +0000 (16:34 -0800)]
am 2f75f9ea: (-s ours) am 8b135734: am cbac7aed: am 51997559: Fail if the new index is out of range. do not merge.

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

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 agoam adfb17a5: am d0380673: Merge "Support System.loadLibrary for libraries with transi...
Elliott Hughes [Fri, 28 Dec 2012 17:48:18 +0000 (09:48 -0800)]
am adfb17a5: am d0380673: Merge "Support System.loadLibrary for libraries with transitive dependencies."

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

11 years agoam 3634efb8: am 2e5f16bf: Merge "Fix a forecopy/forcecopy typo."
Elliott Hughes [Fri, 28 Dec 2012 17:48:10 +0000 (09:48 -0800)]
am 3634efb8: am 2e5f16bf: Merge "Fix a forecopy/forcecopy typo."

* commit '3634efb898a39322dbb715a5358f76ef5a8eacae':
  Fix a forecopy/forcecopy typo.

11 years agoam 6dc914df: am 47160283: Merge "Add JNI statistics to the SIGQUIT output."
Elliott Hughes [Fri, 28 Dec 2012 17:47:25 +0000 (09:47 -0800)]
am 6dc914df: am 47160283: Merge "Add JNI statistics to the SIGQUIT output."

* commit '6dc914df7a2db3082c44d79bb972d1a07693d7be':
  Add JNI statistics to the SIGQUIT output.

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 5aca5172: am 5155b31c: Merge "Change NewDirectByteBuffer to allow NULL if capacity...
Elliott Hughes [Thu, 20 Dec 2012 19:06:49 +0000 (11:06 -0800)]
am 5aca5172: am 5155b31c: Merge "Change NewDirectByteBuffer to allow NULL if capacity == 0."

* commit '5aca5172a19aa440446c6b310e1fc599f9421866':
  Change NewDirectByteBuffer to allow NULL if capacity == 0.

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 agoam 92f5ec96: resolved conflicts for merge of e016e80c to jb-mr1-dev-plus-aosp
Ying Wang [Wed, 19 Dec 2012 22:50:34 +0000 (14:50 -0800)]
am 92f5ec96: resolved conflicts for merge of e016e80c to jb-mr1-dev-plus-aosp

* commit '92f5ec962e69bc0788b53c16a469ca48e64223e7':

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 5df36312: am a20a1fd6: Merge "Optimize dvmHash Loops."
Elliott Hughes [Wed, 19 Dec 2012 20:34:43 +0000 (12:34 -0800)]
am 5df36312: am a20a1fd6: Merge "Optimize dvmHash Loops."

* commit '5df36312d3e51be2812092de850bf4927092ce89':
  Optimize dvmHash Loops.

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 fbe2baf6: am 72d8557f: Merge "Optimize opcodes to avoid bubble in pipeline."
Elliott Hughes [Mon, 17 Dec 2012 21:53:11 +0000 (13:53 -0800)]
am fbe2baf6: am 72d8557f: Merge "Optimize opcodes to avoid bubble in pipeline."

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

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 6014a37f: am 78798c71: Merge "Remove possilbe leaks in dalvik."
Elliott Hughes [Mon, 17 Dec 2012 19:21:29 +0000 (11:21 -0800)]
am 6014a37f: am 78798c71: Merge "Remove possilbe leaks in dalvik."

* commit '6014a37f244671117800ea0cc9fcf18dfd77c615':
  Remove possilbe leaks in dalvik.

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 agoam 4b93195e: am 538831ea: Merge "Reclaiming attribute obj after pthread_create"
Elliott Hughes [Mon, 17 Dec 2012 19:00:02 +0000 (11:00 -0800)]
am 4b93195e: am 538831ea: Merge "Reclaiming attribute obj after pthread_create"

* commit '4b93195e487eae53f73aca47b8cce2acbcb5f33d':
  Reclaiming attribute obj after pthread_create

11 years agoam 61e745d1: am d9e08aae: Merge "Remove dead code."
Elliott Hughes [Mon, 17 Dec 2012 19:00:01 +0000 (11:00 -0800)]
am 61e745d1: am d9e08aae: Merge "Remove dead code."

* commit '61e745d10590a96c08d15d2e14d8bde5b0eddd7b':
  Remove dead code.

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 40e874ee: am 0e84ab50: Merge "Fail if the new index is out of range."
Elliott Hughes [Mon, 17 Dec 2012 18:39:25 +0000 (10:39 -0800)]
am 40e874ee: am 0e84ab50: Merge "Fail if the new index is out of range."

* commit '40e874ee76ef2126e48aab73f87b96138ce5c6e7':
  Fail if the new index is out of range.

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 3145fe89: am 48b95902: Merge "Possible leak in dvmAllocRegion"
Elliott Hughes [Mon, 17 Dec 2012 17:32:41 +0000 (09:32 -0800)]
am 3145fe89: am 48b95902: Merge "Possible leak in dvmAllocRegion"

* commit '3145fe8969fdd0993b47eb27339f06be44198d86':
  Possible leak in dvmAllocRegion

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 agoam 023fad2a: am 193a551a: Merge "Fix handling of annotations whose classes are missin...
Elliott Hughes [Mon, 17 Dec 2012 17:17:29 +0000 (09:17 -0800)]
am 023fad2a: am 193a551a: Merge "Fix handling of annotations whose classes are missing at runtime."

* commit '023fad2a6f7c600d56222c95980d83b5e7f8b9e4':
  Fix handling of annotations whose classes are missing at runtime.