OSDN Git Service

android-x86/dalvik.git
11 years agoMerge "Fix Class.getDex."
Elliott Hughes [Wed, 31 Jul 2013 17:47:22 +0000 (17:47 +0000)]
Merge "Fix Class.getDex."

11 years agoShow size/alloc/free per Dalvik heap space in dumpsys
Hiroshi Yamauchi [Mon, 15 Jul 2013 21:20:41 +0000 (14:20 -0700)]
Show size/alloc/free per Dalvik heap space in dumpsys

Add the heap size/alloc/free stats to the Dalvik heap space breakdown section in dumpsys meminfo.

Also, now the zygote heap has a distict ashmem region name.

Bug: 9532137
Bug: 8266259

(cherry picked from commit 3edfe0b32753309ad7dcccd894239cb0a8aefb85)

Change-Id: I9b32727e4211f571a5205b6b7281958514d245d4

11 years agoam 73a09433: Merge "Minor code cleanup to address warnings found by Clang."
Ben Cheng [Mon, 29 Jul 2013 20:40:51 +0000 (13:40 -0700)]
am 73a09433: Merge "Minor code cleanup to address warnings found by Clang."

* commit '73a0943392a2927dae96195f5293940877f11c05':
  Minor code cleanup to address warnings found by Clang.

11 years agoMerge "Minor code cleanup to address warnings found by Clang."
Ben Cheng [Mon, 29 Jul 2013 20:29:27 +0000 (20:29 +0000)]
Merge "Minor code cleanup to address warnings found by Clang."

11 years agoMinor code cleanup to address warnings found by Clang.
Ben Cheng [Fri, 26 Jul 2013 16:46:06 +0000 (09:46 -0700)]
Minor code cleanup to address warnings found by Clang.

cherry-picked from internal Android branch
55617c82a73d84ff3695bdd5526159448262d009

Change-Id: I0f78ca6b8293c13d7dbb535556543f6ea9f4dd45

11 years agoam 4550b42e: Merge "Implement the dalvik side of libcore.reflect."
Elliott Hughes [Mon, 29 Jul 2013 20:17:48 +0000 (13:17 -0700)]
am 4550b42e: Merge "Implement the dalvik side of libcore.reflect."

* commit '4550b42e776ecfe26b0b5538d14a4d57342b5ce0':
  Implement the dalvik side of libcore.reflect.

11 years agoMerge "Implement the dalvik side of libcore.reflect."
Elliott Hughes [Mon, 29 Jul 2013 20:06:13 +0000 (20:06 +0000)]
Merge "Implement the dalvik side of libcore.reflect."

11 years agoam fb1d9461: Merge "dx.bat: Don\'t change directory."
Elliott Hughes [Mon, 29 Jul 2013 19:57:23 +0000 (12:57 -0700)]
am fb1d9461: Merge "dx.bat: Don\'t change directory."

* commit 'fb1d9461a57c67a7fcf1f8667d9fa65b609d2f61':
  dx.bat: Don't change directory.

11 years agoMerge "dx.bat: Don't change directory."
Elliott Hughes [Mon, 29 Jul 2013 19:49:36 +0000 (19:49 +0000)]
Merge "dx.bat: Don't change directory."

11 years agoImplement the dalvik side of libcore.reflect.
Elliott Hughes [Fri, 26 Jul 2013 00:43:39 +0000 (17:43 -0700)]
Implement the dalvik side of libcore.reflect.

(Cherry-pick of b4d5cf78d4731ffc6211d07a0d69c92c559ba792.)

Change-Id: I5d1b41f029c9c49a2d60a066a5fb0ed0f52f4b52

11 years agodx.bat: Don't change directory.
Ray Donnelly [Fri, 3 May 2013 00:41:36 +0000 (01:41 +0100)]
dx.bat: Don't change directory.

Changing directory to that of dx.bat prevents dx.bat from being
used with relative directories. This leads to all sorts of
issues integrating it with build systems that expect this to
work.

I've tested that this change works under the following conditions:
1. Android SDK in a path containing spaces.
2. java.exe in a path containing spaces.
3. Java object files in a path containing spaces.
4. Output jar file in a path containing spaces.
5. Java object files specified with relative paths.
6. Java object files specified with absolute paths.
7. Output jar file specified with relative paths.
8. Output jar file specified with absolute paths.

Change-Id: I1b47a6cc73169607cc6238acf197e3b467c9bcbc

11 years agoImplement the dalvik side of libcore.reflect.
Elliott Hughes [Fri, 26 Jul 2013 00:43:39 +0000 (17:43 -0700)]
Implement the dalvik side of libcore.reflect.

Change-Id: I9ef0da6f715e2727d8530aa7a8edee97b5bfa48d

11 years agoMerge "libenc: remove libutils dependency"
Alex Ray [Wed, 24 Jul 2013 05:13:45 +0000 (05:13 +0000)]
Merge "libenc: remove libutils dependency"

