OSDN Git Service

android-x86/art.git
8 years agoMerge "Revert "ART: Enable Jit Profiling in Mterp for arm/arm64"" am: 586996afc9
Nicolas Geoffray [Fri, 5 Feb 2016 17:23:49 +0000 (17:23 +0000)]
Merge "Revert "ART: Enable Jit Profiling in Mterp for arm/arm64"" am: 586996afc9
am: fc3a6ec6e1

* commit 'fc3a6ec6e1b7bf73e955475299e784d2bd0ee02b':
  Revert "ART: Enable Jit Profiling in Mterp for arm/arm64"

8 years agoMerge "Disable test for now." am: 3aec725d03
Nicolas Geoffray [Fri, 5 Feb 2016 17:23:40 +0000 (17:23 +0000)]
Merge "Disable test for now." am: 3aec725d03
am: 3220aad231

* commit '3220aad231a5cc5372e2cc5baa7cd4d3496e779e':
  Disable test for now.

8 years agoMerge "Store relative paths in the profile file"
Calin Juravle [Fri, 5 Feb 2016 17:13:00 +0000 (17:13 +0000)]
Merge "Store relative paths in the profile file"

8 years agoStore relative paths in the profile file
Calin Juravle [Fri, 5 Feb 2016 16:19:19 +0000 (16:19 +0000)]
Store relative paths in the profile file

Bug: 26409579
Bug: 26080105
Change-Id: I45e6e382946a45129ed43d92768c7e870cf41aff

8 years agoMerge "Revert "ART: Enable Jit Profiling in Mterp for arm/arm64""
Nicolas Geoffray [Fri, 5 Feb 2016 09:29:04 +0000 (09:29 +0000)]
Merge "Revert "ART: Enable Jit Profiling in Mterp for arm/arm64""
am: 586996afc9

* commit '586996afc905518ed926e4680aab67bedabec9b7':
  Revert "ART: Enable Jit Profiling in Mterp for arm/arm64"

8 years agoMerge "Revert "ART: Enable Jit Profiling in Mterp for arm/arm64""
Nicolas Geoffray [Fri, 5 Feb 2016 09:24:32 +0000 (09:24 +0000)]
Merge "Revert "ART: Enable Jit Profiling in Mterp for arm/arm64""

8 years agoRevert "ART: Enable Jit Profiling in Mterp for arm/arm64"
Nicolas Geoffray [Fri, 5 Feb 2016 09:24:02 +0000 (09:24 +0000)]
Revert "ART: Enable Jit Profiling in Mterp for arm/arm64"

Not super happy to revert this, but unfortunately, too many problems when testing:

arm: tests timeout when running run-tests with the interpreter.

arm64 failures:
test-art-target-run-test-ndebug-prebuild-jit-relocate-ntrace-cms-checkjni-image-npictest-ndebuggable-003-omnibus-opcodes64
test-art-target-run-test-ndebug-prebuild-jit-relocate-ntrace-cms-checkjni-image-npictest-ndebuggable-005-annotations64
test-art-target-run-test-ndebug-prebuild-jit-relocate-ntrace-cms-checkjni-image-npictest-ndebuggable-064-field-access64
test-art-target-run-test-ndebug-prebuild-jit-relocate-ntrace-cms-checkjni-image-npictest-ndebuggable-406-fields64

  org.apache.harmony.jpda.tests.jdwp.Events.EventWithExceptionTest#testBreakpoint_BeforeException
org.apache.harmony.jpda.tests.jdwp.Events.EventWithExceptionTest#testFieldAccess
org.apache.harmony.jpda.tests.jdwp.Events.EventWithExceptionTest#testFieldModification
org.apache.harmony.jpda.tests.jdwp.Events.EventWithExceptionTest#testMethodExit
org.apache.harmony.jpda.tests.jdwp.Events.EventWithExceptionTest#testMethodExitWithReturnValue
org.apache.harmony.jpda.tests.jdwp.Events.FieldAccessTest#testFieldAccessEvent
org.apache.harmony.jpda.tests.jdwp.Events.FieldModification002Test#testFieldModifyEvent
org.apache.harmony.jpda.tests.jdwp.Events.FieldModificationTest#testFieldModifyEvent
org.apache.harmony.jpda.tests.jdwp.Events.MethodExitWithReturnValueTest#testMethodExitWithReturnValueException

This reverts commit a0a16105423459287497a98129dcba2828ccd7f0.

Change-Id: I8ff0512265ed0a422be67e7410998ad02639509c

