OSDN Git Service

android-x86/art.git
9 years agoam 2a3edf08: am ff3ef43f: Merge "Reserve bits in the lock word for read barriers."
Hiroshi Yamauchi [Wed, 4 Mar 2015 01:50:15 +0000 (01:50 +0000)]
am 2a3edf08: am ff3ef43f: Merge "Reserve bits in the lock word for read barriers."

* commit '2a3edf08eb9201557b71cf6d20f98081d9fab8c7':
  Reserve bits in the lock word for read barriers.

9 years agoam ff3ef43f: Merge "Reserve bits in the lock word for read barriers."
Hiroshi Yamauchi [Wed, 4 Mar 2015 01:43:57 +0000 (01:43 +0000)]
am ff3ef43f: Merge "Reserve bits in the lock word for read barriers."

* commit 'ff3ef43f3d0f0986fe23286af028b352277b6e1e':
  Reserve bits in the lock word for read barriers.

9 years agoMerge "Reserve bits in the lock word for read barriers."
Hiroshi Yamauchi [Wed, 4 Mar 2015 01:37:11 +0000 (01:37 +0000)]
Merge "Reserve bits in the lock word for read barriers."

9 years agoReserve bits in the lock word for read barriers.
Hiroshi Yamauchi [Tue, 10 Feb 2015 01:11:42 +0000 (17:11 -0800)]
Reserve bits in the lock word for read barriers.

This prepares for the CC collector to use the standard object header
model by storing the read barrier state in the lock word.

Bug: 19355854
Bug: 12687968
Change-Id: Ia7585662dd2cebf0479a3e74f734afe5059fb70f

9 years agoam e59ff2e5: am 5e42cd3e: Merge "Wait for threads to finish unregistering"
Mathieu Chartier [Wed, 4 Mar 2015 00:58:53 +0000 (00:58 +0000)]
am e59ff2e5: am 5e42cd3e: Merge "Wait for threads to finish unregistering"

* commit 'e59ff2e56a1f273b8ec019df378c9a0f5dad68bf':
  Wait for threads to finish unregistering

9 years agoam 5e42cd3e: Merge "Wait for threads to finish unregistering"
Mathieu Chartier [Wed, 4 Mar 2015 00:51:57 +0000 (00:51 +0000)]
am 5e42cd3e: Merge "Wait for threads to finish unregistering"

* commit '5e42cd3eee2c89214a331a36fe226cfcc57917a3':
  Wait for threads to finish unregistering

9 years agoMerge "Wait for threads to finish unregistering"
Mathieu Chartier [Wed, 4 Mar 2015 00:46:47 +0000 (00:46 +0000)]
Merge "Wait for threads to finish unregistering"

9 years agoam 4c00740d: am c8fb9184: Merge "Add a change that should be part of "enhance gvn...
Mingyao Yang [Wed, 4 Mar 2015 00:35:04 +0000 (00:35 +0000)]
am 4c00740d: am c8fb9184: Merge "Add a change that should be part of "enhance gvn for commutative ops.""

* commit '4c00740d80d9c4816bebe8359f6c6070512d9459':
  Add a change that should be part of "enhance gvn for commutative ops."

9 years agoWait for threads to finish unregistering
Mathieu Chartier [Tue, 3 Mar 2015 21:51:04 +0000 (13:51 -0800)]
Wait for threads to finish unregistering

There was a race where Thread::join would return before the thread was
unregistered. This caused a problem with Daemons.stop since the thread
list could get deleted before the daemon thread was removed from list_.
This caused occasional "Request to unregister unattached thread"
errors and warnings.

The fix is to wait until threads finish registering before destroying
the thread list. The only threads which can be unregistering at this
point are the daemons we stopped earlier during the runtime shutdown
process. The issue is that thread join finishes before we remove the
thread from the thread list.

Also some cleanup.

Bug: 18713034
Change-Id: I8921122fe8462643a6b814b5f00632481e3831fb

9 years agoam 85079b29: am 2347d60a: Merge "Remove old build options from .gitignore"
Brian Carlstrom [Wed, 4 Mar 2015 00:31:17 +0000 (00:31 +0000)]
am 85079b29: am 2347d60a: Merge "Remove old build options from .gitignore"

* commit '85079b29ee15da5fcedcfd9f7e46e64750be1ef1':
  Remove old build options from .gitignore

9 years agoam 0a857961: am 49ccb6e6: Merge "Opt compiler: enhance gvn for commutative ops."
Mingyao Yang [Wed, 4 Mar 2015 00:31:14 +0000 (00:31 +0000)]
am 0a857961: am 49ccb6e6: Merge "Opt compiler: enhance gvn for commutative ops."

* commit '0a857961b3d336d02a66b9cf5786b08699d6a69d':
  Opt compiler: enhance gvn for commutative ops.

