OSDN Git Service

android-x86/art.git
8 years agoMerge "Finalized all components of range analysis needed for dynamic bce."
Aart Bik [Thu, 5 Nov 2015 17:16:35 +0000 (17:16 +0000)]
Merge "Finalized all components of range analysis needed for dynamic bce."
am: d93223d796

* commit 'd93223d7966bee1ae91a9e224c1dd56de1aa3f50':
  Finalized all components of range analysis needed for dynamic bce.

8 years agoMerge "Finalized all components of range analysis needed for dynamic bce."
Aart Bik [Thu, 5 Nov 2015 17:15:05 +0000 (17:15 +0000)]
Merge "Finalized all components of range analysis needed for dynamic bce."

8 years agoMerge "X86-64: Split long/double constant array/field set"
Nicolas Geoffray [Thu, 5 Nov 2015 16:28:51 +0000 (16:28 +0000)]
Merge "X86-64: Split long/double constant array/field set"
am: f2a93f4d82

* commit 'f2a93f4d824d6ea0f5858c774ba03f1c002a6aaa':
  X86-64: Split long/double constant array/field set

8 years agoMerge "X86-64: Split long/double constant array/field set"
Nicolas Geoffray [Thu, 5 Nov 2015 16:27:58 +0000 (16:27 +0000)]
Merge "X86-64: Split long/double constant array/field set"

8 years agoX86-64: Split long/double constant array/field set
Mark Mendell [Thu, 22 Oct 2015 21:35:49 +0000 (17:35 -0400)]
X86-64: Split long/double constant array/field set

A long constant needs to be in a register to store to memory.
By allowing stores of constants that are outside of the range of
int32_t, we reduce register usage.

Also support sets of float/double constants by using integer stores.

Rename RegisterOrInt32LongConstant to RegisterOrInt32Constant as it
now handles any type of constant.

Change-Id: I025d9ef889a5a433e45aa03b376bae40f14197d2
Signed-off-by: Mark Mendell <mark.p.mendell@intel.com>
8 years agoMerge "Fix conditional jump over jmp (X86/X86-64/ARM32)"
Nicolas Geoffray [Thu, 5 Nov 2015 15:54:56 +0000 (15:54 +0000)]
Merge "Fix conditional jump over jmp (X86/X86-64/ARM32)"
am: 3f96f42b37

* commit '3f96f42b3788f9b9b243822212ec686e599279ef':
  Fix conditional jump over jmp (X86/X86-64/ARM32)

8 years agoMerge "Fix conditional jump over jmp (X86/X86-64/ARM32)"
Nicolas Geoffray [Thu, 5 Nov 2015 15:53:05 +0000 (15:53 +0000)]
Merge "Fix conditional jump over jmp (X86/X86-64/ARM32)"

8 years agoMerge "Move .dynsym ELF section after .text"
David Srbecky [Thu, 5 Nov 2015 15:47:59 +0000 (15:47 +0000)]
Merge "Move .dynsym ELF section after .text"
am: f941a32401

* commit 'f941a32401f554a1713aedba44757f6edb664aad':
  Move .dynsym ELF section after .text

8 years agoFix conditional jump over jmp (X86/X86-64/ARM32)
Mark Mendell [Fri, 22 May 2015 20:58:19 +0000 (16:58 -0400)]
Fix conditional jump over jmp (X86/X86-64/ARM32)

Optimize the code generation for 'if' statements to jump to the
'false' block if the next block to be generated is the 'true' block.

Add an X86-64 test for this case.

Note that ARM64 & MIPS64 have not been updated.

Change-Id: Iebb1352feb9d3bd0142d8b0621a2e3069a708ea7
Signed-off-by: Mark Mendell <mark.p.mendell@intel.com>
8 years agoMerge "Move .dynsym ELF section after .text"
David Srbecky [Thu, 5 Nov 2015 15:42:08 +0000 (15:42 +0000)]
Merge "Move .dynsym ELF section after .text"

8 years agoMerge "Fix flake around instrumentation."
Nicolas Geoffray [Thu, 5 Nov 2015 14:46:04 +0000 (14:46 +0000)]
Merge "Fix flake around instrumentation."
am: 55a77ef5f9

* commit '55a77ef5f99c2b056eb5f2820c1ff3b29c0ec270':
  Fix flake around instrumentation.

8 years agoMerge "Fix flake around instrumentation."
Nicolas Geoffray [Thu, 5 Nov 2015 14:43:33 +0000 (14:43 +0000)]
Merge "Fix flake around instrumentation."

8 years agoMove .dynsym ELF section after .text
David Srbecky [Tue, 3 Nov 2015 13:43:09 +0000 (13:43 +0000)]
Move .dynsym ELF section after .text

