OSDN Git Service

android-x86/art.git
8 years agoMerge "Ignore DeflaterOutputStreamTest#testSyncFlushEnabled failures with CC."
Roland Levillain [Thu, 4 Feb 2016 18:01:00 +0000 (18:01 +0000)]
Merge "Ignore DeflaterOutputStreamTest#testSyncFlushEnabled failures with CC."
am: 496450a9f4

* commit '496450a9f4a2aacc5598051acbb384c5145ddca0':
  Ignore DeflaterOutputStreamTest#testSyncFlushEnabled failures with CC.

8 years agoMerge "Ignore DeflaterOutputStreamTest#testSyncFlushEnabled failures with CC."
Roland Levillain [Thu, 4 Feb 2016 17:57:48 +0000 (17:57 +0000)]
Merge "Ignore DeflaterOutputStreamTest#testSyncFlushEnabled failures with CC."

8 years agoIgnore DeflaterOutputStreamTest#testSyncFlushEnabled failures with CC.
Roland Levillain [Thu, 4 Feb 2016 17:29:22 +0000 (17:29 +0000)]
Ignore DeflaterOutputStreamTest#testSyncFlushEnabled failures with CC.

This test sometimes fails with a
java.util.concurrent.TimeoutException on ART Builbot's
x86 concurrent collector configuration:
* libcore.java.util.zip.DeflaterOutputStreamTest#testSyncFlushEnabled

Disable it while we investigate.

Bug: 26507762
Change-Id: I4f026c20a555f985a17bf785606cae53f3f804d3

8 years agoMerge "Fixed bug on premature DCHECK. With fail-before/pass-after test"
Aart Bik [Thu, 4 Feb 2016 17:05:30 +0000 (17:05 +0000)]
Merge "Fixed bug on premature DCHECK. With fail-before/pass-after test"
am: 85b3b52a93

* commit '85b3b52a931b54380be3753216e97431ae2215a9':
  Fixed bug on premature DCHECK. With fail-before/pass-after test

8 years agoMerge "Fixed bug on premature DCHECK. With fail-before/pass-after test"
Aart Bik [Thu, 4 Feb 2016 16:59:17 +0000 (16:59 +0000)]
Merge "Fixed bug on premature DCHECK. With fail-before/pass-after test"

8 years agoMerge "Re-enable some MIPS/MIPS64 run-tests"
Roland Levillain [Thu, 4 Feb 2016 16:48:32 +0000 (16:48 +0000)]
Merge "Re-enable some MIPS/MIPS64 run-tests"
am: f6171e1b62

* commit 'f6171e1b62c1442956e83e9a95eb0c0e385622e9':
  Re-enable some MIPS/MIPS64 run-tests

8 years agoMerge "Re-enable some MIPS/MIPS64 run-tests"
Roland Levillain [Thu, 4 Feb 2016 16:44:57 +0000 (16:44 +0000)]
Merge "Re-enable some MIPS/MIPS64 run-tests"

8 years agoMerge "Test 565-checker-doublenegbitwise applies to all architectures."
Roland Levillain [Thu, 4 Feb 2016 14:41:04 +0000 (14:41 +0000)]
Merge "Test 565-checker-doublenegbitwise applies to all architectures."
am: 9004b817d7

* commit '9004b817d7dcfa955a02bb7827de9401cdf4d291':
  Test 565-checker-doublenegbitwise applies to all architectures.

8 years agoMerge "Test 565-checker-doublenegbitwise applies to all architectures."
Roland Levillain [Thu, 4 Feb 2016 14:36:46 +0000 (14:36 +0000)]
Merge "Test 565-checker-doublenegbitwise applies to all architectures."

8 years agoRe-enable some MIPS/MIPS64 run-tests
Goran Jakovljevic [Thu, 4 Feb 2016 14:18:41 +0000 (15:18 +0100)]
Re-enable some MIPS/MIPS64 run-tests

These tests are passing now on MIPS/MIPS64:
- 441-checker-inliner
- 536-checker-intrinsic-optimization
- 557-checker-instruction-simplifier-ror

Change-Id: I57b82f8ec1e774e8e0a16ba289e50aa4a764b96b

8 years agoMerge "Reduce the size of native debug info generated by JIT."
David Srbecky [Thu, 4 Feb 2016 13:22:25 +0000 (13:22 +0000)]
Merge "Reduce the size of native debug info generated by JIT."
am: ac6a195ec8

* commit 'ac6a195ec8e1b5a7a6bd3d0c53d8997ff7a5e2cc':
  Reduce the size of native debug info generated by JIT.

8 years agoMerge "Reduce the size of native debug info generated by JIT."
David Srbecky [Thu, 4 Feb 2016 13:17:41 +0000 (13:17 +0000)]
Merge "Reduce the size of native debug info generated by JIT."