9 years agoam 091af0cc: am 86a4db46: Merge "Remove ART_SMALL_MODE ifdefs."
Jeff Hao [Wed, 4 Mar 2015 00:31:12 +0000 (00:31 +0000)]
am 091af0cc: am 86a4db46: Merge "Remove ART_SMALL_MODE ifdefs."

* commit '091af0cce037cf8242b6aad23f3df48ba0572822':
  Remove ART_SMALL_MODE ifdefs.

9 years agoam c8fb9184: Merge "Add a change that should be part of "enhance gvn for commutative...
Mingyao Yang [Wed, 4 Mar 2015 00:25:37 +0000 (00:25 +0000)]
am c8fb9184: Merge "Add a change that should be part of "enhance gvn for commutative ops.""

* commit 'c8fb918428c1846da321b9d138c48c1ec4b56bef':
  Add a change that should be part of "enhance gvn for commutative ops."

9 years agoMerge "Add a change that should be part of "enhance gvn for commutative ops.""
Mingyao Yang [Wed, 4 Mar 2015 00:19:59 +0000 (00:19 +0000)]
Merge "Add a change that should be part of "enhance gvn for commutative ops.""

9 years agoAdd a change that should be part of "enhance gvn for commutative ops."
Mingyao Yang [Wed, 4 Mar 2015 00:15:23 +0000 (16:15 -0800)]
Add a change that should be part of "enhance gvn for commutative ops."

Change-Id: Id1a30afb095b2c7e27a4ef8a1ef7293022c1aaed

9 years agoam 2347d60a: Merge "Remove old build options from .gitignore"
Brian Carlstrom [Wed, 4 Mar 2015 00:09:49 +0000 (00:09 +0000)]
am 2347d60a: Merge "Remove old build options from .gitignore"

* commit '2347d60ac02a9d0c7b1a279756f8093f3d66173a':
  Remove old build options from .gitignore

9 years agoMerge "Remove old build options from .gitignore"
Brian Carlstrom [Wed, 4 Mar 2015 00:05:52 +0000 (00:05 +0000)]
Merge "Remove old build options from .gitignore"

9 years agoRemove old build options from .gitignore
Brian Carlstrom [Tue, 3 Mar 2015 23:31:15 +0000 (15:31 -0800)]
Remove old build options from .gitignore

Change-Id: I1f1eaef57e3a3b4109cc6b312ecfa429d7797b92

9 years agoam 49ccb6e6: Merge "Opt compiler: enhance gvn for commutative ops."
Mingyao Yang [Tue, 3 Mar 2015 23:41:44 +0000 (23:41 +0000)]
am 49ccb6e6: Merge "Opt compiler: enhance gvn for commutative ops."

* commit '49ccb6e6e126bbb7af5e16e608e080fd07968caf':
  Opt compiler: enhance gvn for commutative ops.

9 years agoam 86a4db46: Merge "Remove ART_SMALL_MODE ifdefs."
Jeff Hao [Tue, 3 Mar 2015 23:38:02 +0000 (23:38 +0000)]
am 86a4db46: Merge "Remove ART_SMALL_MODE ifdefs."

* commit '86a4db469e9ab31d6574a58fe67702c7fc5222d7':
  Remove ART_SMALL_MODE ifdefs.

9 years agoMerge "Opt compiler: enhance gvn for commutative ops."
Mingyao Yang [Tue, 3 Mar 2015 23:37:31 +0000 (23:37 +0000)]
Merge "Opt compiler: enhance gvn for commutative ops."

9 years agoMerge "Remove ART_SMALL_MODE ifdefs."
Jeff Hao [Tue, 3 Mar 2015 23:32:31 +0000 (23:32 +0000)]
Merge "Remove ART_SMALL_MODE ifdefs."

9 years agoOpt compiler: enhance gvn for commutative ops.
Mingyao Yang [Wed, 25 Feb 2015 19:28:05 +0000 (11:28 -0800)]
Opt compiler: enhance gvn for commutative ops.

Change-Id: I415b50d58b30cab4ec38077be22373eb9598ec40

9 years agoam 6bd8c542: am 0e5e728a: Merge "Fix build lint issue."
Brian Carlstrom [Tue, 3 Mar 2015 21:14:56 +0000 (21:14 +0000)]
am 6bd8c542: am 0e5e728a: Merge "Fix build lint issue."

* commit '6bd8c5427797579f3b990d38569e0d18c6928526':
  Fix build lint issue.

9 years agoam 0e5e728a: Merge "Fix build lint issue."
Brian Carlstrom [Tue, 3 Mar 2015 21:10:37 +0000 (21:10 +0000)]
am 0e5e728a: Merge "Fix build lint issue."

* commit '0e5e728a4a4f042f157e1897cc8bbc2b0bb110b1':
  Fix build lint issue.

9 years agoMerge "Fix build lint issue."
Brian Carlstrom [Tue, 3 Mar 2015 21:05:14 +0000 (21:05 +0000)]
Merge "Fix build lint issue."