8 years agoMerge "Disable test for now."
Nicolas Geoffray [Fri, 5 Feb 2016 08:53:47 +0000 (08:53 +0000)]
Merge "Disable test for now."
am: 3aec725d03

* commit '3aec725d03e9ba28562e7c2578445307ecb7dd2d':
  Disable test for now.

8 years agoMerge "Disable test for now."
Nicolas Geoffray [Fri, 5 Feb 2016 08:50:23 +0000 (08:50 +0000)]
Merge "Disable test for now."

8 years agoDisable test for now.
Nicolas Geoffray [Fri, 5 Feb 2016 08:46:27 +0000 (08:46 +0000)]
Disable test for now.

Change-Id: I03af3ee1627d6eade46d8bd74ac9eb60245d66fc

8 years agoMerge "Revert "Disable app images for now""
Mathieu Chartier [Fri, 5 Feb 2016 02:08:30 +0000 (02:08 +0000)]
Merge "Revert "Disable app images for now""

8 years agoMerge "Use GC critical section for adding and removing app images" am: b2b6d8a778
Mathieu Chartier [Fri, 5 Feb 2016 00:36:25 +0000 (00:36 +0000)]
Merge "Use GC critical section for adding and removing app images" am: b2b6d8a778
am: 78b636be0a

* commit '78b636be0a04173707ba3ea3ef5384a6f48b0e10':
  Use GC critical section for adding and removing app images

8 years agoMerge "Use GC critical section for adding and removing app images"
Mathieu Chartier [Fri, 5 Feb 2016 00:33:02 +0000 (00:33 +0000)]
Merge "Use GC critical section for adding and removing app images"
am: b2b6d8a778

* commit 'b2b6d8a778b5e9879319ffed07ed7b5abe09efb5':
  Use GC critical section for adding and removing app images

8 years agoMerge "Use GC critical section for adding and removing app images"
Mathieu Chartier [Fri, 5 Feb 2016 00:25:39 +0000 (00:25 +0000)]
Merge "Use GC critical section for adding and removing app images"

8 years agoMerge "runtime: Cleanup comments for kAccSkipAccessChecks" am: bd707ab60f
Igor Murashkin [Thu, 4 Feb 2016 23:57:21 +0000 (23:57 +0000)]
Merge "runtime: Cleanup comments for kAccSkipAccessChecks" am: bd707ab60f
am: cd23e19384

* commit 'cd23e193840dfee55df344bb66f91a999c7e3ddd':
  runtime: Cleanup comments for kAccSkipAccessChecks

8 years agoUse GC critical section for adding and removing app images
Mathieu Chartier [Thu, 4 Feb 2016 21:31:46 +0000 (13:31 -0800)]
Use GC critical section for adding and removing app images

A SuspendAll was not sufficient since there are points during the GC
when the mutator lock can be temporarily released. This was causing
at least some assert failures in CC such as attempting to clear
black read barrier pointers on app image objects with white read
barrier pointers.

Bug: 26979834
Bug: 26970811
Bug: 26786304
Bug: 22858531

Change-Id: I375fc05e787e629c40de6f345802447c02601ff0

8 years agoMerge "runtime: Cleanup comments for kAccSkipAccessChecks"
Igor Murashkin [Thu, 4 Feb 2016 23:33:47 +0000 (23:33 +0000)]
Merge "runtime: Cleanup comments for kAccSkipAccessChecks"
am: bd707ab60f

* commit 'bd707ab60fa33ec1ba921ee0c7d3b24d70f00a54':
  runtime: Cleanup comments for kAccSkipAccessChecks

8 years agoMerge "runtime: Cleanup comments for kAccSkipAccessChecks"
Igor Murashkin [Thu, 4 Feb 2016 23:30:13 +0000 (23:30 +0000)]
Merge "runtime: Cleanup comments for kAccSkipAccessChecks"

8 years agoMerge "ART: Enable Jit Profiling in Mterp for arm/arm64" am: a4e981265d
Bill Buzbee [Thu, 4 Feb 2016 22:20:31 +0000 (22:20 +0000)]
Merge "ART: Enable Jit Profiling in Mterp for arm/arm64" am: a4e981265d
am: 918a579840

* commit '918a5798402d51b4bb91de05b5f1f927b0a81bc8':
  ART: Enable Jit Profiling in Mterp for arm/arm64

8 years agoMerge "ART: Enable Jit Profiling in Mterp for arm/arm64"
Bill Buzbee [Thu, 4 Feb 2016 22:18:23 +0000 (22:18 +0000)]
Merge "ART: Enable Jit Profiling in Mterp for arm/arm64"
am: a4e981265d