The main purpose of the dynamic section is to describe where
.text is and how large it is.  It makes more sense to write
this section once we actually know this information.

Also write string sections (.dynstr and .strtab) before the
corresponding symbol sections because the strings take more space.

Neither of these changes is important now since we build the
sections in memory first, but it is move towards streaming of
the ELF file directly do disk.

Due to alignment requirements, the move increases the oat file
size by one page (4K) which is insignificant.

Change-Id: I61cc9f934b031d26a3a1f6007b51315e1538e3eb

8 years agoFix flake around instrumentation.
Nicolas Geoffray [Thu, 5 Nov 2015 13:26:17 +0000 (13:26 +0000)]
Fix flake around instrumentation.

bug:25492507
Change-Id: Ia4de07ecaf33c3153f5d93473671d2c93593f52d

8 years agoMerge "Code cleanup to avoid CompilerDriver abstractions in JIT."
Nicolas Geoffray [Thu, 5 Nov 2015 12:57:39 +0000 (12:57 +0000)]
Merge "Code cleanup to avoid CompilerDriver abstractions in JIT."
am: b24301b06b

* commit 'b24301b06b31b463f7e92ebc9a8f75839e54b746':
  Code cleanup to avoid CompilerDriver abstractions in JIT.

8 years agoMerge "Code cleanup to avoid CompilerDriver abstractions in JIT."
Nicolas Geoffray [Thu, 5 Nov 2015 12:53:57 +0000 (12:53 +0000)]
Merge "Code cleanup to avoid CompilerDriver abstractions in JIT."

8 years agoMerge "Properly delete the jit thread pool."
Nicolas Geoffray [Thu, 5 Nov 2015 12:18:32 +0000 (12:18 +0000)]
Merge "Properly delete the jit thread pool."
am: 2b13eaa500

* commit '2b13eaa50065346d4a1345b05fe2e1455df6d71d':
  Properly delete the jit thread pool.

8 years agoMerge "Properly delete the jit thread pool."
Nicolas Geoffray [Thu, 5 Nov 2015 12:16:09 +0000 (12:16 +0000)]
Merge "Properly delete the jit thread pool."

8 years agoProperly delete the jit thread pool.
Nicolas Geoffray [Wed, 4 Nov 2015 17:22:16 +0000 (17:22 +0000)]
Properly delete the jit thread pool.

bug:25461989
bug:25462600
Change-Id: I273cf256285d01c085e4dea1d997955d029361b9

8 years agoCode cleanup to avoid CompilerDriver abstractions in JIT.
Nicolas Geoffray [Wed, 4 Nov 2015 14:36:55 +0000 (14:36 +0000)]
Code cleanup to avoid CompilerDriver abstractions in JIT.

Avoids allocating a CompiledMethod.

Change-Id: I35b4aa0d7c74daba68e827a01e71c300fce3b3bf

8 years agoMerge "Revert "Use Jack lang dev version for compiling art tests""
Nicolas Geoffray [Thu, 5 Nov 2015 09:22:31 +0000 (09:22 +0000)]
Merge "Revert "Use Jack lang dev version for compiling art tests""
am: ad15539f5a

* commit 'ad15539f5a1135d82439c5eb3ed4bb80c422a734':
  Revert "Use Jack lang dev version for compiling art tests"

8 years agoMerge "Revert "Use Jack lang dev version for compiling art tests""
Nicolas Geoffray [Thu, 5 Nov 2015 09:20:42 +0000 (09:20 +0000)]
Merge "Revert "Use Jack lang dev version for compiling art tests""

8 years agoRevert "Use Jack lang dev version for compiling art tests"
Nicolas Geoffray [Thu, 5 Nov 2015 09:18:55 +0000 (09:18 +0000)]
Revert "Use Jack lang dev version for compiling art tests"

Tests fail.

This reverts commit 55fed87ff8b60d55589ee7df75b5080b17bce541.

Change-Id: I02c064c6774d72bc1349dbaab4d05ef69c537952

8 years agoMerge "Revert "Add basic image writer support for app images""
Nicolas Geoffray [Thu, 5 Nov 2015 08:50:13 +0000 (08:50 +0000)]
Merge "Revert "Add basic image writer support for app images""
am: c09b334456

* commit 'c09b3344568f9533a0954f5dfba20d65d05ec4c1':
  Revert "Add basic image writer support for app images"

8 years agoMerge "Revert "Add basic image writer support for app images""
Nicolas Geoffray [Thu, 5 Nov 2015 08:49:07 +0000 (08:49 +0000)]
Merge "Revert "Add basic image writer support for app images""