8 years agoReduce the size of native debug info generated by JIT.
David Srbecky [Thu, 28 Jan 2016 20:01:28 +0000 (20:01 +0000)]
Reduce the size of native debug info generated by JIT.

Remove some ELF file overheads:
 - Do not produce program headers.
 - Do not page align strtab.
 - Do not write oat_patches sections.

This more than halves the size of JIT native debug info.
Since we generate many small entries, the overheads added up.

Change-Id: I27d95548c61e2e38c3683d6f5eb870a2db6e812d

8 years agoTest 565-checker-doublenegbitwise applies to all architectures.
Alexandre Rames [Thu, 4 Feb 2016 13:16:08 +0000 (13:16 +0000)]
Test 565-checker-doublenegbitwise applies to all architectures.

Change-Id: Icd8c54b5b8e90f839c4ef1646074f70be1cfe094

8 years agoMerge "runtime: Don\'t skip verification for -Xverify:soft-fail"
Igor Murashkin [Thu, 4 Feb 2016 00:40:47 +0000 (00:40 +0000)]
Merge "runtime: Don\'t skip verification for -Xverify:soft-fail"
am: 867d63b65f

* commit '867d63b65f653d27dc7ea87e924f47148cec22a7':
  runtime: Don't skip verification for -Xverify:soft-fail

8 years agoMerge "runtime: Don't skip verification for -Xverify:soft-fail"
Igor Murashkin [Thu, 4 Feb 2016 00:34:43 +0000 (00:34 +0000)]
Merge "runtime: Don't skip verification for -Xverify:soft-fail"

8 years agoMerge "Strip image-format arg in dex2oat"
Mathieu Chartier [Thu, 4 Feb 2016 00:26:44 +0000 (00:26 +0000)]
Merge "Strip image-format arg in dex2oat"
am: 6006e2ce92

* commit '6006e2ce92fd86fdf028cd7b3afe972815b0e0f3':
  Strip image-format arg in dex2oat

8 years agoMerge "Strip image-format arg in dex2oat"
Mathieu Chartier [Thu, 4 Feb 2016 00:22:21 +0000 (00:22 +0000)]
Merge "Strip image-format arg in dex2oat"

8 years agoStrip image-format arg in dex2oat
Mathieu Chartier [Wed, 3 Feb 2016 23:50:29 +0000 (15:50 -0800)]
Strip image-format arg in dex2oat

Avoids printing it out to prevent spam.

Bug: 22858531

Change-Id: I9d0b35b8fa317bc39ab27946baa88812a32381e2

8 years agoMerge "Fix class_linker_test to take into account default methods."
Alex Light [Wed, 3 Feb 2016 21:55:48 +0000 (21:55 +0000)]
Merge "Fix class_linker_test to take into account default methods."
am: 009a195c55

* commit '009a195c5507ddc799cf7a52927b0ac02aa7f7e6':
  Fix class_linker_test to take into account default methods.

8 years agoMerge "Fix class_linker_test to take into account default methods."
Alex Light [Wed, 3 Feb 2016 21:51:04 +0000 (21:51 +0000)]
Merge "Fix class_linker_test to take into account default methods."

8 years agoFix class_linker_test to take into account default methods.
Alex Light [Wed, 3 Feb 2016 21:45:41 +0000 (13:45 -0800)]
Fix class_linker_test to take into account default methods.

Bug: 26963208
Change-Id: Ie22ce4e7fae3b259b9a58356dbd9662fda6d49e3

8 years agoruntime: Don't skip verification for -Xverify:soft-fail
Igor Murashkin [Wed, 3 Feb 2016 00:56:50 +0000 (16:56 -0800)]
runtime: Don't skip verification for -Xverify:soft-fail

When forcing the interpreter into access checks mode,
make sure that the regular verification is still run,
giving the verifier an opportunity to throw a VerifyError.

If verification would've succeeded (without -Xverify:soft-fail flag),
override this and soft-fail, to force the interpreter-with-access-checks to be run
instead of the normal faster interpreter.

This fixes the following run-tests under the interpeter-access-checks:
* 135
* 412
* 471
* 506
* 800

Bug: 22414682
Change-Id: I5cb86a8bba71c7af9361a63c0802786c852b857b

8 years agoMerge "Avoid read barrier for UpdateEntrypoints"
Mathieu Chartier [Wed, 3 Feb 2016 21:29:22 +0000 (21:29 +0000)]
Merge "Avoid read barrier for UpdateEntrypoints"
am: 287fd33a9f

* commit '287fd33a9f03f16ae52a3b290bcabb49bc65d97b':
  Avoid read barrier for UpdateEntrypoints