11 years agoMerge "add static dependency on liblog"
Colin Cross [Wed, 24 Jul 2013 01:05:04 +0000 (01:05 +0000)]
Merge "add static dependency on liblog"

11 years agolibenc: remove libutils dependency
Alex Ray [Wed, 24 Jul 2013 00:48:05 +0000 (17:48 -0700)]
libenc: remove libutils dependency

Change-Id: I679fd6f06e007921251d15d7003615d7b0d91c52

11 years agoadd static dependency on liblog
Colin Cross [Wed, 24 Jul 2013 00:45:23 +0000 (17:45 -0700)]
add static dependency on liblog

Change-Id: Id431382f0fc71ef126dd35e5949d5de2abe2b785

11 years agoMerge "libdvm: move thread definitions dependency"
Alex Ray [Wed, 24 Jul 2013 00:38:25 +0000 (00:38 +0000)]
Merge "libdvm: move thread definitions dependency"

11 years agolibdvm: move thread definitions dependency
Alex Ray [Wed, 24 Jul 2013 00:17:50 +0000 (17:17 -0700)]
libdvm: move thread definitions dependency

Change-Id: I88351f5b1a8bd2dccab8ab86fd400ec707f5809a

11 years agoam beeeb788: am 05fa5fd5: Merge "Simplify merges of the annotation code."
Elliott Hughes [Tue, 23 Jul 2013 23:43:14 +0000 (16:43 -0700)]
am beeeb788: am 05fa5fd5: Merge "Simplify merges of the annotation code."

* commit 'beeeb78893dded91597a82b6dd9a7e4960f7549b':
  Simplify merges of the annotation code.

11 years agoam 05fa5fd5: Merge "Simplify merges of the annotation code."
Elliott Hughes [Tue, 23 Jul 2013 23:37:57 +0000 (16:37 -0700)]
am 05fa5fd5: Merge "Simplify merges of the annotation code."

* commit '05fa5fd5ce0921e8e2a8da5114c5b557434a28db':
  Simplify merges of the annotation code.

11 years agoMerge "Simplify merges of the annotation code."
Elliott Hughes [Tue, 23 Jul 2013 23:35:35 +0000 (23:35 +0000)]
Merge "Simplify merges of the annotation code."

11 years agoSimplify merges of the annotation code.
Elliott Hughes [Tue, 23 Jul 2013 23:17:22 +0000 (16:17 -0700)]
Simplify merges of the annotation code.

Change-Id: I9fd3b53032b2e6053094500571775ed2fb5edf78

11 years agoSuppress warning if JIT disabled
buzbee [Sun, 21 Jul 2013 18:45:37 +0000 (11:45 -0700)]
Suppress warning if JIT disabled

Setting gDvmJit.code_cache_size=0 disables the JIT, but also
causes a warning.  This change disables the JIT earlier in the
startup process, avoiding the warning.

Change-Id: Id6acd32dc0067218d503add90119008c953c4ea5

11 years agoAdd updateProcessState to VMRuntime
Mathieu Chartier [Thu, 18 Jul 2013 01:11:16 +0000 (18:11 -0700)]
Add updateProcessState to VMRuntime

updateProcessState is called from the ActivityManager. It is used in ART
to help determine GC behavior.

Change-Id: I65662708ffd8443fff0c3d0e320bf8922e22d7cf

11 years agoMerge "Backport native allocation tracking."
Mathieu Chartier [Tue, 16 Jul 2013 22:46:42 +0000 (22:46 +0000)]
Merge "Backport native allocation tracking."

11 years agoam 6986ad03: am bc03380a: Merge "Remove an assertion that JDWP packets are small."
Elliott Hughes [Tue, 16 Jul 2013 22:36:11 +0000 (15:36 -0700)]
am 6986ad03: am bc03380a: Merge "Remove an assertion that JDWP packets are small."

* commit '6986ad0343ebe4a7379a6d726005fa550b186b5d':
  Remove an assertion that JDWP packets are small.

11 years agoam bc03380a: Merge "Remove an assertion that JDWP packets are small."
Elliott Hughes [Tue, 16 Jul 2013 22:31:38 +0000 (15:31 -0700)]
am bc03380a: Merge "Remove an assertion that JDWP packets are small."

* commit 'bc03380a9d5565cdef0c4b4c41fdd19813b05799':
  Remove an assertion that JDWP packets are small.

11 years agoMerge "Remove an assertion that JDWP packets are small."
Elliott Hughes [Tue, 16 Jul 2013 20:45:54 +0000 (20:45 +0000)]
Merge "Remove an assertion that JDWP packets are small."

11 years agoRemove an assertion that JDWP packets are small.
Elliott Hughes [Tue, 16 Jul 2013 20:41:03 +0000 (13:41 -0700)]
Remove an assertion that JDWP packets are small.

Now we support longer allocation tracker runs, it's possible
to collect more than 1MiB of data.