9 years agoFix build lint issue.
Brian Carlstrom [Tue, 3 Mar 2015 20:53:49 +0000 (12:53 -0800)]
Fix build lint issue.

Change-Id: I53d5bdefdf79b376f99dfaa17591a0d2103921d5

9 years agoam d8e266df: am ea84bf72: Merge "bce: add support to narrow two MonotonicValueRange...
Mingyao Yang [Tue, 3 Mar 2015 20:06:21 +0000 (20:06 +0000)]
am d8e266df: am ea84bf72: Merge "bce: add support to narrow two MonotonicValueRange\'s at the same time."

* commit 'd8e266dfa884eb67cde8b556a3588f1f7f89ba82':
  bce: add support to narrow two MonotonicValueRange's at the same time.

9 years agoam ea84bf72: Merge "bce: add support to narrow two MonotonicValueRange\'s at the...
Mingyao Yang [Tue, 3 Mar 2015 20:00:08 +0000 (20:00 +0000)]
am ea84bf72: Merge "bce: add support to narrow two MonotonicValueRange\'s at the same time."

* commit 'ea84bf7246f47693594eb5acc9a25c438289bd9f':
  bce: add support to narrow two MonotonicValueRange's at the same time.

9 years agoMerge "bce: add support to narrow two MonotonicValueRange's at the same time."
Mingyao Yang [Tue, 3 Mar 2015 19:53:14 +0000 (19:53 +0000)]
Merge "bce: add support to narrow two MonotonicValueRange's at the same time."

9 years agoam 65b768e7: am dc47e986: Merge "Fix generic JNI stubs to not discard the Java native...
Nicolas Geoffray [Tue, 3 Mar 2015 17:40:02 +0000 (17:40 +0000)]
am 65b768e7: am dc47e986: Merge "Fix generic JNI stubs to not discard the Java native frame."

* commit '65b768e77d2b6f333cbcced4593b0bb463785f71':
  Fix generic JNI stubs to not discard the Java native frame.

9 years agoam dc47e986: Merge "Fix generic JNI stubs to not discard the Java native frame."
Nicolas Geoffray [Tue, 3 Mar 2015 17:34:00 +0000 (17:34 +0000)]
am dc47e986: Merge "Fix generic JNI stubs to not discard the Java native frame."

* commit 'dc47e986941b1a3754447fabea272485f3f0f382':
  Fix generic JNI stubs to not discard the Java native frame.

9 years agoMerge "Fix generic JNI stubs to not discard the Java native frame."
Nicolas Geoffray [Tue, 3 Mar 2015 17:28:05 +0000 (17:28 +0000)]
Merge "Fix generic JNI stubs to not discard the Java native frame."

9 years agoFix generic JNI stubs to not discard the Java native frame.
Nicolas Geoffray [Tue, 3 Mar 2015 14:28:35 +0000 (14:28 +0000)]
Fix generic JNI stubs to not discard the Java native frame.

Change-Id: Ic856b442fdde5ce91673fc5856eb0dfc84c75d28

9 years agoam 332877c7: am 775f1d40: Merge "Follow-up 128393"
Sebastien Hertz [Tue, 3 Mar 2015 13:49:47 +0000 (13:49 +0000)]
am 332877c7: am 775f1d40: Merge "Follow-up 128393"

* commit '332877c7728a9c96b90bf7a931ecec4097a2f0c0':
  Follow-up 128393

9 years agoam 775f1d40: Merge "Follow-up 128393"
Sebastien Hertz [Tue, 3 Mar 2015 13:43:56 +0000 (13:43 +0000)]
am 775f1d40: Merge "Follow-up 128393"

* commit '775f1d4096efce112a3bd1e5897c84f898c5f7ce':
  Follow-up 128393

9 years agoMerge "Follow-up 128393"
Sebastien Hertz [Tue, 3 Mar 2015 13:39:30 +0000 (13:39 +0000)]
Merge "Follow-up 128393"

9 years agoFollow-up 128393
Sebastien Hertz [Tue, 3 Mar 2015 11:16:13 +0000 (12:16 +0100)]
Follow-up 128393

Avoids false warning when initializing the exception's class by
marking the transaction aborted after throwing the InternalError
exception.

Also uses VLOG(compiler) to print the warning since it's only useful
when investigating ahead-of-time class initialization.

Bug: 19202032
Change-Id: I3c53639cbb888086ad345d668d1e5b73c5aaf861

9 years agoam 6b8e3ae8: am cd934156: Merge "Tests use libarttest.so, so does not work on ndebug."
Nicolas Geoffray [Tue, 3 Mar 2015 13:03:29 +0000 (13:03 +0000)]
am 6b8e3ae8: am cd934156: Merge "Tests use libarttest.so, so does not work on ndebug."

* commit '6b8e3ae838798f3894acbf37e8d9270977213a60':
  Tests use libarttest.so, so does not work on ndebug.