8 years agoMerge "Avoid read barrier for UpdateEntrypoints"
Mathieu Chartier [Wed, 3 Feb 2016 21:22:49 +0000 (21:22 +0000)]
Merge "Avoid read barrier for UpdateEntrypoints"

8 years agoFixed bug on premature DCHECK.
Aart Bik [Wed, 3 Feb 2016 20:56:02 +0000 (12:56 -0800)]
Fixed bug on premature DCHECK.
With fail-before/pass-after test

bug=26947011

Rationale:
During BCE, the phi structure is under construction,
to be fixed by InsertPhiNodes() and carefully checked
with the SSA checker. So utilities should not overly
DCHECK on SSA consistency during the modifications.

Change-Id: Ia9df9ee5aac0c1dd2c3e3a447c730246d5e48bbb

8 years agoMerge changes I44ee74d8,I78b17187
Igor Murashkin [Wed, 3 Feb 2016 20:18:16 +0000 (20:18 +0000)]
Merge changes I44ee74d8,I78b17187
am: e968112160

* commit 'e9681121609e08835dd461a80eea649b94dac563':
  runtime: Update Proxy to assume 1 less direct method
  runtime: Fix field resolution with access checks (runtest 073)

8 years agoMerge changes from topic \'reflection_1_8\'
Igor Murashkin [Wed, 3 Feb 2016 20:18:06 +0000 (20:18 +0000)]
Merge changes from topic \'reflection_1_8\'
am: 071b933eb6

* commit '071b933eb6e937ca6b9efa24e0e3a70a50eca975':
  Revert "Revert "reflection: Add new 1.8 AnnotatedElement methods and tests""
  interpreter: Fix proxy method invocation with access checks enabled.

8 years agoMerge changes I44ee74d8,I78b17187
Igor Murashkin [Wed, 3 Feb 2016 20:15:05 +0000 (20:15 +0000)]
Merge changes I44ee74d8,I78b17187

* changes:
  runtime: Update Proxy to assume 1 less direct method
  runtime: Fix field resolution with access checks (runtest 073)

8 years agoMerge changes from topic 'reflection_1_8'
Igor Murashkin [Wed, 3 Feb 2016 20:13:59 +0000 (20:13 +0000)]
Merge changes from topic 'reflection_1_8'

* changes:
  Revert "Revert "reflection: Add new 1.8 AnnotatedElement methods and tests""
  interpreter: Fix proxy method invocation with access checks enabled.

8 years agoAvoid read barrier for UpdateEntrypoints
Mathieu Chartier [Wed, 3 Feb 2016 19:48:27 +0000 (11:48 -0800)]
Avoid read barrier for UpdateEntrypoints

Somehow not caught by local testing.

Bug: 26786304
Change-Id: Ib9b53c0252bc053013fddd63c8146f4057a38453

8 years agoMerge "Minor improvement on static BCE analysis."
Aart Bik [Wed, 3 Feb 2016 17:50:03 +0000 (17:50 +0000)]
Merge "Minor improvement on static BCE analysis."
am: c5b76b9328

* commit 'c5b76b9328d77b83c80afed14a5b6e7009136e15':
  Minor improvement on static BCE analysis.

8 years agoMerge "Minor improvement on static BCE analysis."
Aart Bik [Wed, 3 Feb 2016 17:29:11 +0000 (17:29 +0000)]
Merge "Minor improvement on static BCE analysis."

8 years agoMinor improvement on static BCE analysis.
Aart Bik [Tue, 2 Feb 2016 21:26:16 +0000 (13:26 -0800)]
Minor improvement on static BCE analysis.

Rationale:
Avoid testing initial range if nothing is known.

Change-Id: I22646a5fd6e4481245d1a2f57891d2805550489f

8 years agoMerge "Implement first kind of polymorphic inlining on MIPS."
Roland Levillain [Wed, 3 Feb 2016 13:38:20 +0000 (13:38 +0000)]
Merge "Implement first kind of polymorphic inlining on MIPS."
am: a20748aceb

* commit 'a20748aceb63396c5e09366968bbc71308f745df':
  Implement first kind of polymorphic inlining on MIPS.

8 years agoMerge "Revert "Revert "Optimizing: double-negated bitwise operations simplifications"""
Roland Levillain [Wed, 3 Feb 2016 13:22:58 +0000 (13:22 +0000)]
Merge "Revert "Revert "Optimizing: double-negated bitwise operations simplifications"""
am: 905cb88fa4

* commit '905cb88fa4a8e3b7fd29424a35572d0d19c7bce5':
  Revert "Revert "Optimizing: double-negated bitwise operations simplifications""

8 years agoMerge "Implement first kind of polymorphic inlining on MIPS."
Roland Levillain [Wed, 3 Feb 2016 12:28:41 +0000 (12:28 +0000)]
Merge "Implement first kind of polymorphic inlining on MIPS."