* commit 'a4e981265dd57adbe755e12a814c0f30ae073c2f':
  ART: Enable Jit Profiling in Mterp for arm/arm64

8 years agoMerge "ART: Enable Jit Profiling in Mterp for arm/arm64"
Bill Buzbee [Thu, 4 Feb 2016 22:12:43 +0000 (22:12 +0000)]
Merge "ART: Enable Jit Profiling in Mterp for arm/arm64"

8 years agoMerge "madvise away app image dex cache arrays" am: e99d23aba1
Mathieu Chartier [Thu, 4 Feb 2016 20:03:38 +0000 (20:03 +0000)]
Merge "madvise away app image dex cache arrays" am: e99d23aba1
am: 42824affb1

* commit '42824affb1cf137aa0ef8f3f256c78d17b70c808':
  madvise away app image dex cache arrays

8 years agoMerge "madvise away app image dex cache arrays"
Mathieu Chartier [Thu, 4 Feb 2016 20:01:29 +0000 (20:01 +0000)]
Merge "madvise away app image dex cache arrays"
am: e99d23aba1

* commit 'e99d23aba15f540b52d69d58bd7aee710dfc0610':
  madvise away app image dex cache arrays

8 years agoMerge "madvise away app image dex cache arrays"
Mathieu Chartier [Thu, 4 Feb 2016 19:56:56 +0000 (19:56 +0000)]
Merge "madvise away app image dex cache arrays"

8 years agoMerge "Use correct requested alloc space begin for CC" am: 6f0b0426f3
Mathieu Chartier [Thu, 4 Feb 2016 19:39:43 +0000 (19:39 +0000)]
Merge "Use correct requested alloc space begin for CC" am: 6f0b0426f3
am: ff41bd2599

* commit 'ff41bd25990ef404ac0cb6972c4d6d1a3b33f124':
  Use correct requested alloc space begin for CC

8 years agoMerge "Use correct requested alloc space begin for CC"
Mathieu Chartier [Thu, 4 Feb 2016 19:22:44 +0000 (19:22 +0000)]
Merge "Use correct requested alloc space begin for CC"
am: 6f0b0426f3

* commit '6f0b0426f3780a5d0f7bb63551d5130c83925754':
  Use correct requested alloc space begin for CC

8 years agoMerge "Don\'t use native bridge for non zygote-spawn processes" am: 27c6b48902
Calin Juravle [Thu, 4 Feb 2016 19:22:39 +0000 (19:22 +0000)]
Merge "Don\'t use native bridge for non zygote-spawn processes" am: 27c6b48902
am: 7d61442025

* commit '7d61442025cdb228485ff38f7044771fa7fe3765':
  Don't use native bridge for non zygote-spawn processes

8 years agoMerge "Don\'t use native bridge for non zygote-spawn processes"
Calin Juravle [Thu, 4 Feb 2016 19:20:16 +0000 (19:20 +0000)]
Merge "Don\'t use native bridge for non zygote-spawn processes"
am: 27c6b48902

* commit '27c6b4890264444e2724972d2aa6c2c9a5bb65bb':
  Don't use native bridge for non zygote-spawn processes

8 years agoMerge "Use correct requested alloc space begin for CC"
Mathieu Chartier [Thu, 4 Feb 2016 19:18:20 +0000 (19:18 +0000)]
Merge "Use correct requested alloc space begin for CC"

8 years agomadvise away app image dex cache arrays
Mathieu Chartier [Thu, 4 Feb 2016 00:40:20 +0000 (16:40 -0800)]
madvise away app image dex cache arrays

This saves ram and PSS by reducing the number of mapped pages. Also
PROT_NONE the dex cache arrays section to make accesses fault.

virtual                     shared   shared  private  private
size      RSS      PSS    clean    dirty    clean    dirty     swap
-------- -------- -------- -------- -------- -------- -------- --------
Before:
/data/app/com.facebook.katana-2/oat/arm/base.art
52484    52144    43522    17244        0        0    34900        0
/data/app/com.google.android.apps.maps-2/oat/arm/base.art
 6876     6816     6816        0        0     2008     4808        0

After:
/data/app/com.facebook.katana-2/oat/arm/base.art
52484    49204    42032    14344        0        0    34860        0
/data/app/com.google.android.apps.maps-2/oat/arm/base.art
 6876     6388     6388        0        0     1584     4804        0

Bug: 22858531

Change-Id: I87888a7c1518a92736dbd29eed338e7472ae3587