8 years agoRevert "Add basic image writer support for app images"
Nicolas Geoffray [Thu, 5 Nov 2015 08:47:52 +0000 (08:47 +0000)]
Revert "Add basic image writer support for app images"

interpreter and jit tests fail.

Bug: 22858531

This reverts commit c033474cfbfe1e963c07fa5c38aed02e35ed6f91.

Change-Id: Ic12a3e2a1908ac0db52d21a0b44b2508c88b2585

8 years agoMerge "Use Jack lang dev version for compiling art tests"
Yohann Roussel [Thu, 5 Nov 2015 08:11:54 +0000 (08:11 +0000)]
Merge "Use Jack lang dev version for compiling art tests"
am: f97ad8115d

* commit 'f97ad8115d00d5bd9bbd9c485a7a4b8107f620a2':
  Use Jack lang dev version for compiling art tests

8 years agoMerge "Use Jack lang dev version for compiling art tests"
Yohann Roussel [Thu, 5 Nov 2015 08:09:50 +0000 (08:09 +0000)]
Merge "Use Jack lang dev version for compiling art tests"

8 years agoMerge "Fix continuous build"
Sebastien Hertz [Thu, 5 Nov 2015 07:41:00 +0000 (07:41 +0000)]
Merge "Fix continuous build"
am: e597d59771

* commit 'e597d59771ac85a18744587eebc8711286aae5d4':
  Fix continuous build

8 years agoMerge "Fix continuous build"
Sebastien Hertz [Thu, 5 Nov 2015 07:38:42 +0000 (07:38 +0000)]
Merge "Fix continuous build"

8 years agoFix continuous build
Sebastien Hertz [Thu, 5 Nov 2015 07:32:10 +0000 (08:32 +0100)]
Fix continuous build

Stop building vogar.jar target since it no longer exists.

Change-Id: I4b834abd519736199c5ee1e5881b3531dbbf2c6f

8 years agoMerge "Add basic image writer support for app images"
Mathieu Chartier [Thu, 5 Nov 2015 02:12:52 +0000 (02:12 +0000)]
Merge "Add basic image writer support for app images"
am: a930832a4e

* commit 'a930832a4ef0a2ef0835c5db4650750018ab0765':
  Add basic image writer support for app images

8 years agoMerge "Add basic image writer support for app images"
Mathieu Chartier [Thu, 5 Nov 2015 02:09:05 +0000 (02:09 +0000)]
Merge "Add basic image writer support for app images"

8 years agoAdd basic image writer support for app images
Mathieu Chartier [Mon, 2 Nov 2015 18:30:20 +0000 (10:30 -0800)]
Add basic image writer support for app images

Needed to handle references from app image -> boot image.

Generate app images for tests to enable some testing.

Bug: 22858531

Change-Id: I1af98b6c4dfcb3a147fb5b0dea64aa4946c7ce57

8 years agoMerge "ART: Change behavior for rethrowing init failures"
Andreas Gampe [Wed, 4 Nov 2015 23:44:16 +0000 (23:44 +0000)]
Merge "ART: Change behavior for rethrowing init failures"
am: accc24985c

* commit 'accc24985c08e98a27f43bc856fba4c3c48e79e9':
  ART: Change behavior for rethrowing init failures

8 years agoMerge "ART: Change behavior for rethrowing init failures"
Andreas Gampe [Wed, 4 Nov 2015 23:42:13 +0000 (23:42 +0000)]
Merge "ART: Change behavior for rethrowing init failures"

8 years agoMerge "Revert "ART: Implement DeadPhiHandling in PrimitiveTypePropagation""
David Brazdil [Wed, 4 Nov 2015 22:52:08 +0000 (22:52 +0000)]
Merge "Revert "ART: Implement DeadPhiHandling in PrimitiveTypePropagation""
am: 3c60103948

* commit '3c60103948a8357497765965234eff7a56164061':
  Revert "ART: Implement DeadPhiHandling in PrimitiveTypePropagation"

8 years agoMerge "Revert "ART: Implement DeadPhiHandling in PrimitiveTypePropagation""
David Brazdil [Wed, 4 Nov 2015 22:49:06 +0000 (22:49 +0000)]
Merge "Revert "ART: Implement DeadPhiHandling in PrimitiveTypePropagation""

8 years agoRevert "ART: Implement DeadPhiHandling in PrimitiveTypePropagation"
David Brazdil [Wed, 4 Nov 2015 22:48:45 +0000 (22:48 +0000)]
Revert "ART: Implement DeadPhiHandling in PrimitiveTypePropagation"

Crashes on YouTube, need to investigate