8 years agoImplement first kind of polymorphic inlining on MIPS.
Roland Levillain [Wed, 3 Feb 2016 12:27:20 +0000 (12:27 +0000)]
Implement first kind of polymorphic inlining on MIPS.

Change-Id: Ie430d6c5821273143a1872b376e8e24683d00ab0

8 years agoMerge "Revert "Revert "Optimizing: double-negated bitwise operations simplifications"""
Roland Levillain [Wed, 3 Feb 2016 12:14:14 +0000 (12:14 +0000)]
Merge "Revert "Revert "Optimizing: double-negated bitwise operations simplifications"""

8 years agoMerge "ART: Fix rounding up in DexCacheArraysLayout constructor."
Vladimir Marko [Wed, 3 Feb 2016 10:58:16 +0000 (10:58 +0000)]
Merge "ART: Fix rounding up in DexCacheArraysLayout constructor."
am: 6b5a17a84d

* commit '6b5a17a84d84fc4a9131d7a256e6586d906be064':
  ART: Fix rounding up in DexCacheArraysLayout constructor.

8 years agoRevert "Revert "Optimizing: double-negated bitwise operations simplifications""
Alexandre Rames [Wed, 3 Feb 2016 10:54:07 +0000 (10:54 +0000)]
Revert "Revert "Optimizing: double-negated bitwise operations simplifications""

This reverts commit 737c0a99dfbba306ec1f50e2adf66b5d97805af6 with fixes.

In the original patch, the new instruction could be inserted before
one of its inputs. A regression test is also added.

Change-Id: Ie49a17ac90ff048355d9cc944b468cd1b1914424

8 years agoMerge "Assume fp operations can also take a constant on x86."
Nicolas Geoffray [Wed, 3 Feb 2016 10:52:02 +0000 (10:52 +0000)]
Merge "Assume fp operations can also take a constant on x86."
am: 371d75ef9e

* commit '371d75ef9e478ccd54e43e727e48ff5c4918e55e':
  Assume fp operations can also take a constant on x86.

8 years agoMerge "Write DWARF strings inline and remove .debug_str section."
David Srbecky [Wed, 3 Feb 2016 10:51:45 +0000 (10:51 +0000)]
Merge "Write DWARF strings inline and remove .debug_str section."
am: cbe3b55ac3

* commit 'cbe3b55ac3c34c9f6f3b7f0ddd86f9b88243547d':
  Write DWARF strings inline and remove .debug_str section.

8 years agoMerge "ART: Fix rounding up in DexCacheArraysLayout constructor."
Vladimir Marko [Wed, 3 Feb 2016 10:51:15 +0000 (10:51 +0000)]
Merge "ART: Fix rounding up in DexCacheArraysLayout constructor."

8 years agoMerge "Assume fp operations can also take a constant on x86."
Nicolas Geoffray [Wed, 3 Feb 2016 10:44:56 +0000 (10:44 +0000)]
Merge "Assume fp operations can also take a constant on x86."

8 years agoMerge "Share DWARF .debug_abbrev sections."
David Srbecky [Wed, 3 Feb 2016 10:44:10 +0000 (10:44 +0000)]
Merge "Share DWARF .debug_abbrev sections."
am: edd3a4b6c2

* commit 'edd3a4b6c222c9bc9ab84ffc10b374ccc6b647ea':
  Share DWARF .debug_abbrev sections.

8 years agoMerge "Write DWARF strings inline and remove .debug_str section."
David Srbecky [Wed, 3 Feb 2016 10:43:03 +0000 (10:43 +0000)]
Merge "Write DWARF strings inline and remove .debug_str section."

8 years agoWrite DWARF strings inline and remove .debug_str section.
David Srbecky [Mon, 1 Feb 2016 15:37:32 +0000 (15:37 +0000)]
Write DWARF strings inline and remove .debug_str section.

This means we no longer de-duplicate strings. Contra-intuitively this
saves space since removal of the indirection (4 bytes per string)
outweights the saving that we had from removal of duplicated strings.

The removal of buffering and deduplication also speeds up the processing.

Change-Id: Iee559094ed6180363e1665fbc79493e624b63435

8 years agoMerge "Share DWARF .debug_abbrev sections."
David Srbecky [Wed, 3 Feb 2016 10:39:42 +0000 (10:39 +0000)]
Merge "Share DWARF .debug_abbrev sections."

8 years agoShare DWARF .debug_abbrev sections.
David Srbecky [Fri, 29 Jan 2016 18:59:56 +0000 (18:59 +0000)]
Share DWARF .debug_abbrev sections.

Restructure the code so that all compilation units share the same
.debug_abbrev sections.  This deduplicates many of the abbrevs.

Change-Id: I7da07a8c850871786df52674183c16d574684729