9 years agoam be4eb480: am 57f49931: Merge "Revert GetThisObject change."
Nicolas Geoffray [Tue, 3 Mar 2015 13:03:28 +0000 (13:03 +0000)]
am be4eb480: am 57f49931: Merge "Revert GetThisObject change."

* commit 'be4eb480587ee18f1bcfc3105c4f42eb2ebe200a':
  Revert GetThisObject change.

9 years agoam cd934156: Merge "Tests use libarttest.so, so does not work on ndebug."
Nicolas Geoffray [Tue, 3 Mar 2015 12:57:51 +0000 (12:57 +0000)]
am cd934156: Merge "Tests use libarttest.so, so does not work on ndebug."

* commit 'cd93415651b7295d0bda1d37ef72ee99ba953c67':
  Tests use libarttest.so, so does not work on ndebug.

9 years agoam 57f49931: Merge "Revert GetThisObject change."
Nicolas Geoffray [Tue, 3 Mar 2015 12:57:50 +0000 (12:57 +0000)]
am 57f49931: Merge "Revert GetThisObject change."

* commit '57f499318055ca9f32b188777825a5b54c503cd6':
  Revert GetThisObject change.

9 years agoMerge "Tests use libarttest.so, so does not work on ndebug."
Nicolas Geoffray [Tue, 3 Mar 2015 12:52:54 +0000 (12:52 +0000)]
Merge "Tests use libarttest.so, so does not work on ndebug."

9 years agoMerge "Revert GetThisObject change."
Nicolas Geoffray [Tue, 3 Mar 2015 12:51:37 +0000 (12:51 +0000)]
Merge "Revert GetThisObject change."

9 years agoRevert GetThisObject change.
Nicolas Geoffray [Tue, 3 Mar 2015 12:44:53 +0000 (12:44 +0000)]
Revert GetThisObject change.

Code was changed to use sizeof(void*) instead of the runtime
instruction set pointer size, which caused host compilation crashes.

Change-Id: I3e59897620d6e55b43d6d76b5a0d6d0487b8081a

9 years agoTests use libarttest.so, so does not work on ndebug.
Nicolas Geoffray [Tue, 3 Mar 2015 12:43:45 +0000 (12:43 +0000)]
Tests use libarttest.so, so does not work on ndebug.

Change-Id: I0435e0a62592bd0f449bb52517efa9ac55ec8913

9 years agoam 178541a1: am 207fc169: Merge "Stack support for Optimizing compiler"
Nicolas Geoffray [Tue, 3 Mar 2015 11:38:44 +0000 (11:38 +0000)]
am 178541a1: am 207fc169: Merge "Stack support for Optimizing compiler"

* commit '178541a179f9934121409dd6a18f0d39802d0ed8':
  Stack support for Optimizing compiler

9 years agoam 207fc169: Merge "Stack support for Optimizing compiler"
Nicolas Geoffray [Tue, 3 Mar 2015 11:32:02 +0000 (11:32 +0000)]
am 207fc169: Merge "Stack support for Optimizing compiler"

* commit '207fc169d52c17f50c3a9e4ce0442d241c31b5fa':
  Stack support for Optimizing compiler

9 years agoMerge "Stack support for Optimizing compiler"
Nicolas Geoffray [Tue, 3 Mar 2015 11:25:38 +0000 (11:25 +0000)]
Merge "Stack support for Optimizing compiler"

9 years agoStack support for Optimizing compiler
Sebastien Hertz [Tue, 20 Jan 2015 15:06:43 +0000 (16:06 +0100)]
Stack support for Optimizing compiler

Allows to read/write DEX registers from physical register or stack
location when the method is compiled with the Optimizing compiler.

Required fixing arm and arm64 JNI compiler by saving floating
point registers.

Bug: 18547544
Change-Id: I401579f251d1c0a130f6cf4a93a960cdcd7518f5

9 years agoam 56a50ee0: am d07adcf4: Merge "[optimizing compiler] x86 goodness"
Nicolas Geoffray [Tue, 3 Mar 2015 10:57:00 +0000 (10:57 +0000)]
am 56a50ee0: am d07adcf4: Merge "[optimizing compiler] x86 goodness"

* commit '56a50ee021eda0e2d3eab2a05d3ff5c71c375ee0':
  [optimizing compiler] x86 goodness

9 years agoam d07adcf4: Merge "[optimizing compiler] x86 goodness"
Nicolas Geoffray [Tue, 3 Mar 2015 10:51:47 +0000 (10:51 +0000)]
am d07adcf4: Merge "[optimizing compiler] x86 goodness"

* commit 'd07adcf4105e206b4684315caa0c54db172f35d0':
  [optimizing compiler] x86 goodness