Bug: 9871848
Change-Id: Ifb575538b97563ce909f7e0aa6840ccbd6e93569

11 years agoBackport native allocation tracking.
Mathieu Chartier [Mon, 15 Jul 2013 23:58:59 +0000 (16:58 -0700)]
Backport native allocation tracking.

From:
https://googleplex-android-review.googlesource.com/#/c/328818/

Change-Id: I5a930e629c5a2062f01f870b4a44dcd98cb4ffe9

11 years agoAdd low memory mode option.
Mathieu Chartier [Wed, 10 Jul 2013 00:30:51 +0000 (17:30 -0700)]
Add low memory mode option.

Added a low memory mode option which can be enabled by passing the
flag "-XX:LowMemoryMode" to the VM.

Changed dvmHeapSourceAlloc to use mspace_malloc and madvise page
aligned regions of allocations back to the kernel if low
memory mode is enabled. No measurable performance penalty on a
benchmark which does 4 million object allocations. This seems to
reduce the Dalvik total PSS by 10 - 15% on devices with
large bitmaps (such as manta or flo).

Another change is that cards are madvised instead of memset when
cleared if low memory mode is enabled. This saves a minor amount
of memory at the cost of having slightly more page faults.

Change-Id: I0c850bc370ebabf4393bff1c47d3257b2f1518d2

11 years agoam d9369dc7: am 57914adc: am 93c3b11e: Merge "Increase the default alloc tracker...
Elliott Hughes [Fri, 12 Jul 2013 01:57:44 +0000 (18:57 -0700)]
am d9369dc7: am 57914adc: am 93c3b11e: Merge "Increase the default alloc tracker maximum."

* commit 'd9369dc790004aedbd772737926329485f794548':
  Increase the default alloc tracker maximum.

11 years agoam 57914adc: am 93c3b11e: Merge "Increase the default alloc tracker maximum."
Elliott Hughes [Fri, 12 Jul 2013 01:55:50 +0000 (18:55 -0700)]
am 57914adc: am 93c3b11e: Merge "Increase the default alloc tracker maximum."

* commit '57914adc7e0e09a74015c2dd0d3e98f1cc57e3ec':
  Increase the default alloc tracker maximum.

11 years agoam 93c3b11e: Merge "Increase the default alloc tracker maximum."
Elliott Hughes [Fri, 12 Jul 2013 01:52:23 +0000 (18:52 -0700)]
am 93c3b11e: Merge "Increase the default alloc tracker maximum."

* commit '93c3b11ea6bcc25e8f0bb6ba701c71ed05906b52':
  Increase the default alloc tracker maximum.

11 years agoMerge "Increase the default alloc tracker maximum."
Elliott Hughes [Fri, 12 Jul 2013 00:36:54 +0000 (00:36 +0000)]
Merge "Increase the default alloc tracker maximum."

11 years agoIncrease the default alloc tracker maximum.
Elliott Hughes [Fri, 12 Jul 2013 00:23:15 +0000 (17:23 -0700)]
Increase the default alloc tracker maximum.

Also add a new system property "dalvik.vm.allocTrackerMax" that allows
developers to choose an arbitrary limit.

Change-Id: I246a31d0ee46557544b1babae412246914495f80

11 years agoadd dalvik.system.VMRuntime.vmLibrary implementation for Dalvik
Brian Carlstrom [Fri, 28 Jun 2013 21:38:35 +0000 (14:38 -0700)]
add dalvik.system.VMRuntime.vmLibrary implementation for Dalvik

(cherry picked from commit 70c799fc91564b497dedc408943065ed58a275bb)

Change-Id: I8392e9f9dd92420b5d5c61f83a32fae6e23ebee3

11 years agoam f8696fa7: am 2115c7ed: am f8fe8731: Merge "Disable -Xjnigreflimit."
Elliott Hughes [Tue, 2 Jul 2013 20:14:29 +0000 (13:14 -0700)]
am f8696fa7: am 2115c7ed: am f8fe8731: Merge "Disable -Xjnigreflimit."

* commit 'f8696fa79b0bb1ecc9eea0229eb989f25feaa1c0':
  Disable -Xjnigreflimit.

11 years agoam 2115c7ed: am f8fe8731: Merge "Disable -Xjnigreflimit."
Elliott Hughes [Tue, 2 Jul 2013 20:13:17 +0000 (13:13 -0700)]
am 2115c7ed: am f8fe8731: Merge "Disable -Xjnigreflimit."

* commit '2115c7ed027f20edca0b8e0ab819c63ff16a389c':
  Disable -Xjnigreflimit.

11 years agoam f8fe8731: Merge "Disable -Xjnigreflimit."
Elliott Hughes [Tue, 2 Jul 2013 20:11:33 +0000 (13:11 -0700)]
am f8fe8731: Merge "Disable -Xjnigreflimit."