This reverts commit 1749e2cfb5c5ed4d6970a09aecf898ca9cdfcb75.

Change-Id: If5f133d55dcc26b8db79a670a48fbd4af7807556

8 years agoART: Change behavior for rethrowing init failures
Andreas Gampe [Tue, 3 Nov 2015 00:20:00 +0000 (16:20 -0800)]
ART: Change behavior for rethrowing init failures

Allow to store a Throwable instance or a throwable class. Handle
rethrow accordingly.

Bug: 25444180
Change-Id: I703c2c6eaf34ad0e3bc0f5a104d65f2ff1b212ca

8 years agoMerge "ART: Implement DeadPhiHandling in PrimitiveTypePropagation"
David Brazdil [Wed, 4 Nov 2015 18:57:23 +0000 (18:57 +0000)]
Merge "ART: Implement DeadPhiHandling in PrimitiveTypePropagation"
am: 26bfcec526

* commit '26bfcec526860857410944f0d437957d109ef7ae':
  ART: Implement DeadPhiHandling in PrimitiveTypePropagation

8 years agoMerge "ART: Implement DeadPhiHandling in PrimitiveTypePropagation"
David Brazdil [Wed, 4 Nov 2015 18:48:52 +0000 (18:48 +0000)]
Merge "ART: Implement DeadPhiHandling in PrimitiveTypePropagation"

8 years agoART: Implement DeadPhiHandling in PrimitiveTypePropagation
David Brazdil [Mon, 28 Sep 2015 12:49:59 +0000 (13:49 +0100)]
ART: Implement DeadPhiHandling in PrimitiveTypePropagation

DeadPhiHandling revives non-conflicting phis with environment uses
but does not properly merge types. To not duplicate code, this patch
modifies PrimitiveTypePropagation to deal with conflicts and thus
replaces DeadPhiHandling altogether.

Bug: 24252151
Bug: 24252100

Change-Id: I198c71d1b8167fc05783a5a24aa9f1e3804acafe

8 years agoFinalized all components of range analysis needed for dynamic bce.
Aart Bik [Wed, 28 Oct 2015 21:23:40 +0000 (14:23 -0700)]
Finalized all components of range analysis needed for dynamic bce.

Rationale: added ability to generate taken-test, prompt back need
           for finite-test; cleaned up the API now that bounds
           check needs are all known.

Change-Id: I3d09b249965d1a980c09381240de175ca4b2e455

8 years agoUse Jack lang dev version for compiling art tests
Yohann Roussel [Wed, 4 Nov 2015 16:13:05 +0000 (17:13 +0100)]
Use Jack lang dev version for compiling art tests

Change-Id: Iada2d3919d5c5b5b4d32a607d9cddb89dad49648

8 years agoMerge "Delay emitting CFI PC adjustments until after Thumb2/Mips fixup."
Vladimir Marko [Wed, 4 Nov 2015 16:31:16 +0000 (16:31 +0000)]
Merge "Delay emitting CFI PC adjustments until after Thumb2/Mips fixup."
am: c8894ab502

* commit 'c8894ab5021aecd0fa5eba94af47f732914af33b':
  Delay emitting CFI PC adjustments until after Thumb2/Mips fixup.

8 years agoMerge "Delay emitting CFI PC adjustments until after Thumb2/Mips fixup."
Vladimir Marko [Wed, 4 Nov 2015 16:27:44 +0000 (16:27 +0000)]
Merge "Delay emitting CFI PC adjustments until after Thumb2/Mips fixup."

8 years agoDelay emitting CFI PC adjustments until after Thumb2/Mips fixup.
Vladimir Marko [Thu, 22 Oct 2015 14:25:54 +0000 (15:25 +0100)]
Delay emitting CFI PC adjustments until after Thumb2/Mips fixup.

On Mips also take into account out-of-order CFI data emitted
from EmitBranches().

Change-Id: I03b0b0b4c2b1ea31a02699ef5fa1c55aa42c23c3

8 years agoMerge "Fix test in case we run the ART_TEST_TRACE tests."
Nicolas Geoffray [Wed, 4 Nov 2015 11:01:18 +0000 (11:01 +0000)]
Merge "Fix test in case we run the ART_TEST_TRACE tests."
am: b178e11d9e

* commit 'b178e11d9eb44fc0ac666049f3aa14f7f14ffd64':
  Fix test in case we run the ART_TEST_TRACE tests.

8 years agoMerge "Fix test in case we run the ART_TEST_TRACE tests."
Nicolas Geoffray [Wed, 4 Nov 2015 10:58:11 +0000 (10:58 +0000)]
Merge "Fix test in case we run the ART_TEST_TRACE tests."