8 years agoAssume fp operations can also take a constant on x86.
Nicolas Geoffray [Wed, 3 Feb 2016 10:13:41 +0000 (10:13 +0000)]
Assume fp operations can also take a constant on x86.

Because irreducible loops disable the constant pool optimization
on x86, we need to handle cases where a fp operation gets one.

Change-Id: I43387f31aa2589d02112953baa62fd0994d0a6d7

8 years agoMerge "ART: Enable multi-level instruction inlining"
David Brazdil [Wed, 3 Feb 2016 10:06:02 +0000 (10:06 +0000)]
Merge "ART: Enable multi-level instruction inlining"
am: 99e8e0b968

* commit '99e8e0b968e31b3757e329de560886b5aa7d6a13':
  ART: Enable multi-level instruction inlining

8 years agoMerge "ART: Enable multi-level instruction inlining"
David Brazdil [Wed, 3 Feb 2016 10:00:20 +0000 (10:00 +0000)]
Merge "ART: Enable multi-level instruction inlining"

8 years agoART: Enable multi-level instruction inlining
David Brazdil [Tue, 2 Feb 2016 16:50:46 +0000 (16:50 +0000)]
ART: Enable multi-level instruction inlining

Change-Id: I4b4c927d7b1598dc197793c25185fb079dec7fe1

8 years agoMerge "Handle HSelect in LSE."
Mingyao Yang [Wed, 3 Feb 2016 07:24:57 +0000 (07:24 +0000)]
Merge "Handle HSelect in LSE."
am: b72923dd4d

* commit 'b72923dd4d6e1636163047c960395ed9879e31fc':
  Handle HSelect in LSE.

8 years agoMerge "Handle HSelect in LSE."
Mingyao Yang [Wed, 3 Feb 2016 07:21:05 +0000 (07:21 +0000)]
Merge "Handle HSelect in LSE."

8 years agoHandle HSelect in LSE.
Mingyao Yang [Wed, 3 Feb 2016 04:10:32 +0000 (20:10 -0800)]
Handle HSelect in LSE.

HSelect essentially creates an alias which breaks the singleton
assumption. Need to handle the case in singleton detection.

Bug: 26922558
Change-Id: I259deefe16e1e16c08179a10369cfe5ae23ae155

8 years agoMerge "Prevent crashes if boot images fail to load"
Mathieu Chartier [Wed, 3 Feb 2016 03:08:22 +0000 (03:08 +0000)]
Merge "Prevent crashes if boot images fail to load"
am: 81e01d72ab

* commit '81e01d72abfe3136554cdaa354be683e2cb636af':
  Prevent crashes if boot images fail to load

8 years agoMerge "Prevent crashes if boot images fail to load"
Mathieu Chartier [Wed, 3 Feb 2016 03:02:54 +0000 (03:02 +0000)]
Merge "Prevent crashes if boot images fail to load"

8 years agoPrevent crashes if boot images fail to load
Mathieu Chartier [Wed, 3 Feb 2016 01:24:39 +0000 (17:24 -0800)]
Prevent crashes if boot images fail to load

We now reset the requested_alloc_space_begin so that there are no gaps
between any boot images and the non moving space.

Also clear boot_image_spaces so that ClassLinker::InitFromBootImage is
not called.

Finally, delete image spaces so that the maps and oat files are
unmapped.

Bug: 26913820

(cherry picked from commit 1e5ff87e774fdbd46efb1d2f61b1b2ab80145a19)

Change-Id: Ia31937f29ef217eac083165dfff37cd068fbd32b

8 years agoMerge "Fix updating string dex cache array for no class table case"
Mathieu Chartier [Wed, 3 Feb 2016 00:24:07 +0000 (00:24 +0000)]
Merge "Fix updating string dex cache array for no class table case"
am: 88df4892c8

* commit '88df4892c8b48de3019fd48c2ea2f49cf8eed098':
  Fix updating string dex cache array for no class table case

8 years agoMerge "Fix updating string dex cache array for no class table case"
Mathieu Chartier [Wed, 3 Feb 2016 00:18:12 +0000 (00:18 +0000)]
Merge "Fix updating string dex cache array for no class table case"

8 years agoFix updating string dex cache array for no class table case
Mathieu Chartier [Tue, 2 Feb 2016 18:09:58 +0000 (10:09 -0800)]
Fix updating string dex cache array for no class table case

The issue was that array classes do not have a dex cache. Also removed
some unnecessary mutables.

Bug: 22858531
Change-Id: I2bc45f019e064b6e562c8f158cc2ac8c0e513afd

8 years agoMerge "Fix remaining read barrier issues in image relocation"
Mathieu Chartier [Wed, 3 Feb 2016 00:16:17 +0000 (00:16 +0000)]
Merge "Fix remaining read barrier issues in image relocation"
am: 12d0e0e3d8