* commit 'f8fe8731a5302105b285d549e4a0265a35db3e2e':
  Disable -Xjnigreflimit.

11 years agoMerge "Disable -Xjnigreflimit."
Elliott Hughes [Tue, 2 Jul 2013 20:09:00 +0000 (20:09 +0000)]
Merge "Disable -Xjnigreflimit."

11 years agoDisable -Xjnigreflimit.
Elliott Hughes [Tue, 2 Jul 2013 19:50:29 +0000 (12:50 -0700)]
Disable -Xjnigreflimit.

This was supposed to help find bugs, but in practice (unlike the
locale reference limit and the pinned array limit) doesn't. What it
does do is cause well-behaved code to fail if its allocation rate
is high. This has caused trouble for both audio and graphics code
running on eng builds.

Bug: 7903975
Change-Id: If475cb51c9cab13270a83a60d6d0aecfab758e88

11 years agoMerge "Move to new art dalvikvm"
Brian Carlstrom [Tue, 18 Jun 2013 20:12:05 +0000 (20:12 +0000)]
Merge "Move to new art dalvikvm"

11 years agoMove to new art dalvikvm
Brian Carlstrom [Mon, 17 Jun 2013 19:52:41 +0000 (12:52 -0700)]
Move to new art dalvikvm

Change-Id: I93f66d294f6c02069dc8a539c54966ba41417ca2

11 years agoam bbd903de: am 28702c58: am ae2fb913: Merge "JIT: Use rsb and shift in easy multiply."
Elliott Hughes [Mon, 17 Jun 2013 17:21:26 +0000 (10:21 -0700)]
am bbd903de: am 28702c58: am ae2fb913: Merge "JIT: Use rsb and shift in easy multiply."

* commit 'bbd903dec7c25859849fa447aaeef365f20440d4':
  JIT: Use rsb and shift in easy multiply.

11 years agoam 28702c58: am ae2fb913: Merge "JIT: Use rsb and shift in easy multiply."
Elliott Hughes [Mon, 17 Jun 2013 17:18:54 +0000 (10:18 -0700)]
am 28702c58: am ae2fb913: Merge "JIT: Use rsb and shift in easy multiply."

* commit '28702c58c9af24f735091ea83243af012956099e':
  JIT: Use rsb and shift in easy multiply.

11 years agoam ae2fb913: Merge "JIT: Use rsb and shift in easy multiply."
Elliott Hughes [Mon, 17 Jun 2013 17:17:03 +0000 (10:17 -0700)]
am ae2fb913: Merge "JIT: Use rsb and shift in easy multiply."

* commit 'ae2fb91351509897699a29ae54a3d120a90b62ec':
  JIT: Use rsb and shift in easy multiply.

11 years agoMerge "JIT: Use rsb and shift in easy multiply."
Elliott Hughes [Mon, 17 Jun 2013 17:14:21 +0000 (17:14 +0000)]
Merge "JIT: Use rsb and shift in easy multiply."

11 years agoam d189d8ca: am 6fb2ea56: am 2f0ce6ab: Merge "Fix inner class access flags and array...
Elliott Hughes [Fri, 14 Jun 2013 17:47:25 +0000 (10:47 -0700)]
am d189d8ca: am 6fb2ea56: am 2f0ce6ab: Merge "Fix inner class access flags and array modifiers."

* commit 'd189d8ca6ef2be53e80247c735ffb38279ae3f0f':
  Fix inner class access flags and array modifiers.

11 years agoam 6fb2ea56: am 2f0ce6ab: Merge "Fix inner class access flags and array modifiers."
Elliott Hughes [Fri, 14 Jun 2013 17:45:27 +0000 (10:45 -0700)]
am 6fb2ea56: am 2f0ce6ab: Merge "Fix inner class access flags and array modifiers."

* commit '6fb2ea567970f155386c6c0301a94142a954cc27':
  Fix inner class access flags and array modifiers.

11 years agoam 2f0ce6ab: Merge "Fix inner class access flags and array modifiers."
Elliott Hughes [Fri, 14 Jun 2013 17:44:06 +0000 (10:44 -0700)]
am 2f0ce6ab: Merge "Fix inner class access flags and array modifiers."

* commit '2f0ce6ab114b1036b06c4bd425cd01cb509260bd':
  Fix inner class access flags and array modifiers.

11 years agoMerge "Fix inner class access flags and array modifiers."
Elliott Hughes [Fri, 14 Jun 2013 17:41:43 +0000 (17:41 +0000)]
Merge "Fix inner class access flags and array modifiers."

11 years agoFix inner class access flags and array modifiers.
Elliott Hughes [Fri, 14 Jun 2013 01:57:33 +0000 (18:57 -0700)]
Fix inner class access flags and array modifiers.

Inner class access flags should come from the InnerClass attribute.

Array classes should all have the ACC_ABSTRACT modifier set.

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