9 years agoMerge "[optimizing compiler] x86 goodness"
Nicolas Geoffray [Tue, 3 Mar 2015 10:46:42 +0000 (10:46 +0000)]
Merge "[optimizing compiler] x86 goodness"

9 years agoRemove ART_SMALL_MODE ifdefs.
Jeff Hao [Mon, 23 Feb 2015 23:32:43 +0000 (15:32 -0800)]
Remove ART_SMALL_MODE ifdefs.

WITH_ART_SMART_MODE now sets --compiler-filter options instead.
Has a corresponding change to /build

Bug: 19460766
Change-Id: I295ebbd49caa5341834141f7c2bbf8df830131ed

9 years agoam 4a248bcf: am 4b39eeea: Merge "bce: handle a pattern for circular buffer"
Mingyao Yang [Tue, 3 Mar 2015 00:16:51 +0000 (00:16 +0000)]
am 4a248bcf: am 4b39eeea: Merge "bce: handle a pattern for circular buffer"

* commit '4a248bcf64123b38d93e4374bf94fd4a95e52e76':
  bce: handle a pattern for circular buffer

9 years agoam 4b39eeea: Merge "bce: handle a pattern for circular buffer"
Mingyao Yang [Tue, 3 Mar 2015 00:08:33 +0000 (00:08 +0000)]
am 4b39eeea: Merge "bce: handle a pattern for circular buffer"

* commit '4b39eeea67b0fecf21588d7b00e92eb844014c24':
  bce: handle a pattern for circular buffer

9 years agoMerge "bce: handle a pattern for circular buffer"
Mingyao Yang [Tue, 3 Mar 2015 00:02:26 +0000 (00:02 +0000)]
Merge "bce: handle a pattern for circular buffer"

9 years agobce: handle a pattern for circular buffer
Mingyao Yang [Fri, 27 Feb 2015 22:43:53 +0000 (14:43 -0800)]
bce: handle a pattern for circular buffer

Change-Id: Ie54bdd7c044af58deea0d0addaaa8186cabf3532

9 years agoam 23aae3ed: am 87998b0a: Merge "ART: Cache last returned range in LiveInterval:...
David Brazdil [Mon, 2 Mar 2015 23:28:01 +0000 (23:28 +0000)]
am 23aae3ed: am 87998b0a: Merge "ART: Cache last returned range in LiveInterval::Covers"

* commit '23aae3eda1b81306d47722be9a418650625e2d1d':
  ART: Cache last returned range in LiveInterval::Covers

9 years agoam 87998b0a: Merge "ART: Cache last returned range in LiveInterval::Covers"
David Brazdil [Mon, 2 Mar 2015 23:21:27 +0000 (23:21 +0000)]
am 87998b0a: Merge "ART: Cache last returned range in LiveInterval::Covers"

* commit '87998b0a959a50dff43ce469678e84bd083279f3':
  ART: Cache last returned range in LiveInterval::Covers

9 years agoMerge "ART: Cache last returned range in LiveInterval::Covers"
David Brazdil [Mon, 2 Mar 2015 23:16:24 +0000 (23:16 +0000)]
Merge "ART: Cache last returned range in LiveInterval::Covers"

9 years agoam 25232e87: am 1d8587fe: Merge "Fix AddCurrentRuntimeFeaturesAsDex2OatArguments...
Mathieu Chartier [Mon, 2 Mar 2015 21:31:24 +0000 (21:31 +0000)]
am 25232e87: am 1d8587fe: Merge "Fix AddCurrentRuntimeFeaturesAsDex2OatArguments jit handling"

* commit '25232e870ad0bb875e97bf9c7ff4450b5f844ce1':
  Fix AddCurrentRuntimeFeaturesAsDex2OatArguments jit handling

9 years agoam e9ef4fcf: am 56505fe6: Merge "Fix bad variable expansion"
Mathieu Chartier [Mon, 2 Mar 2015 21:31:23 +0000 (21:31 +0000)]
am e9ef4fcf: am 56505fe6: Merge "Fix bad variable expansion"

* commit 'e9ef4fcf82a2af1cdf74e0364facb58f9856fec8':
  Fix bad variable expansion

9 years agoam 1d8587fe: Merge "Fix AddCurrentRuntimeFeaturesAsDex2OatArguments jit handling"
Mathieu Chartier [Mon, 2 Mar 2015 21:25:23 +0000 (21:25 +0000)]
am 1d8587fe: Merge "Fix AddCurrentRuntimeFeaturesAsDex2OatArguments jit handling"

* commit '1d8587fe1d98909b4949282f14c0334085fdc964':
  Fix AddCurrentRuntimeFeaturesAsDex2OatArguments jit handling

9 years agoam 56505fe6: Merge "Fix bad variable expansion"
Mathieu Chartier [Mon, 2 Mar 2015 21:25:22 +0000 (21:25 +0000)]
am 56505fe6: Merge "Fix bad variable expansion"

* commit '56505fe67e709d2ec17feff882229e781ff8589d':
  Fix bad variable expansion