8 years agoFix test in case we run the ART_TEST_TRACE tests.
Nicolas Geoffray [Wed, 4 Nov 2015 10:57:23 +0000 (10:57 +0000)]
Fix test in case we run the ART_TEST_TRACE tests.

Change-Id: Ic998a29f2d5c573f34def798eb4f2fe5cf30e8a5

8 years agoMerge "JDWP: fix java.lang.String creation"
Sebastien Hertz [Wed, 4 Nov 2015 10:12:36 +0000 (10:12 +0000)]
Merge "JDWP: fix java.lang.String creation"
am: 6bf6e438cd

* commit '6bf6e438cd4746effce0b26d504c54100191c988':
  JDWP: fix java.lang.String creation

8 years agoMerge "JDWP: fix java.lang.String creation"
Sebastien Hertz [Wed, 4 Nov 2015 10:10:12 +0000 (10:10 +0000)]
Merge "JDWP: fix java.lang.String creation"

8 years agoMerge "Fix TODO on instrumentation and add some more DCHECKs."
Nicolas Geoffray [Wed, 4 Nov 2015 09:33:03 +0000 (09:33 +0000)]
Merge "Fix TODO on instrumentation and add some more DCHECKs."
am: 12cbc87247

* commit '12cbc872477dd278a27599d8714381657211b184':
  Fix TODO on instrumentation and add some more DCHECKs.

8 years agoMerge "Fix mips32oc ArraySet null constant assignment"
Nicolas Geoffray [Wed, 4 Nov 2015 09:32:54 +0000 (09:32 +0000)]
Merge "Fix mips32oc ArraySet null constant assignment"
am: 147bc832ca

* commit '147bc832ca81c4297c38c14eb7d5a8e281d4483d':
  Fix mips32oc ArraySet null constant assignment

8 years agoMerge "Fix TODO on instrumentation and add some more DCHECKs."
Nicolas Geoffray [Wed, 4 Nov 2015 09:30:50 +0000 (09:30 +0000)]
Merge "Fix TODO on instrumentation and add some more DCHECKs."

8 years agoMerge "Fix mips32oc ArraySet null constant assignment"
Nicolas Geoffray [Wed, 4 Nov 2015 09:29:53 +0000 (09:29 +0000)]
Merge "Fix mips32oc ArraySet null constant assignment"

8 years agoFix TODO on instrumentation and add some more DCHECKs.
Nicolas Geoffray [Tue, 3 Nov 2015 18:58:57 +0000 (18:58 +0000)]
Fix TODO on instrumentation and add some more DCHECKs.

bug:25343683
bug:25438583

Change-Id: I232deb1b6761466b514c687ce304f61928755cdc

8 years agoFix mips32oc ArraySet null constant assignment
Pavle Batuta [Tue, 3 Nov 2015 12:23:54 +0000 (13:23 +0100)]
Fix mips32oc ArraySet null constant assignment

Fix assigning a null constant to an array index. Previously this
would unnecessarily invoke pAputObject.

This commit fixes previous test failure: 521-checker-array-set-null.

Change-Id: I02ff5296fa3a48b021c0dfd9bb10628ba6e5d5e5

8 years agoMerge commit 'af30f9f3fba5e5a0d51cfd71e30f58c7ef49a71c' into HEAD
Bill Yi [Tue, 3 Nov 2015 22:28:55 +0000 (14:28 -0800)]
Merge commit 'af30f9f3fba5e5a0d51cfd71e30f58c7ef49a71c' into HEAD

8 years agoMerge "lambda: Minor capture-variable/liberate-variable clean-up after post-merge...
Igor Murashkin [Tue, 3 Nov 2015 21:20:28 +0000 (21:20 +0000)]
Merge "lambda: Minor capture-variable/liberate-variable clean-up after post-merge reviews."
am: f33ea7911d

* commit 'f33ea7911dadab2e49c4634cb1763f0526047e89':
  lambda: Minor capture-variable/liberate-variable clean-up after post-merge reviews.

8 years agoMerge "lambda: Minor capture-variable/liberate-variable clean-up after post-merge...
Igor Murashkin [Tue, 3 Nov 2015 21:15:50 +0000 (21:15 +0000)]
Merge "lambda: Minor capture-variable/liberate-variable clean-up after post-merge reviews."

8 years agoMerge "Annotate References with their referent."
Richard Uhler [Tue, 3 Nov 2015 19:51:16 +0000 (19:51 +0000)]
Merge "Annotate References with their referent."
am: 530dcc8b74

* commit '530dcc8b74a0f4e5f54e2b2c326580d58594a2f7':
  Annotate References with their referent.