* commit '12d0e0e3d87a6f73618d6ceeeea8533b06c44643':
  Fix remaining read barrier issues in image relocation

8 years agoMerge "Fix remaining read barrier issues in image relocation"
Mathieu Chartier [Wed, 3 Feb 2016 00:08:44 +0000 (00:08 +0000)]
Merge "Fix remaining read barrier issues in image relocation"

8 years agoFix remaining read barrier issues in image relocation
Mathieu Chartier [Tue, 2 Feb 2016 04:15:11 +0000 (20:15 -0800)]
Fix remaining read barrier issues in image relocation

Added a way to disallow read barriers, this makes it easy to find
the issues.

Bug: 26786304
Change-Id: I7ebb50832686d03e096a979aae9741239371683f

8 years agoMerge "Rosalloc fast path in assembly for MIPS64"
Hans Boehm [Tue, 2 Feb 2016 23:16:28 +0000 (23:16 +0000)]
Merge "Rosalloc fast path in assembly for MIPS64"
am: b328291eff

* commit 'b328291eff12b5a44b026962c17befcf3170c37b':
  Rosalloc fast path in assembly for MIPS64

8 years agoMerge "Fix DCHECK compilation error."
Richard Uhler [Tue, 2 Feb 2016 23:14:08 +0000 (23:14 +0000)]
Merge "Fix DCHECK compilation error."
am: 2f0f5ffcfc

* commit '2f0f5ffcfcbe05d0fa20592294e6a12959e3dada':
  Fix DCHECK compilation error.

8 years agoMerge "Rosalloc fast path in assembly for MIPS64"
Hans Boehm [Tue, 2 Feb 2016 23:11:14 +0000 (23:11 +0000)]
Merge "Rosalloc fast path in assembly for MIPS64"

8 years agoMerge "Fix DCHECK compilation error."
Richard Uhler [Tue, 2 Feb 2016 23:08:12 +0000 (23:08 +0000)]
Merge "Fix DCHECK compilation error."

8 years agoMerge "Use SS/GSS collectors in dex2oat if they are the default."
Hiroshi Yamauchi [Tue, 2 Feb 2016 22:01:49 +0000 (22:01 +0000)]
Merge "Use SS/GSS collectors in dex2oat if they are the default."
am: 390f5b377a

* commit '390f5b377af63bc22f0925cc0da9f67ae1eecec2':
  Use SS/GSS collectors in dex2oat if they are the default.

8 years agoMerge "Use SS/GSS collectors in dex2oat if they are the default."
Hiroshi Yamauchi [Tue, 2 Feb 2016 21:55:04 +0000 (21:55 +0000)]
Merge "Use SS/GSS collectors in dex2oat if they are the default."

8 years agoUse SS/GSS collectors in dex2oat if they are the default.
Hiroshi Yamauchi [Fri, 29 Jan 2016 23:38:58 +0000 (15:38 -0800)]
Use SS/GSS collectors in dex2oat if they are the default.

With CL 198466, we stopped exercising the SS/GSS collectors in dex2oat,
which could bit-rot. We now turn on the force deterministic compilation
only if the default GC is CMS or MS and allow the SS/GSS collectors to
be exercised in dex2oat if they are the default.

Bug: 26687569
Change-Id: I049f8d0a9b4ebf3f31d0953cf71dd0e4ba6aa651

8 years agoFix DCHECK compilation error.
Richard Uhler [Tue, 2 Feb 2016 21:36:55 +0000 (13:36 -0800)]
Fix DCHECK compilation error.

Change-Id: I4df32cd13ad1b355302bddce1cb0fc6ff2486abe

8 years agoruntime: Update Proxy to assume 1 less direct method
Igor Murashkin [Tue, 2 Feb 2016 18:46:42 +0000 (10:46 -0800)]
runtime: Update Proxy to assume 1 less direct method

Part of a libcore-side cleanup to remove dead code.

Requires a corresponding libcore change to run.

Bug: 26846861
Change-Id: I44ee74d8a4cbd7889d655c15c76dad8121c3297e

8 years agoMerge "ART: Fix bad manual rename of local variable."
Vladimir Marko [Tue, 2 Feb 2016 20:47:36 +0000 (20:47 +0000)]
Merge "ART: Fix bad manual rename of local variable."
am: 24c11dcde9

* commit '24c11dcde9e8ed53813129b40f82a1af42b880b9':
  ART: Fix bad manual rename of local variable.

8 years agoMerge "ART: Fix bad manual rename of local variable."
Vladimir Marko [Tue, 2 Feb 2016 20:40:07 +0000 (20:40 +0000)]
Merge "ART: Fix bad manual rename of local variable."