9 years agoam eaa5e69b: am 9924fd8f: Merge "ART: Move DexFile vector to Java array"
Andreas Gampe [Mon, 2 Mar 2015 21:12:53 +0000 (21:12 +0000)]
am eaa5e69b: am 9924fd8f: Merge "ART: Move DexFile vector to Java array"

* commit 'eaa5e69bd43558d56f3cc18505c190e4bb4258ff':
  ART: Move DexFile vector to Java array

9 years agoMerge "Fix AddCurrentRuntimeFeaturesAsDex2OatArguments jit handling"
Mathieu Chartier [Mon, 2 Mar 2015 21:10:09 +0000 (21:10 +0000)]
Merge "Fix AddCurrentRuntimeFeaturesAsDex2OatArguments jit handling"

9 years agoMerge "Fix bad variable expansion"
Mathieu Chartier [Mon, 2 Mar 2015 21:09:57 +0000 (21:09 +0000)]
Merge "Fix bad variable expansion"

9 years agoFix bad variable expansion
Mathieu Chartier [Mon, 2 Mar 2015 19:53:08 +0000 (11:53 -0800)]
Fix bad variable expansion

Bug: 19524713
Change-Id: I6537bc650e2690e5902576fd0e5a55142d91182a

9 years agoam 9924fd8f: Merge "ART: Move DexFile vector to Java array"
Andreas Gampe [Mon, 2 Mar 2015 21:04:28 +0000 (21:04 +0000)]
am 9924fd8f: Merge "ART: Move DexFile vector to Java array"

* commit '9924fd8f27e020e9336a085333ef7c68699b8c22':
  ART: Move DexFile vector to Java array

9 years agoMerge "ART: Move DexFile vector to Java array"
Andreas Gampe [Mon, 2 Mar 2015 20:57:47 +0000 (20:57 +0000)]
Merge "ART: Move DexFile vector to Java array"

9 years agoam 3a5bd4e5: am 0b25c71a: Merge "Add support for .bss section in oat files."
Vladimir Marko [Mon, 2 Mar 2015 20:23:06 +0000 (20:23 +0000)]
am 3a5bd4e5: am 0b25c71a: Merge "Add support for .bss section in oat files."

* commit '3a5bd4e5a7f827a72577d9aa7afae3b6e1c5e930':
  Add support for .bss section in oat files.

9 years agoam 0b25c71a: Merge "Add support for .bss section in oat files."
Vladimir Marko [Mon, 2 Mar 2015 20:16:30 +0000 (20:16 +0000)]
am 0b25c71a: Merge "Add support for .bss section in oat files."

* commit '0b25c71ac93fb10c484dbacb9e23db505a8e2353':
  Add support for .bss section in oat files.

9 years agoMerge "Add support for .bss section in oat files."
Vladimir Marko [Mon, 2 Mar 2015 20:10:51 +0000 (20:10 +0000)]
Merge "Add support for .bss section in oat files."

9 years agoFix AddCurrentRuntimeFeaturesAsDex2OatArguments jit handling
Mathieu Chartier [Mon, 2 Mar 2015 19:49:22 +0000 (11:49 -0800)]
Fix AddCurrentRuntimeFeaturesAsDex2OatArguments jit handling

Now jit passes interpret filter to dex2oat.

Bug: 19550422
Change-Id: I932c7d1084acbb9d356ad0f5534a270e2ca2d6ec

9 years agoam b5ac9dc7: am 02f28fd6: Merge "ART: Allow more operations in unstarted Runtime"
Andreas Gampe [Mon, 2 Mar 2015 18:29:21 +0000 (18:29 +0000)]
am b5ac9dc7: am 02f28fd6: Merge "ART: Allow more operations in unstarted Runtime"

* commit 'b5ac9dc76aca7ac32fb8bc088aa7b290f67fd276':
  ART: Allow more operations in unstarted Runtime

9 years agoam 02f28fd6: Merge "ART: Allow more operations in unstarted Runtime"
Andreas Gampe [Mon, 2 Mar 2015 18:23:47 +0000 (18:23 +0000)]
am 02f28fd6: Merge "ART: Allow more operations in unstarted Runtime"

* commit '02f28fd679942fdad1b819baa947cd4e6eb99e3f':
  ART: Allow more operations in unstarted Runtime

9 years agoMerge "ART: Allow more operations in unstarted Runtime"
Andreas Gampe [Mon, 2 Mar 2015 18:18:04 +0000 (18:18 +0000)]
Merge "ART: Allow more operations in unstarted Runtime"

9 years agoART: Allow more operations in unstarted Runtime
Andreas Gampe [Sat, 28 Feb 2015 04:08:34 +0000 (20:08 -0800)]
ART: Allow more operations in unstarted Runtime

To compile-time initialize more classes, have more dedicated code
for special methods.