8 years agoMerge "Fix broken handling of instrumentation lists."
Nicolas Geoffray [Tue, 3 Nov 2015 19:51:07 +0000 (19:51 +0000)]
Merge "Fix broken handling of instrumentation lists."
am: fb4b605612

* commit 'fb4b60561201fb866bdfbe6be8f0f1b5d8794809':
  Fix broken handling of instrumentation lists.

8 years agoMerge "Make things generally quieter."
Alex Light [Tue, 3 Nov 2015 19:50:59 +0000 (19:50 +0000)]
Merge "Make things generally quieter."
am: 3f922d1f3c

* commit '3f922d1f3ccd7a1341f887ac3e8176b5208ecf6d':
  Make things generally quieter.

8 years agoMerge remote-tracking branch \'goog/stage-aosp-master\' into HEAD
Bill Yi [Tue, 3 Nov 2015 19:39:47 +0000 (19:39 +0000)]
Merge remote-tracking branch \'goog/stage-aosp-master\' into HEAD
am: 243a468c11

* commit '243a468c11fdb24ce549353b7427678dc8e9e2d5':

8 years agoMerge "Limit summary string lengths to 200 characters."
Richard Uhler [Tue, 3 Nov 2015 19:39:36 +0000 (19:39 +0000)]
Merge "Limit summary string lengths to 200 characters."
am: 7727ea62d0

* commit '7727ea62d0f10ded6225abca2dfa2c421051d341':
  Limit summary string lengths to 200 characters.

8 years agoMerge "Annotate References with their referent."
Richard Uhler [Tue, 3 Nov 2015 18:44:22 +0000 (18:44 +0000)]
Merge "Annotate References with their referent."

8 years agoAnnotate References with their referent.
Richard Uhler [Thu, 29 Oct 2015 20:02:42 +0000 (13:02 -0700)]
Annotate References with their referent.

Also, don't include annotations in an object's link. That way we can
distinguish between the object link and any links in the annotations.

Change-Id: I3fef3f5b2c343699f527cad9efa7c93a4b35a3a4

8 years agoMerge "Fix broken handling of instrumentation lists."
Nicolas Geoffray [Tue, 3 Nov 2015 18:33:28 +0000 (18:33 +0000)]
Merge "Fix broken handling of instrumentation lists."

8 years agoMerge "Make things generally quieter."
Alex Light [Tue, 3 Nov 2015 18:15:48 +0000 (18:15 +0000)]
Merge "Make things generally quieter."

8 years agoMake things generally quieter.
Alex Light [Thu, 29 Oct 2015 00:00:06 +0000 (17:00 -0700)]
Make things generally quieter.

* Give run-test a --quiet flag that causes it to only print on errors.
* Give cpplint a --quiet flag that causes it to not print anything
  when there are no errors.
* Add a ART_TEST_QUIET flag to build/Android.common_test.mk which
  makes run-test targets much quieter when true (the default). With
  this flag only failures will be printed.
* Make build/Android.cpplint.mk pass the new cpplint --quiet flag so
  that only failures will be printed.

Before:
    [ 96% 5715/5906] build test-art-host-run-test-debug-prebuild-interpreter-relocate-ntrace-cms-checkjni-image-npictest-ndebuggable-461-get-reference-vreg32
    test-art-host-run-test-debug-prebuild-interpreter-relocate-ntrace-cms-checkjni-image-npictest-ndebuggable-448-multiple-returns32 RUNNING
    /usr/local/google/buildbot/src/googleplex-android/master-art-host/art/test/448-multiple-returns: building...
    /usr/local/google/buildbot/src/googleplex-android/master-art-host/art/test/448-multiple-returns: running...
    /usr/local/google/buildbot/src/googleplex-android/master-art-host/art/test/448-multiple-returns: succeeded!
    test-art-host-run-test-debug-prebuild-interpreter-relocate-ntrace-cms-checkjni-image-npictest-ndebuggable-448-multiple-returns32 PASSED

After:
    [ 96% 5715/5906] build test-art-host-run-test-debug-prebuild-interpreter-relocate-ntrace-cms-checkjni-image-npictest-ndebuggable-461-get-reference-vreg32

Change-Id: Idf6fce7f48a619f83254b48861dbd7f8eb4ebdbf

8 years agoMerge remote-tracking branch 'goog/stage-aosp-master' into HEAD
Bill Yi [Tue, 3 Nov 2015 17:38:46 +0000 (09:38 -0800)]
Merge remote-tracking branch 'goog/stage-aosp-master' into HEAD