8 years agoART: Fix rounding up in DexCacheArraysLayout constructor.
Vladimir Marko [Tue, 2 Feb 2016 20:27:08 +0000 (20:27 +0000)]
ART: Fix rounding up in DexCacheArraysLayout constructor.

This changes the way we round up to be conceptually correct
but does not really affect the results thanks to current
layout that interleaves GcRoot<> and pointer arrays. If two
odd-length GcRoot<> arrays were followed by a pointer array,
the pointer array would have been previously unaligned on
a 64-bit target.

Change-Id: I6b1cd2ed789f4f91206982caf3c765253fb65824

8 years agoMerge "Always use pendingNext to test enqueability of references."
Richard Uhler [Tue, 2 Feb 2016 20:26:47 +0000 (20:26 +0000)]
Merge "Always use pendingNext to test enqueability of references."
am: a89d6d630b

* commit 'a89d6d630b6fdb591d3dce536f8bca35deae307e':
  Always use pendingNext to test enqueability of references.

8 years agoMerge "Always use pendingNext to test enqueability of references."
Richard Uhler [Tue, 2 Feb 2016 20:22:47 +0000 (20:22 +0000)]
Merge "Always use pendingNext to test enqueability of references."

8 years agoART: Fix bad manual rename of local variable.
Vladimir Marko [Tue, 2 Feb 2016 20:12:32 +0000 (20:12 +0000)]
ART: Fix bad manual rename of local variable.

Follow up to
    https://android-review.googlesource.com/198621 .

Bug: 26929002
Change-Id: I11c5000d7b7bfaa866d45603c8c21d4ab8599a0e

8 years agoMerge "ART: Clean up strings fixup for app images."
Vladimir Marko [Tue, 2 Feb 2016 19:13:58 +0000 (19:13 +0000)]
Merge "ART: Clean up strings fixup for app images."
am: 1ef02af31d

* commit '1ef02af31d5936a59ddeb762cb3cf767b599787a':
  ART: Clean up strings fixup for app images.

8 years agoMerge "MIPS32: Fix codegen register dumps."
Vladimir Marko [Tue, 2 Feb 2016 18:56:37 +0000 (18:56 +0000)]
Merge "MIPS32: Fix codegen register dumps."
am: 444af27ba8

* commit '444af27ba8e76f37a33760a9c74ae5550b8ded13':
  MIPS32: Fix codegen register dumps.

8 years agoRevert "Revert "reflection: Add new 1.8 AnnotatedElement methods and tests""
Igor Murashkin [Mon, 1 Feb 2016 19:43:26 +0000 (11:43 -0800)]
Revert "Revert "reflection: Add new 1.8 AnnotatedElement methods and tests""

This reverts commit 28a2a186537db9fc5a8492e36d9603b48854c04f.

Runtest failure has been fixed in I28c3707e38c1f69ea9d3660f68136f688122ac4e

Change-Id: I1749dc89b790d44b5e40bc8b20aa62885bda792b

8 years agoruntime: Fix field resolution with access checks (runtest 073)
Igor Murashkin [Tue, 2 Feb 2016 01:40:19 +0000 (17:40 -0800)]
runtime: Fix field resolution with access checks (runtest 073)

Fixes field resolution not to take static/instance into account until
after the field is completely resolved. Only the [i|s][put|get]
instructions themselves have enough context on whether the field must be
static or not (and throw an ICCE on a mismatch).

This makes us more JLS 13.4.8 compatible and also fixes a run-test
failure for interpreter-access-checks configuration.

Bug: 22414682
Change-Id: I78b17187e59f8f78569fcd8ffdf1cf1603a2d4b2

8 years agointerpreter: Fix proxy method invocation with access checks enabled.
Igor Murashkin [Mon, 1 Feb 2016 22:21:25 +0000 (14:21 -0800)]
interpreter: Fix proxy method invocation with access checks enabled.

Interpret with access checks uses type information stored by a dex file,
so we need to get the original interface method (which is guaranteed
to be dex file backed) in that case.

Does not change method invoke target, just the method used for checks.

The existing 044-proxy test already covers this, so no regression test
necessary. Remove fixed tests from the blacklist.

Bug: 26846861
Bug: 22414682
Change-Id: I28c3707e38c1f69ea9d3660f68136f688122ac4e

8 years agoMerge "ART: Clean up strings fixup for app images."
Vladimir Marko [Tue, 2 Feb 2016 18:55:09 +0000 (18:55 +0000)]
Merge "ART: Clean up strings fixup for app images."

8 years agoMerge "MIPS32: Fix codegen register dumps."
Vladimir Marko [Tue, 2 Feb 2016 18:51:45 +0000 (18:51 +0000)]
Merge "MIPS32: Fix codegen register dumps."