8 years agoMerge "Don't use native bridge for non zygote-spawn processes"
Calin Juravle [Thu, 4 Feb 2016 19:14:40 +0000 (19:14 +0000)]
Merge "Don't use native bridge for non zygote-spawn processes"

8 years agoDon't use native bridge for non zygote-spawn processes
Calin Juravle [Thu, 4 Feb 2016 19:07:51 +0000 (19:07 +0000)]
Don't use native bridge for non zygote-spawn processes

... unless we force it for testing purposes.

Bug: 26954924
Change-Id: Ib4660a35175abb479d0399e18b6194eb04dbc248

8 years agoruntime: Cleanup comments for kAccSkipAccessChecks
Igor Murashkin [Thu, 4 Feb 2016 19:01:21 +0000 (11:01 -0800)]
runtime: Cleanup comments for kAccSkipAccessChecks

Bug: 22414682
Change-Id: I5a19cba0fb1d6b55639c173582d547f85bc26779

8 years agoMerge "Ignore ZipFileTest#testZipFileWithLotsOfEntries failures with CC on N5." am...
Roland Levillain [Thu, 4 Feb 2016 18:06:12 +0000 (18:06 +0000)]
Merge "Ignore ZipFileTest#testZipFileWithLotsOfEntries failures with CC on N5." am: 6234003307
am: b0a8d95760

* commit 'b0a8d957605e18262c79ac3f8750cbf26fb8ff0d':
  Ignore ZipFileTest#testZipFileWithLotsOfEntries failures with CC on N5.

8 years agoMerge "Ignore DeflaterOutputStreamTest#testSyncFlushEnabled failures with CC." am...
Roland Levillain [Thu, 4 Feb 2016 18:04:12 +0000 (18:04 +0000)]
Merge "Ignore DeflaterOutputStreamTest#testSyncFlushEnabled failures with CC." am: 496450a9f4
am: 92ec0c5e8d

* commit '92ec0c5e8dd11bfe895f1bf7409d47097081aa50':
  Ignore DeflaterOutputStreamTest#testSyncFlushEnabled failures with CC.

8 years agoMerge "Ignore ZipFileTest#testZipFileWithLotsOfEntries failures with CC on N5."
Roland Levillain [Thu, 4 Feb 2016 18:04:11 +0000 (18:04 +0000)]
Merge "Ignore ZipFileTest#testZipFileWithLotsOfEntries failures with CC on N5."
am: 6234003307

* commit '62340033078bcd965e940b8ee390bf07b7867cab':
  Ignore ZipFileTest#testZipFileWithLotsOfEntries failures with CC on N5.

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 ZipFileTest#testZipFileWithLotsOfEntries failures with CC on N5."
Roland Levillain [Thu, 4 Feb 2016 17:59:08 +0000 (17:59 +0000)]
Merge "Ignore ZipFileTest#testZipFileWithLotsOfEntries failures with CC on N5."

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 ZipFileTest#testZipFileWithLotsOfEntries failures with CC on N5.
Roland Levillain [Thu, 4 Feb 2016 17:51:13 +0000 (17:51 +0000)]
Ignore ZipFileTest#testZipFileWithLotsOfEntries failures with CC on N5.

This test sometimes fails with a
java.util.concurrent.TimeoutException on ART Builbot's
hammerhead concurrent collector configuration:
* libcore.java.util.zip.ZipFileTest#testZipFileWithLotsOfEntries

Disable it while we investigate.

Bug: 26711853
Change-Id: I22d2c1f7ae6fc447045dfa0f7075b10e5b2094ae

8 years agoUse correct requested alloc space begin for CC
Mathieu Chartier [Thu, 4 Feb 2016 17:50:22 +0000 (09:50 -0800)]
Use correct requested alloc space begin for CC

Now we restore the original value instead of setting to null.

Bug: 26970047
Change-Id: I94d546c3a69ddf11805990a1003707bf55013328

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" am: 85b3b52a93
Aart Bik [Thu, 4 Feb 2016 17:07:25 +0000 (17:07 +0000)]
Merge "Fixed bug on premature DCHECK. With fail-before/pass-after test" am: 85b3b52a93
am: 120b36a903

* commit '120b36a9032aa168b7d4c1a1fdc3f2c1e5be4ea2':
  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 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" am: f6171e1b62