11 years agoam 11c768b7: (-s ours) am 60d1c05b: am eb82cca7: (-s ours) am 381868f3: (-s ours...
Jean-Baptiste Queru [Fri, 14 Jun 2013 16:11:23 +0000 (09:11 -0700)]
am 11c768b7: (-s ours) am 60d1c05b: am eb82cca7: (-s ours) am 381868f3: (-s ours) am 840d233c: am 800e4320: am 63c34b5e: am 68719a17: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit '11c768b7ad45e20d9182e8fe2063b3643219b400':

11 years agoam 60d1c05b: am eb82cca7: (-s ours) am 381868f3: (-s ours) am 840d233c: am 800e4320...
Jean-Baptiste Queru [Fri, 14 Jun 2013 15:35:51 +0000 (08:35 -0700)]
am 60d1c05b: am eb82cca7: (-s ours) am 381868f3: (-s ours) am 840d233c: am 800e4320: am 63c34b5e: am 68719a17: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit '60d1c05bc70c5a3acf2f345cf434524aecdeab43':

11 years agoam eb82cca7: (-s ours) am 381868f3: (-s ours) am 840d233c: am 800e4320: am 63c34b5e...
Jean-Baptiste Queru [Fri, 14 Jun 2013 15:34:02 +0000 (08:34 -0700)]
am eb82cca7: (-s ours) am 381868f3: (-s ours) am 840d233c: am 800e4320: am 63c34b5e: am 68719a17: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit 'eb82cca7f4b40bfb9aada2dfa56595d9e3ff1eda':

11 years agoJIT: Use rsb and shift in easy multiply.
Anders O Nilsson [Wed, 10 Oct 2012 13:26:32 +0000 (15:26 +0200)]
JIT: Use rsb and shift in easy multiply.

For easy multiplication using reverse subtract (when
lit is 2^n-1) use the barrel shifter for rsb.

This improves arithmetic performance for code executing
in Dalvik. E.g String.hashCode.

Change-Id: Ifb086dcec344b30fd3e392ac21d508b43e820cdc
Signed-off-by: Patrik Ryd <patrik.ryd@stericsson.com>
11 years agoam 381868f3: (-s ours) am 840d233c: am 800e4320: am 63c34b5e: am 68719a17: (-s ours...
Jean-Baptiste Queru [Fri, 14 Jun 2013 05:33:07 +0000 (22:33 -0700)]
am 381868f3: (-s ours) am 840d233c: am 800e4320: am 63c34b5e: am 68719a17: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit '381868f347d413a671a6ad9c0af64d258a060b99':

11 years agoam 840d233c: am 800e4320: am 63c34b5e: am 68719a17: (-s ours) Reconcile with jb-mr1...
Jean-Baptiste Queru [Fri, 14 Jun 2013 05:31:29 +0000 (22:31 -0700)]
am 840d233c: am 800e4320: am 63c34b5e: am 68719a17: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit '840d233c12200de9260c85d6eadbc73b41cef00b':

11 years agoam 800e4320: am 63c34b5e: am 68719a17: (-s ours) Reconcile with jb-mr1-release -...
Jean-Baptiste Queru [Fri, 14 Jun 2013 04:07:35 +0000 (21:07 -0700)]
am 800e4320: am 63c34b5e: am 68719a17: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit '800e4320ba0815bfe7831deab99f5d600800663f':

11 years agoam 63c34b5e: am 68719a17: (-s ours) Reconcile with jb-mr1-release - do not merge
Jean-Baptiste Queru [Fri, 14 Jun 2013 01:07:45 +0000 (18:07 -0700)]
am 63c34b5e: am 68719a17: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit '63c34b5e2aae446b76fdf34f0ff895e35cd7376a':

11 years agoam 15139109: am 6529809b: Merge "JIT: Allow use of cbz/cbnz for conditional branch...
Elliott Hughes [Thu, 13 Jun 2013 21:49:44 +0000 (14:49 -0700)]
am 15139109: am 6529809b: Merge "JIT: Allow use of cbz/cbnz for conditional branch gen."

* commit '151391097e94585d4dd062098438e5c894b98d6d':
  JIT: Allow use of cbz/cbnz for conditional branch gen.

11 years agoam 6529809b: Merge "JIT: Allow use of cbz/cbnz for conditional branch gen."
Elliott Hughes [Thu, 13 Jun 2013 21:46:07 +0000 (14:46 -0700)]
am 6529809b: Merge "JIT: Allow use of cbz/cbnz for conditional branch gen."

* commit '6529809bd4448a76622a08cf63829cab73d91b9a':
  JIT: Allow use of cbz/cbnz for conditional branch gen.

11 years agoMerge "JIT: Allow use of cbz/cbnz for conditional branch gen."
Elliott Hughes [Thu, 13 Jun 2013 21:43:55 +0000 (21:43 +0000)]
Merge "JIT: Allow use of cbz/cbnz for conditional branch gen."

11 years agoam 70605c75: am a163f4a9: Merge "Now that abort(3) is fixed, dvmAbort can be simplified."
Elliott Hughes [Tue, 11 Jun 2013 18:07:24 +0000 (11:07 -0700)]
am 70605c75: am a163f4a9: Merge "Now that abort(3) is fixed, dvmAbort can be simplified."

* commit '70605c75b9418a3ef0450ba37bcf29a0c61609b4':
  Now that abort(3) is fixed, dvmAbort can be simplified.

11 years agoam a163f4a9: Merge "Now that abort(3) is fixed, dvmAbort can be simplified."
Elliott Hughes [Tue, 11 Jun 2013 18:03:21 +0000 (11:03 -0700)]
am a163f4a9: Merge "Now that abort(3) is fixed, dvmAbort can be simplified."

* commit 'a163f4a944cc040aaf25f92ae9c28c1e9cf981f8':
  Now that abort(3) is fixed, dvmAbort can be simplified.

11 years agoMerge "Now that abort(3) is fixed, dvmAbort can be simplified."
Elliott Hughes [Tue, 11 Jun 2013 18:01:49 +0000 (18:01 +0000)]
Merge "Now that abort(3) is fixed, dvmAbort can be simplified."

11 years agoNow that abort(3) is fixed, dvmAbort can be simplified.
Elliott Hughes [Tue, 11 Jun 2013 17:52:34 +0000 (10:52 -0700)]
Now that abort(3) is fixed, dvmAbort can be simplified.

The fix to abort(3) has SHA 7e6ce1a3c52d8533fed92c143419fedb0c93988a.
(https://android-review.googlesource.com/#/c/60341/)

Change-Id: I89e7ed174cbd08ad9046a98e2fdd73af8ae3ee5c

11 years agoam 520f6ab1: am 6531a977: Merge "Lose System.currentTimeMillis, nanoTime, and mapLibr...
Brian Carlstrom [Sat, 8 Jun 2013 00:36:51 +0000 (17:36 -0700)]
am 520f6ab1: am 6531a977: Merge "Lose System.currentTimeMillis, nanoTime, and mapLibraryName to the library."

* commit '520f6ab13b56bdaeb21ac99d105ac59a052539a7':
  Lose System.currentTimeMillis, nanoTime, and mapLibraryName to the library.

11 years agoam 6531a977: Merge "Lose System.currentTimeMillis, nanoTime, and mapLibraryName to...
Brian Carlstrom [Fri, 7 Jun 2013 22:38:01 +0000 (15:38 -0700)]
am 6531a977: Merge "Lose System.currentTimeMillis, nanoTime, and mapLibraryName to the library."

* commit '6531a9771a6b5bf32ea1a5febc067c8d39dede5f':
  Lose System.currentTimeMillis, nanoTime, and mapLibraryName to the library.

11 years agoMerge "Lose System.currentTimeMillis, nanoTime, and mapLibraryName to the library."
Brian Carlstrom [Fri, 7 Jun 2013 22:35:56 +0000 (22:35 +0000)]
Merge "Lose System.currentTimeMillis, nanoTime, and mapLibraryName to the library."

11 years agoLose System.currentTimeMillis, nanoTime, and mapLibraryName to the library.
Elliott Hughes [Wed, 31 Aug 2011 17:29:38 +0000 (10:29 -0700)]
Lose System.currentTimeMillis, nanoTime, and mapLibraryName to the library.

(cherry picked from commit 0f526895f34904784e3d2ef964b016d2764cb662)

Change-Id: I4f6f22e782e58a9b21af68aab1cebc21b3437976

11 years agoam e421d118: am 007c01f8: Merge "Fix a minor leak in dvmCreateInlineSubsTable"
Elliott Hughes [Wed, 5 Jun 2013 21:21:13 +0000 (14:21 -0700)]
am e421d118: am 007c01f8: Merge "Fix a minor leak in dvmCreateInlineSubsTable"

* commit 'e421d1188052f89988d6774b5375cf844dea1cd0':
  Fix a minor leak in dvmCreateInlineSubsTable

11 years agoam 619965a0: am 1da7fec6: Merge "Fix minor leaks caused by failed initialization...
Elliott Hughes [Wed, 5 Jun 2013 21:17:24 +0000 (14:17 -0700)]
am 619965a0: am 1da7fec6: Merge "Fix minor leaks caused by failed initialization in JNI_CreateJavaVM"

* commit '619965a0c6e49f6fc29a3cd15052eb4ded9348b9':
  Fix minor leaks caused by failed initialization in JNI_CreateJavaVM

11 years agoam 007c01f8: Merge "Fix a minor leak in dvmCreateInlineSubsTable"
Elliott Hughes [Wed, 5 Jun 2013 21:14:16 +0000 (14:14 -0700)]
am 007c01f8: Merge "Fix a minor leak in dvmCreateInlineSubsTable"

* commit '007c01f862019fa4703cd0b3289b3cc26d4ad452':
  Fix a minor leak in dvmCreateInlineSubsTable

11 years agoMerge "Fix a minor leak in dvmCreateInlineSubsTable"
Elliott Hughes [Wed, 5 Jun 2013 21:13:00 +0000 (21:13 +0000)]
Merge "Fix a minor leak in dvmCreateInlineSubsTable"

11 years agoam 1da7fec6: Merge "Fix minor leaks caused by failed initialization in JNI_CreateJavaVM"
Elliott Hughes [Wed, 5 Jun 2013 21:11:03 +0000 (14:11 -0700)]
am 1da7fec6: Merge "Fix minor leaks caused by failed initialization in JNI_CreateJavaVM"

* commit '1da7fec6c97623822c159ed7a8bbcce89db63119':
  Fix minor leaks caused by failed initialization in JNI_CreateJavaVM

11 years agoam 784f34d6: am f6944312: Merge "Fix a minor bug in dvmCreateInterpThread"
Elliott Hughes [Wed, 5 Jun 2013 21:10:33 +0000 (14:10 -0700)]
am 784f34d6: am f6944312: Merge "Fix a minor bug in dvmCreateInterpThread"

* commit '784f34d6badf691a14ea121405fb0632182f81de':
  Fix a minor bug in dvmCreateInterpThread

11 years agoMerge "Fix minor leaks caused by failed initialization in JNI_CreateJavaVM"
Elliott Hughes [Wed, 5 Jun 2013 21:09:03 +0000 (21:09 +0000)]
Merge "Fix minor leaks caused by failed initialization in JNI_CreateJavaVM"

11 years agoam f6944312: Merge "Fix a minor bug in dvmCreateInterpThread"
Elliott Hughes [Wed, 5 Jun 2013 21:04:35 +0000 (14:04 -0700)]
am f6944312: Merge "Fix a minor bug in dvmCreateInterpThread"

* commit 'f694431279501527cc3271d50b619533000dbd8f':
  Fix a minor bug in dvmCreateInterpThread

11 years agoMerge "Fix a minor bug in dvmCreateInterpThread"
Elliott Hughes [Wed, 5 Jun 2013 21:02:50 +0000 (21:02 +0000)]
Merge "Fix a minor bug in dvmCreateInterpThread"

11 years agoam de241376: am 91027c67: Merge "Remove unused compiler templates for armv7-a*"
Elliott Hughes [Wed, 5 Jun 2013 20:36:16 +0000 (13:36 -0700)]
am de241376: am 91027c67: Merge "Remove unused compiler templates for armv7-a*"

* commit 'de2413762e3626039cadf270479f30dea6307fe8':
  Remove unused compiler templates for armv7-a*

11 years agoam 91027c67: Merge "Remove unused compiler templates for armv7-a*"
Elliott Hughes [Wed, 5 Jun 2013 20:32:48 +0000 (13:32 -0700)]
am 91027c67: Merge "Remove unused compiler templates for armv7-a*"

* commit '91027c67a3924429bc6fc94a7f28893d9d09c900':
  Remove unused compiler templates for armv7-a*

11 years agoMerge "Remove unused compiler templates for armv7-a*"
Elliott Hughes [Wed, 5 Jun 2013 20:30:48 +0000 (20:30 +0000)]
Merge "Remove unused compiler templates for armv7-a*"

11 years agoam b91f922c: am f3079bda: Merge "Rename unreasonable function name dmvCompilerTemplat...
Elliott Hughes [Wed, 5 Jun 2013 20:26:47 +0000 (13:26 -0700)]
am b91f922c: am f3079bda: Merge "Rename unreasonable function name dmvCompilerTemplateEnd"

* commit 'b91f922c80b454fa579deaee262bdd51225b82ee':
  Rename unreasonable function name dmvCompilerTemplateEnd

11 years agoam f3079bda: Merge "Rename unreasonable function name dmvCompilerTemplateEnd"
Elliott Hughes [Wed, 5 Jun 2013 20:23:28 +0000 (13:23 -0700)]
am f3079bda: Merge "Rename unreasonable function name dmvCompilerTemplateEnd"

* commit 'f3079bdadf30d93b37e0a59a8787c636027a36f5':
  Rename unreasonable function name dmvCompilerTemplateEnd

11 years agoMerge "Rename unreasonable function name dmvCompilerTemplateEnd"
Elliott Hughes [Wed, 5 Jun 2013 20:22:09 +0000 (20:22 +0000)]
Merge "Rename unreasonable function name dmvCompilerTemplateEnd"

11 years agoRename unreasonable function name dmvCompilerTemplateEnd
Yanchuan Nian [Tue, 21 May 2013 02:41:51 +0000 (10:41 +0800)]
Rename unreasonable function name dmvCompilerTemplateEnd

In dalvik, most function names start with "dvm" except dmvCompilerTemplateEnd.
Convert it to dvmCompilerTemplateEnd in order to follow the rule.

Change-Id: I09c41f8c9d55058013fbdb62ac5922ccd067ce39

11 years agoMerge "JIT tuning; set cache size on command line"
buzbee [Fri, 24 May 2013 13:02:32 +0000 (13:02 +0000)]
Merge "JIT tuning; set cache size on command line"

11 years agoJIT tuning; set cache size on command line
buzbee [Thu, 23 May 2013 20:53:50 +0000 (13:53 -0700)]
JIT tuning; set cache size on command line

The tuning knobs for triggering trace compilation for the JIT
had not been revisited for several years.  In that time, the
working set of some applications have significantly increased,
leading to frequent cache overlows & flushes.

This CL adds the ability to set the maximum size of the JIT's
cache on the command line, and we expect to use different settings
depending on device configuration (rule of thumb: 1K for each 1M
for system RAM, with 2M limit).

Additionally, the trace compilation trigger has been tightened to
limit the compilation of cold traces.

Change-Id: Ice22c5d9d46a93e465c57dd83f50ca3912f1672e

11 years agoRemove jdwpspy from dalvik as it has been added to art
Brian Carlstrom [Wed, 22 May 2013 19:52:09 +0000 (12:52 -0700)]
Remove jdwpspy from dalvik as it has been added to art

Change-Id: I59e5cd2a49a912bbd7ccfea0c6d6c2d10ec6fc99

11 years agoam 8c44176c: am 8eac07c9: Merge "Move jdwpspy from development to dalvik (2 of 2)"
Brian Carlstrom [Wed, 22 May 2013 19:36:36 +0000 (12:36 -0700)]
am 8c44176c: am 8eac07c9: Merge "Move jdwpspy from development to dalvik (2 of 2)"

* commit '8c44176ceda51ac586346a64a5ce3af2c0e66624':
  Move jdwpspy from development to dalvik (2 of 2)

11 years agoam 8eac07c9: Merge "Move jdwpspy from development to dalvik (2 of 2)"
Brian Carlstrom [Wed, 22 May 2013 19:30:32 +0000 (12:30 -0700)]
am 8eac07c9: Merge "Move jdwpspy from development to dalvik (2 of 2)"

* commit '8eac07c961fbdb745a36cb182d58ac83ad5ba819':
  Move jdwpspy from development to dalvik (2 of 2)

11 years agoMerge "Move jdwpspy from development to dalvik (2 of 2)"
Brian Carlstrom [Wed, 22 May 2013 19:22:14 +0000 (19:22 +0000)]
Merge "Move jdwpspy from development to dalvik (2 of 2)"

11 years agoMove jdwpspy from development to dalvik (2 of 2)
Brian Carlstrom [Wed, 22 May 2013 04:07:08 +0000 (21:07 -0700)]
Move jdwpspy from development to dalvik (2 of 2)

Change-Id: I3e7a255fddcec1380fce143004cbad83a69d2c0d

11 years agoam c5e4f6bb: am 97208a0b: Merge "Added support for version 51 class files in dx"
Jean-Philippe Lesot [Fri, 17 May 2013 07:40:04 +0000 (00:40 -0700)]
am c5e4f6bb: am 97208a0b: Merge "Added support for version 51 class files in dx"

* commit 'c5e4f6bb17ee5a14de139f2780a06329d49554eb':
  Added support for version 51 class files in dx

11 years agoam 879faf41: am 467f7e3a: Merge "Report problems as errors in dx (with exit codes)"
Jean-Philippe Lesot [Fri, 17 May 2013 07:40:03 +0000 (00:40 -0700)]
am 879faf41: am 467f7e3a: Merge "Report problems as errors in dx (with exit codes)"

* commit '879faf41e2106d2bf9f59adc0df4263e4014ff2d':
  Report problems as errors in dx (with exit codes)

11 years agoam 97208a0b: Merge "Added support for version 51 class files in dx"
Jean-Philippe Lesot [Fri, 17 May 2013 07:38:04 +0000 (00:38 -0700)]
am 97208a0b: Merge "Added support for version 51 class files in dx"

* commit '97208a0be35a4b9583172dc853150a32bb138f15':
  Added support for version 51 class files in dx

11 years agoam 467f7e3a: Merge "Report problems as errors in dx (with exit codes)"
Jean-Philippe Lesot [Fri, 17 May 2013 07:38:03 +0000 (00:38 -0700)]
am 467f7e3a: Merge "Report problems as errors in dx (with exit codes)"

* commit '467f7e3aaf8aafe324744bfd825fe9941862b7b7':
  Report problems as errors in dx (with exit codes)

11 years agoMerge "Added support for version 51 class files in dx"
Jean-Philippe Lesot [Fri, 17 May 2013 07:26:19 +0000 (07:26 +0000)]
Merge "Added support for version 51 class files in dx"