Bug: 19542228
Bug: 19548084
Change-Id: Iad37c1c58302b04fa3a5a904a923da388a079cd7

9 years agoam b17fa44d: am 3ccd4cf5: Merge "Opt Compiler: ARM64: Enable explicit memory barriers...
Nicolas Geoffray [Mon, 2 Mar 2015 18:11:29 +0000 (18:11 +0000)]
am b17fa44d: am 3ccd4cf5: Merge "Opt Compiler: ARM64: Enable explicit memory barriers over acquire/release"

* commit 'b17fa44d6b1aad03773651f192144a46494371b0':
  Opt Compiler: ARM64: Enable explicit memory barriers over acquire/release

9 years agoam 3ccd4cf5: Merge "Opt Compiler: ARM64: Enable explicit memory barriers over acquire...
Nicolas Geoffray [Mon, 2 Mar 2015 18:07:19 +0000 (18:07 +0000)]
am 3ccd4cf5: Merge "Opt Compiler: ARM64: Enable explicit memory barriers over acquire/release"

* commit '3ccd4cf596f633edbe379fc3600e07a5b9302357':
  Opt Compiler: ARM64: Enable explicit memory barriers over acquire/release

9 years agoAdd support for .bss section in oat files.
Vladimir Marko [Wed, 25 Feb 2015 12:02:49 +0000 (12:02 +0000)]
Add support for .bss section in oat files.

Change-Id: I779b80b8139d9afdc28373f8c68edff5df7726ce

9 years agoMerge "Opt Compiler: ARM64: Enable explicit memory barriers over acquire/release"
Nicolas Geoffray [Mon, 2 Mar 2015 18:04:15 +0000 (18:04 +0000)]
Merge "Opt Compiler: ARM64: Enable explicit memory barriers over acquire/release"

9 years agoam 0aba6bc7: am 3d96f56f: Merge "ART: Fix off-by-two whitespace"
Andreas Gampe [Mon, 2 Mar 2015 16:43:03 +0000 (16:43 +0000)]
am 0aba6bc7: am 3d96f56f: Merge "ART: Fix off-by-two whitespace"

* commit '0aba6bc70b2f819f2c4b62fcf582ea78c2e6965d':
  ART: Fix off-by-two whitespace

9 years agoam 3d96f56f: Merge "ART: Fix off-by-two whitespace"
Andreas Gampe [Mon, 2 Mar 2015 16:37:55 +0000 (16:37 +0000)]
am 3d96f56f: Merge "ART: Fix off-by-two whitespace"

* commit '3d96f56f203c51c793befcc17619ad86e3b0a08e':
  ART: Fix off-by-two whitespace

9 years agoMerge "ART: Fix off-by-two whitespace"
Andreas Gampe [Mon, 2 Mar 2015 16:32:15 +0000 (16:32 +0000)]
Merge "ART: Fix off-by-two whitespace"

9 years ago[optimizing compiler] x86 goodness
Mark Mendell [Fri, 13 Feb 2015 22:48:38 +0000 (17:48 -0500)]
[optimizing compiler] x86 goodness

Implement the x86 version of
https://android-review.googlesource.com/#/c/129560/, which made some
enhancements to x86_64 code.
- Use leal to implement 3 operand adds
- Use testl rather than cmpl to 0 for registers
- Use leaq for x86_64 for adds with constant in int32_t range

Note:
- The range and register allocator tests seem quite fragile.  I had to
  change ADD_INT_LIT8 to XOR_INT_LIT8 for the register allocator test to
  get the code to run.  It seems like this is a bit hard-coded to
  expected code generation sequences.  I also changes BuildTwoAdds to
  BuildTwoSubs for the same reason.
- For the live range test, I just changed the expected output, as the
  Locations were different.

Change-Id: I402f2e95ddc8be4eb0befb3dae1b29feadfa29ab
Signed-off-by: Mark Mendell <mark.p.mendell@intel.com>
9 years agoART: Cache last returned range in LiveInterval::Covers
David Brazdil [Wed, 25 Feb 2015 16:17:05 +0000 (16:17 +0000)]
ART: Cache last returned range in LiveInterval::Covers

Optimizing spends ~10% of compilation time in the register allocator.
One of the frequently called methods is LiveInterval::Covers which
has linear complexity w.r.t. the number of gaps in liveness intervals.
This patch leverages the fact that the register allocator calls Covers
with non-decreasing position values and caches the last returned
result to start the iteration closer to the result the next time the
method is invoked. Stats from compiling the framework show that this
optimization reduces the average number of iterations needed to find
the result by 40%.

Change-Id: I4dd26b900879d5e1d03818ebc1e117cc6a53053c

9 years agoam 85e984b7: am 4ab52e75: Merge "Don\'t require three-character extensions for dex...
Richard Uhler [Mon, 2 Mar 2015 15:58:52 +0000 (15:58 +0000)]
am 85e984b7: am 4ab52e75: Merge "Don\'t require three-character extensions for dex locations."