Roland Levillain [Thu, 4 Feb 2016 16:50:31 +0000 (16:50 +0000)]
Merge "Re-enable some MIPS/MIPS64 run-tests" am: f6171e1b62
am: 8e5d6d1320

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

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 agoART: Enable Jit Profiling in Mterp for arm/arm64
buzbee [Wed, 3 Feb 2016 23:23:56 +0000 (15:23 -0800)]
ART: Enable Jit Profiling in Mterp for arm/arm64

Adds the hooks for branch profiling to arm and arm64.  The
other Jit profiling modes are handled in common code.

Stubbed out support for on-stack replacement.

Change-Id: Ic298a81139108c3d7f1325b59d97e14a9de08de6

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

* commit '7b3c2e881e38a8e1444764390d54836c81423d65':
  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: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." am: ac6a195ec8
David Srbecky [Thu, 4 Feb 2016 13:24:31 +0000 (13:24 +0000)]
Merge "Reduce the size of native debug info generated by JIT." am: ac6a195ec8
am: fa6ab63236

* commit 'fa6ab6323637a53125f314f822361c71837d6009':
  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: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" am: 867d63b65f
Igor Murashkin [Thu, 4 Feb 2016 02:34:10 +0000 (02:34 +0000)]
Merge "runtime: Don\'t skip verification for -Xverify:soft-fail" am: 867d63b65f
am: d5b4ac600c

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

8 years agoMerge "Strip image-format arg in dex2oat" am: 6006e2ce92
Mathieu Chartier [Thu, 4 Feb 2016 02:34:01 +0000 (02:34 +0000)]
Merge "Strip image-format arg in dex2oat" am: 6006e2ce92
am: 3ae8e105d7

* commit '3ae8e105d7f1ec67a0f4e237a29db30d32f66cb1':
  Strip image-format arg in dex2oat

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 agoRevert "Disable app images for now"
Mathieu Chartier [Wed, 3 Feb 2016 19:19:03 +0000 (11:19 -0800)]
Revert "Disable app images for now"

Bug: 26872785
Bug: 22858531

This reverts commit 090cc319f64413e7c3c9d5ae106753d8ebbfd02f.

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

* commit 'fc1052715b54b3e0e1cf16a4972c1ccee77ca62e':
  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: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" am: 287fd33a9f
Mathieu Chartier [Wed, 3 Feb 2016 21:31:51 +0000 (21:31 +0000)]
Merge "Avoid read barrier for UpdateEntrypoints" am: 287fd33a9f
am: ccfc007a3f

* commit 'ccfc007a3ffc35e1896848cbaf2e997b36092e57':
  Avoid read barrier for UpdateEntrypoints

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 am: e968112160
Igor Murashkin [Wed, 3 Feb 2016 20:20:27 +0000 (20:20 +0000)]
Merge changes I44ee74d8,I78b17187 am: e968112160
am: 18edaea305

* commit '18edaea305b7b269f7eb0e4d434087689913b7e0':
  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\' am: 071b933eb6
Igor Murashkin [Wed, 3 Feb 2016 20:20:13 +0000 (20:20 +0000)]
Merge changes from topic \'reflection_1_8\' am: 071b933eb6
am: 07aec663bc

* commit '07aec663bccc3c5378a521a660ae707cfc83a643':
  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: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." am: c5b76b9328
Aart Bik [Wed, 3 Feb 2016 17:54:38 +0000 (17:54 +0000)]
Merge "Minor improvement on static BCE analysis." am: c5b76b9328
am: bbe27fa779

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

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." am: a20748aceb
Roland Levillain [Wed, 3 Feb 2016 13:46:22 +0000 (13:46 +0000)]
Merge "Implement first kind of polymorphic inlining on MIPS." am: a20748aceb
am: 2def2df387

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

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:31:53 +0000 (13:31 +0000)]
Merge "Revert "Revert "Optimizing: double-negated bitwise operations simplifications""" am: 905cb88fa4
am: b99fec8d24

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

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." am: 6b5a17a84d
Vladimir Marko [Wed, 3 Feb 2016 11:03:35 +0000 (11:03 +0000)]
Merge "ART: Fix rounding up in DexCacheArraysLayout constructor." am: 6b5a17a84d
am: 2b925b8f47

* commit '2b925b8f47fdae5788c1ff463dbbe45562c72500':
  ART: Fix rounding up in DexCacheArraysLayout constructor.

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 agoMerge "Assume fp operations can also take a constant on x86." am: 371d75ef9e
Nicolas Geoffray [Wed, 3 Feb 2016 10:55:29 +0000 (10:55 +0000)]
Merge "Assume fp operations can also take a constant on x86." am: 371d75ef9e
am: d88f688563

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

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

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

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.