8 years agoMerge "Limit summary string lengths to 200 characters."
Richard Uhler [Tue, 3 Nov 2015 17:00:33 +0000 (17:00 +0000)]
Merge "Limit summary string lengths to 200 characters."

8 years agoFix broken handling of instrumentation lists.
Nicolas Geoffray [Tue, 3 Nov 2015 11:44:24 +0000 (11:44 +0000)]
Fix broken handling of instrumentation lists.

- We cannot copy before iterating, as entries might be deleted.
- We cannot remove entries in the list, as mutators could be
  currently iterating over it.

Solution in this change is to never remove list entries, but
put null when a listener is removed. When adding a listener, we
will either put it where there is a null slot, or at the end
of the list if there is no null slot.

Change-Id: Id94582fd971cd56bcb445caff64270d21987f700

8 years agoJDWP: fix java.lang.String creation
Sebastien Hertz [Tue, 3 Nov 2015 16:38:35 +0000 (17:38 +0100)]
JDWP: fix java.lang.String creation

Bug: 25439464
Change-Id: I56f11ed942585e8110dbbba1178cf11ec76e032f

8 years agoMerge "Use --oat-fd instead of --oat-file when calling dex2oat."
Richard Uhler [Tue, 3 Nov 2015 16:04:47 +0000 (16:04 +0000)]
Merge "Use --oat-fd instead of --oat-file when calling dex2oat."
am: ea834bbed4

* commit 'ea834bbed4f39d23cb2aafb1aa5cf73f71bcf21a':
  Use --oat-fd instead of --oat-file when calling dex2oat.

8 years agoMerge "Use --oat-fd instead of --oat-file when calling dex2oat."
Richard Uhler [Tue, 3 Nov 2015 16:01:56 +0000 (16:01 +0000)]
Merge "Use --oat-fd instead of --oat-file when calling dex2oat."

8 years agoMerge "Fix deadlock with the JIT code cache."
Nicolas Geoffray [Tue, 3 Nov 2015 10:30:10 +0000 (10:30 +0000)]
Merge "Fix deadlock with the JIT code cache."
am: df6dc42ba2

* commit 'df6dc42ba2ca0fa43ba970ba2e60977422105f7e':
  Fix deadlock with the JIT code cache.

8 years agoMerge "Fix deadlock with the JIT code cache."
Nicolas Geoffray [Tue, 3 Nov 2015 10:28:03 +0000 (10:28 +0000)]
Merge "Fix deadlock with the JIT code cache."

8 years agoFix deadlock with the JIT code cache.
Nicolas Geoffray [Wed, 28 Oct 2015 19:15:05 +0000 (19:15 +0000)]
Fix deadlock with the JIT code cache.

Also remove hack done for ThreadStress.

Change-Id: Ie25c3bca08d9f2b8919706fa3fc26c5ab213f4a3

8 years agoMerge "Minor improvements for the CC collector."
Hiroshi Yamauchi [Mon, 2 Nov 2015 23:34:06 +0000 (23:34 +0000)]
Merge "Minor improvements for the CC collector."
am: 4bbe7807f3

* commit '4bbe7807f313bb8e59131812c31bf31513094f8f':
  Minor improvements for the CC collector.

8 years agoMerge "Minor improvements for the CC collector."
Hiroshi Yamauchi [Mon, 2 Nov 2015 23:30:47 +0000 (23:30 +0000)]
Merge "Minor improvements for the CC collector."

8 years agolambda: Minor capture-variable/liberate-variable clean-up after post-merge reviews.
Igor Murashkin [Tue, 6 Oct 2015 20:59:43 +0000 (13:59 -0700)]
lambda: Minor capture-variable/liberate-variable clean-up after post-merge reviews.

Change-Id: I64f867d4ed5a5efcac138097f38efe4bb7f1281d

8 years agoMerge "Fix minor problems with interface verification and default methods."
Alex Light [Mon, 2 Nov 2015 20:52:21 +0000 (20:52 +0000)]
Merge "Fix minor problems with interface verification and default methods."
am: 3482c27127

* commit '3482c271278b30ca7a5c6206b7f80332616f6a84':
  Fix minor problems with interface verification and default methods.

8 years agoMerge "Fix minor problems with interface verification and default methods."
Alex Light [Mon, 2 Nov 2015 20:48:52 +0000 (20:48 +0000)]
Merge "Fix minor problems with interface verification and default methods."

8 years agoMerge "Revert "ART: Update DCE to work with try/catch""
David Brazdil [Mon, 2 Nov 2015 20:30:58 +0000 (20:30 +0000)]
Merge "Revert "ART: Update DCE to work with try/catch""
am: 86a8e247e3

* commit '86a8e247e3cd873c03bb79f79bf88a1b4c4e0597':
  Revert "ART: Update DCE to work with try/catch"