* commit '85e984b7c51a9ebc94f5d06ef4a64d576f39867c':
  Don't require three-character extensions for dex locations.

9 years agoam 4ab52e75: Merge "Don\'t require three-character extensions for dex locations."
Richard Uhler [Mon, 2 Mar 2015 15:55:20 +0000 (15:55 +0000)]
am 4ab52e75: Merge "Don\'t require three-character extensions for dex locations."

* commit '4ab52e75c782abf19ff9ebff8d19c87ec4ec97b6':
  Don't require three-character extensions for dex locations.

9 years agoMerge "Don't require three-character extensions for dex locations."
Richard Uhler [Mon, 2 Mar 2015 15:50:08 +0000 (15:50 +0000)]
Merge "Don't require three-character extensions for dex locations."

9 years agoOpt Compiler: ARM64: Enable explicit memory barriers over acquire/release
Serban Constantinescu [Sun, 22 Feb 2015 20:51:33 +0000 (20:51 +0000)]
Opt Compiler: ARM64: Enable explicit memory barriers over acquire/release

Implement remaining explicit memory barrier code paths and temporarily
enable the use of explicit memory barriers for testing.

This CL also enables the use of instruction set features in the ARM64
backend. kUseAcquireRelease has been replaced with PreferAcquireRelease(),
which for now is statically set to false (prefer explicit memory barriers).

Please note that we still prefer acquire-release for the ARM64 Optimizing
Compiler, but we would like to exercise the explicit memory barrier code
path too.

Change-Id: I84e047ecd43b6fbefc5b82cf532e3f5c59076458
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
9 years agoART: Fix off-by-two whitespace
Andreas Gampe [Sat, 28 Feb 2015 06:16:14 +0000 (22:16 -0800)]
ART: Fix off-by-two whitespace

Follow-up to change 134380. Fix the whitespace to be printed. Fix
style. It's surprising the linter did not complain.

Change-Id: I3abcde3f401fa1fd4d7a847ff1f071fba23ce6a7

9 years agoam f16ca6a7: am 2eb5168b: Merge "Revert "Revert "Re-enable one thread dumping the...
Andreas Gampe [Sat, 28 Feb 2015 05:47:25 +0000 (05:47 +0000)]
am f16ca6a7: am 2eb5168b: Merge "Revert "Revert "Re-enable one thread dumping the native stack of another."""

* commit 'f16ca6a74d8cdccbe90ed8d2586b641cc141b0ae':
  Revert "Revert "Re-enable one thread dumping the native stack of another.""

9 years agoam 2eb5168b: Merge "Revert "Revert "Re-enable one thread dumping the native stack...
Andreas Gampe [Sat, 28 Feb 2015 05:41:46 +0000 (05:41 +0000)]
am 2eb5168b: Merge "Revert "Revert "Re-enable one thread dumping the native stack of another."""

* commit '2eb5168bd9e43b80452eaee5be32c063e124886e':
  Revert "Revert "Re-enable one thread dumping the native stack of another.""

9 years agoMerge "Revert "Revert "Re-enable one thread dumping the native stack of another."""
Andreas Gampe [Sat, 28 Feb 2015 05:37:17 +0000 (05:37 +0000)]
Merge "Revert "Revert "Re-enable one thread dumping the native stack of another."""

9 years agoam 98f50457: am f90316e0: Merge "ART: Allow dex2oat for apps only with image"
Andreas Gampe [Sat, 28 Feb 2015 04:25:30 +0000 (04:25 +0000)]
am 98f50457: am f90316e0: Merge "ART: Allow dex2oat for apps only with image"

* commit '98f5045798f3c892dd32665d6a888ab1423c8fba':
  ART: Allow dex2oat for apps only with image

9 years agoam f90316e0: Merge "ART: Allow dex2oat for apps only with image"
Andreas Gampe [Sat, 28 Feb 2015 04:21:10 +0000 (04:21 +0000)]
am f90316e0: Merge "ART: Allow dex2oat for apps only with image"

* commit 'f90316e06e1c7b7b4a4ebea8de0a1b4d72228fd6':
  ART: Allow dex2oat for apps only with image

9 years agoMerge "ART: Allow dex2oat for apps only with image"
Andreas Gampe [Sat, 28 Feb 2015 04:17:23 +0000 (04:17 +0000)]
Merge "ART: Allow dex2oat for apps only with image"

9 years agoART: Allow dex2oat for apps only with image
Andreas Gampe [Sat, 28 Feb 2015 03:35:46 +0000 (19:35 -0800)]
ART: Allow dex2oat for apps only with image

Do not allow a runtime without image when compiling an app. This
avoids the current abort when we then try to run out of the (missing)
boot classpath.

Bug: 19100590
Change-Id: Ic269dc2fa807d003215ea134cb42fe4c4d78124e