8 years agoMIPS32: Fix codegen register dumps.
Vladimir Marko [Tue, 2 Feb 2016 18:14:52 +0000 (18:14 +0000)]
MIPS32: Fix codegen register dumps.

Dump raw registers instead of managed registers to be
in line with other architectures. This fixes a checker
failure in 510-checker-try-catch where we have previously
emitted a space that stopped the regexp search. However,
there still remains a runtime failure of the 510 test:
  Exception in thread "main" java.lang.Error:
    Method: "testCatchPhi_double",
    path: ExceptionalFlow1, expected: 3, actual: 0

Change-Id: Ib9ad2c60baf2e322ce1eb58b9dc39feb5ab6f148

8 years agoMerge "Revert "Revert "ART: Mterp for arm64"""
Bill Buzbee [Tue, 2 Feb 2016 18:04:41 +0000 (18:04 +0000)]
Merge "Revert "Revert "ART: Mterp for arm64"""
am: f7b6a3e42b

* commit 'f7b6a3e42b81b2a7934737790c0d45c2cc7ca6bc':
  Revert "Revert "ART: Mterp for arm64""

8 years agoMerge "Revert "Revert "ART: Mterp for arm64"""
Bill Buzbee [Tue, 2 Feb 2016 18:00:33 +0000 (18:00 +0000)]
Merge "Revert "Revert "ART: Mterp for arm64"""

8 years agoRevert "Revert "ART: Mterp for arm64""
Bill Buzbee [Tue, 2 Feb 2016 13:45:36 +0000 (13:45 +0000)]
Revert "Revert "ART: Mterp for arm64""

Looks like some of our assemblers disagree on valid arm64 assembly syntax
Force use of clang for art runtime.  In a subsequent CL, will use form
that both gcc and clang accept.

This reverts commit 43f3fb960bce978df699c8a68a972be2a0d0d221.

Change-Id: Ice83072171ab502c43d492e2238b446c4814ea67

8 years agoMerge "Add MIPS floating point register mapping to DWARF."
David Srbecky [Tue, 2 Feb 2016 17:43:21 +0000 (17:43 +0000)]
Merge "Add MIPS floating point register mapping to DWARF."
am: 5f16494aca

* commit '5f16494acae0c96c9e1034152d4aef9022cde94e':
  Add MIPS floating point register mapping to DWARF.

8 years agoMerge "Add MIPS floating point register mapping to DWARF."
David Srbecky [Tue, 2 Feb 2016 17:35:19 +0000 (17:35 +0000)]
Merge "Add MIPS floating point register mapping to DWARF."

8 years agoAdd MIPS floating point register mapping to DWARF.
David Srbecky [Mon, 1 Feb 2016 18:15:29 +0000 (18:15 +0000)]
Add MIPS floating point register mapping to DWARF.

Change-Id: I88508461412bc166549843744a3c6a4ee925b2c7

8 years agoART: Clean up strings fixup for app images.
Vladimir Marko [Tue, 2 Feb 2016 14:43:28 +0000 (14:43 +0000)]
ART: Clean up strings fixup for app images.

This is a follow-up to
    https://android-review.googlesource.com/199854 .

Bug: 26846419
Bug: 22858531
Change-Id: Ib2b2c299c51686afb7f297697125296705ed77b8

8 years agoMerge "Optimizing: Re-enable checker tests disabled for multi-image."
Vladimir Marko [Tue, 2 Feb 2016 15:33:54 +0000 (15:33 +0000)]
Merge "Optimizing: Re-enable checker tests disabled for multi-image."
am: 85fdcda926

* commit '85fdcda926fbab0e5a7b3e8b3541f5d225b2bcdb':
  Optimizing: Re-enable checker tests disabled for multi-image.

8 years agoMerge "Optimizing: Re-enable checker tests disabled for multi-image."
Vladimir Marko [Tue, 2 Feb 2016 15:29:43 +0000 (15:29 +0000)]
Merge "Optimizing: Re-enable checker tests disabled for multi-image."

8 years agoOptimizing: Re-enable checker tests disabled for multi-image.
Vladimir Marko [Tue, 2 Feb 2016 15:21:28 +0000 (15:21 +0000)]
Optimizing: Re-enable checker tests disabled for multi-image.

The pattern substituion we now do instead of inlining
is enough for these tests to work again.

Bug: 26317072
Change-Id: I0d501874b1be31884e9efc4f5d32fa893394c9ec

8 years agoMerge "Avoid re-declarations of base classes in DWARF."
David Srbecky [Tue, 2 Feb 2016 15:15:27 +0000 (15:15 +0000)]
Merge "Avoid re-declarations of base classes in DWARF."
am: 85aa2567c3

* commit '85aa2567c3c05eae82460c73c64d06606db5743e':
  Avoid re-declarations of base classes in DWARF.