8 years agoMerge "Revert "ART: Update DCE to work with try/catch""
David Brazdil [Mon, 2 Nov 2015 20:24:35 +0000 (20:24 +0000)]
Merge "Revert "ART: Update DCE to work with try/catch""

8 years agoRevert "ART: Update DCE to work with try/catch"
David Brazdil [Mon, 2 Nov 2015 20:24:24 +0000 (20:24 +0000)]
Revert "ART: Update DCE to work with try/catch"

This reverts commit ce52901e2c8377fc1c331ae0faf7fbcb46b9da97.

Change-Id: I6b3a1f2a3dc036030b089b0df2005ecefa66b949

8 years agoMinor improvements for the CC collector.
Hiroshi Yamauchi [Thu, 29 Oct 2015 03:59:47 +0000 (20:59 -0700)]
Minor improvements for the CC collector.

- Split Mark() and inline its first part.
- Make sure some other routines are inlined.
- Add some UNLIKELY's.
- Use VisitConcurrentRoots().

Ritz EAAC GC time decreased from 28.9 -> 27.6s (-4.5%) on N5.

Bug: 12687968

Change-Id: I7bd13f162e7daa2a5853000fb22c5fefc318994f

8 years agoMerge "ART: Update DCE to work with try/catch"
David Brazdil [Mon, 2 Nov 2015 19:30:51 +0000 (19:30 +0000)]
Merge "ART: Update DCE to work with try/catch"
am: 808e752491

* commit '808e7524918da5f7f41d2ceaa58dbb381e5708ff':
  ART: Update DCE to work with try/catch

8 years agoMerge "ART: Update DCE to work with try/catch"
David Brazdil [Mon, 2 Nov 2015 19:26:14 +0000 (19:26 +0000)]
Merge "ART: Update DCE to work with try/catch"

8 years agoART: Update DCE to work with try/catch
David Brazdil [Thu, 29 Oct 2015 00:25:55 +0000 (19:25 -0500)]
ART: Update DCE to work with try/catch

Dead block elimination was previously disabled because it needed
to be updated. With this patch, try/catch blocks can be removed
as a result of a dead if/switch branch.

Change-Id: I3261060bf24fd5fe7bb0f989247f0ef62ec5fd7b

8 years agoMerge "Add application image dex2oat options"
Mathieu Chartier [Mon, 2 Nov 2015 16:53:15 +0000 (16:53 +0000)]
Merge "Add application image dex2oat options"
am: 49560fcce5

* commit '49560fcce5b9a07108f7cc75a3fb0fa265e5fa0e':
  Add application image dex2oat options

8 years agoMerge "Add application image dex2oat options"
Mathieu Chartier [Mon, 2 Nov 2015 16:49:09 +0000 (16:49 +0000)]
Merge "Add application image dex2oat options"

8 years agoAdd application image dex2oat options
Mathieu Chartier [Thu, 29 Oct 2015 22:41:36 +0000 (15:41 -0700)]
Add application image dex2oat options

Bug: 22858531
Change-Id: Ia6a2a832b20b5bb70672521cd06f679335efbd92

8 years agoMerge "Fix tests flakiness with jit when using Proxy classes."
Nicolas Geoffray [Mon, 2 Nov 2015 15:50:41 +0000 (15:50 +0000)]
Merge "Fix tests flakiness with jit when using Proxy classes."
am: e00197d605

* commit 'e00197d60579838974c02853fd3371ac761922ae':
  Fix tests flakiness with jit when using Proxy classes.

8 years agoMerge "Fix tests flakiness with jit when using Proxy classes."
Nicolas Geoffray [Mon, 2 Nov 2015 15:48:07 +0000 (15:48 +0000)]
Merge "Fix tests flakiness with jit when using Proxy classes."

8 years agoFix tests flakiness with jit when using Proxy classes.
Nicolas Geoffray [Mon, 2 Nov 2015 11:57:11 +0000 (11:57 +0000)]
Fix tests flakiness with jit when using Proxy classes.

We cannot copy the entry point between ArtMethod when
the entry point has been JITted. We put the interpreter
bridge instead.

bug:25334878

Change-Id: I65a50cc1f10a5a152733807f8c85fb3ed81c5829

8 years agoMerge "Fix stalled comment from last commit."
Nicolas Geoffray [Mon, 2 Nov 2015 14:34:16 +0000 (14:34 +0000)]
Merge "Fix stalled comment from last commit."
am: 78ef3fee3f

* commit '78ef3fee3fcf0b2cfb68b3e943cd144d389313fd':
  Fix stalled comment from last commit.