OSDN Git Service

android-x86/art.git
8 years agoMerge "ART: Remove -std=gnu++11" am: c67d22ac6d
Andreas Gampe [Wed, 24 Aug 2016 05:14:57 +0000 (05:14 +0000)]
Merge "ART: Remove -std=gnu++11" am: c67d22ac6d
am: b1da09c40b

Change-Id: I681c0336bd30c2086f6be5c91b9eaa3d33fc4503

8 years agoMerge "ART: Remove -std=gnu++11"
Andreas Gampe [Wed, 24 Aug 2016 05:10:23 +0000 (05:10 +0000)]
Merge "ART: Remove -std=gnu++11"
am: c67d22ac6d

Change-Id: I2f25500995f5338ffaa593afc1f278bdcf0305b9

8 years agoMerge "ART: Remove -std=gnu++11"
Treehugger Robot [Wed, 24 Aug 2016 05:04:32 +0000 (05:04 +0000)]
Merge "ART: Remove -std=gnu++11"

8 years agoART: Remove -std=gnu++11
Andreas Gampe [Wed, 24 Aug 2016 03:24:11 +0000 (20:24 -0700)]
ART: Remove -std=gnu++11

We no longer have to restrict ourselves, with GCC gone. Pick up
the default from the build system (which is at least as good).

Change-Id: I98b4a82944b7e16a80fbeac1d43c9e7ed0d17a6a
Test: m test-art-host

8 years agoMerge "Revert "Make dchecked_vector C++11 compatible."" am: 9f98286cf2
Andreas Gampe [Wed, 24 Aug 2016 03:11:20 +0000 (03:11 +0000)]
Merge "Revert "Make dchecked_vector C++11 compatible."" am: 9f98286cf2
am: 285b2b6998

Change-Id: I9f42b3d3731a6754d8991ababe8aa634efd0a578

8 years agoMerge "ART: Improve art_quick_resolve_string for x86." am: 2ccdfbbf78
Christina Wadsworth [Wed, 24 Aug 2016 03:11:20 +0000 (03:11 +0000)]
Merge "ART: Improve art_quick_resolve_string for x86." am: 2ccdfbbf78
am: c5817d4703

Change-Id: I5353b748733a722538f739f1b036fe6d1fb09fb2

8 years agoMerge "Revert "Make dchecked_vector C++11 compatible.""
Andreas Gampe [Wed, 24 Aug 2016 03:07:22 +0000 (03:07 +0000)]
Merge "Revert "Make dchecked_vector C++11 compatible.""
am: 9f98286cf2

Change-Id: I949f452b4958e7a7d731746fb87f29dacd257cbb

8 years agoMerge "ART: Improve art_quick_resolve_string for x86."
Christina Wadsworth [Wed, 24 Aug 2016 03:07:18 +0000 (03:07 +0000)]
Merge "ART: Improve art_quick_resolve_string for x86."
am: 2ccdfbbf78

Change-Id: If03a4d9a70b55794a50e4348e4bb50f90f6f13cd

8 years agoMerge "Revert "Make dchecked_vector C++11 compatible.""
Treehugger Robot [Wed, 24 Aug 2016 03:01:49 +0000 (03:01 +0000)]
Merge "Revert "Make dchecked_vector C++11 compatible.""

8 years agoMerge "ART: Improve art_quick_resolve_string for x86."
Treehugger Robot [Wed, 24 Aug 2016 02:57:47 +0000 (02:57 +0000)]
Merge "ART: Improve art_quick_resolve_string for x86."

8 years agoMerge "ART: Improve art_quick_resolve_string for x86_64." am: 47ec97259f
Christina Wadsworth [Wed, 24 Aug 2016 01:35:42 +0000 (01:35 +0000)]
Merge "ART: Improve art_quick_resolve_string for x86_64." am: 47ec97259f
am: c92baefd48

Change-Id: I36f2e819947cfd616d22145e945ac2b8a4c19fcc

8 years agoMerge "ART: Improve art_quick_resolve_string for x86_64."
Christina Wadsworth [Wed, 24 Aug 2016 01:31:38 +0000 (01:31 +0000)]
Merge "ART: Improve art_quick_resolve_string for x86_64."
am: 47ec97259f

Change-Id: I6326ea542984ad7d5f93d4eaadef3793f07ac87a

8 years agoRevert "Make dchecked_vector C++11 compatible."
Andreas Gampe [Wed, 24 Aug 2016 01:24:51 +0000 (01:24 +0000)]
Revert "Make dchecked_vector C++11 compatible."

We no longer support GCC in ART.

This reverts commit 05ff5a4ad666d9eb583ff343c1cbba886d7621b1.

Bug: 25022512
Change-Id: Ie0aee5ce3f8b5bb5023fba90c39d96ae01e3e256
Test: m test-art-host

8 years agoMerge "ART: Improve art_quick_resolve_string for x86_64."
Treehugger Robot [Wed, 24 Aug 2016 01:22:01 +0000 (01:22 +0000)]
Merge "ART: Improve art_quick_resolve_string for x86_64."

8 years agoMerge "creating workflow for mirror::String compression" am: 51a0c4fe2d
jessicahandojo [Wed, 24 Aug 2016 01:00:43 +0000 (01:00 +0000)]
Merge "creating workflow for mirror::String compression" am: 51a0c4fe2d
am: ade3a384cc

Change-Id: I3f2a52671a0862a65c4e72c93164c81aab9cc340

8 years agoMerge "creating workflow for mirror::String compression"
jessicahandojo [Wed, 24 Aug 2016 00:56:11 +0000 (00:56 +0000)]
Merge "creating workflow for mirror::String compression"
am: 51a0c4fe2d

Change-Id: I55512bf99146756d18733c75972362dc1bb6ad0c

8 years agoMerge "creating workflow for mirror::String compression"
Treehugger Robot [Wed, 24 Aug 2016 00:50:38 +0000 (00:50 +0000)]
Merge "creating workflow for mirror::String compression"

8 years agoMerge "ART: Validate oat file for cache-only images" am: e99331f7a4
Andreas Gampe [Wed, 24 Aug 2016 00:08:06 +0000 (00:08 +0000)]
Merge "ART: Validate oat file for cache-only images" am: e99331f7a4
am: f47f9574b8

Change-Id: I44a0f0eaa8e006d174a38346121470cf74d980ed

8 years agoMerge "ART: Validate oat file for cache-only images"
Andreas Gampe [Wed, 24 Aug 2016 00:05:48 +0000 (00:05 +0000)]
Merge "ART: Validate oat file for cache-only images"
am: e99331f7a4

Change-Id: I53696ee4ad5b600688ee6f9666aed40047e60f8f

8 years agoMerge "ART: Validate oat file for cache-only images"
Treehugger Robot [Tue, 23 Aug 2016 23:55:41 +0000 (23:55 +0000)]
Merge "ART: Validate oat file for cache-only images"

8 years agoART: Improve art_quick_resolve_string for x86.
Christina Wadsworth [Tue, 23 Aug 2016 21:13:43 +0000 (14:13 -0700)]
ART: Improve art_quick_resolve_string for x86.

Check gc_is_marking instead of the mark bit first, this makes it that we
don't go slow path if the GC is not running.

Test: test-art-host

Bug: 20323084
Change-Id: I8ae37cf17db266462688c1b1c3a904ba740d769c

8 years agoMerge "ART: Improve art_quick_resolve_string for arm." am: 6fe5941077
Christina Wadsworth [Tue, 23 Aug 2016 23:27:33 +0000 (23:27 +0000)]
Merge "ART: Improve art_quick_resolve_string for arm." am: 6fe5941077
am: cd5e6d18eb

Change-Id: I2de5fdda11881736145c18ef97def665592e45e5

8 years agoMerge "ART: Improve art_quick_resolve_string for arm."
Christina Wadsworth [Tue, 23 Aug 2016 23:24:32 +0000 (23:24 +0000)]
Merge "ART: Improve art_quick_resolve_string for arm."
am: 6fe5941077

Change-Id: I450903c4b8f20498c2a6a81937afedfda5f5db1d

8 years agoMerge "ART: Improve art_quick_resolve_string for arm."
Treehugger Robot [Tue, 23 Aug 2016 23:07:36 +0000 (23:07 +0000)]
Merge "ART: Improve art_quick_resolve_string for arm."

8 years agoART: Improve art_quick_resolve_string for x86_64.
Christina Wadsworth [Tue, 23 Aug 2016 00:33:59 +0000 (17:33 -0700)]
ART: Improve art_quick_resolve_string for x86_64.

Check gc_is_marking instead of the mark bit first, this makes it that we
don't go slow path if the GC is not running.

Test: test-art-host

Bug: 20323084
Change-Id: I5394dee49f721536857552fbc3e15d80a71213f4

8 years agocreating workflow for mirror::String compression
jessicahandojo [Fri, 29 Jul 2016 21:46:37 +0000 (14:46 -0700)]
creating workflow for mirror::String compression

All-ASCII String characters are stored in 8-bit blocks
instead of 16-bit. The compression has not taken place, but all
workflow are in the code already (changing kUseStringCompression in
string.h file to TRUE will enable the feature)

Notes: Feature works on interpreter only without optimizing

Test art: m ART_TEST_INTERPRETER=true ART_TEST_OPTIMIZING=false
          test-art-host

Also tested with String tests from libcore/:
1. libcore.java.lang.StringTest
2. libcore.java.lang.StringBufferTest
3. libcore.java.lang.StringBuilderTest
4. libcore.java.lang.OldStringTest
5. libcore.java.lang.OldStringBufferTest

Memory improvement is 33% (from 6.03% to 4.03%, total String memory
from all apps per total memory of all apps) measured on Angler
with Hprof tools

Bug: 31040547
Change-Id: I9cc92c265ebf1305fc06b5fc33efd83797660cce

8 years agoMerge "ART: Separate out Realloc reuse and alignment tests" am: 8bd13610ca
Andreas Gampe [Tue, 23 Aug 2016 21:38:25 +0000 (21:38 +0000)]
Merge "ART: Separate out Realloc reuse and alignment tests" am: 8bd13610ca
am: baef02b4d9

Change-Id: I4e29f3fd18f5c816c44288c07dc4d66917a7cde0

8 years agoMerge "ART: Separate out Realloc reuse and alignment tests"
Andreas Gampe [Tue, 23 Aug 2016 21:35:55 +0000 (21:35 +0000)]
Merge "ART: Separate out Realloc reuse and alignment tests"
am: 8bd13610ca

Change-Id: I8e38ef572c5d5c48e08250055e7f6224511268af

8 years agoMerge "ART: Separate out Realloc reuse and alignment tests"
Treehugger Robot [Tue, 23 Aug 2016 21:21:00 +0000 (21:21 +0000)]
Merge "ART: Separate out Realloc reuse and alignment tests"

8 years agoMerge "Ongoing improvements in java fuzz testing" am: ebb5d0f3bc
Aart Bik [Tue, 23 Aug 2016 18:46:57 +0000 (18:46 +0000)]
Merge "Ongoing improvements in java fuzz testing" am: ebb5d0f3bc
am: e98546d04c

Change-Id: I51a24c4c4a5fced79092b7e9f22c78755ff81285

8 years agoMerge "Ongoing improvements in java fuzz testing"
Aart Bik [Tue, 23 Aug 2016 18:41:13 +0000 (18:41 +0000)]
Merge "Ongoing improvements in java fuzz testing"
am: ebb5d0f3bc

Change-Id: I93c227e2b33cea9d58647dd97754459be8152422

8 years agoMerge "Ongoing improvements in java fuzz testing"
Aart Bik [Tue, 23 Aug 2016 18:33:00 +0000 (18:33 +0000)]
Merge "Ongoing improvements in java fuzz testing"

8 years agoMerge "Revert "x86/x86-64: Avoid temporary for read barrier field load."" am: e3eb47133c
Vladimir Marko [Tue, 23 Aug 2016 18:16:54 +0000 (18:16 +0000)]
Merge "Revert "x86/x86-64: Avoid temporary for read barrier field load."" am: e3eb47133c
am: 4de0f16d15

Change-Id: I871d137b9ec00907b02478a4e8e81efd24baf0f2

8 years agoMerge "Revert "x86/x86-64: Avoid temporary for read barrier field load.""
Vladimir Marko [Tue, 23 Aug 2016 18:12:14 +0000 (18:12 +0000)]
Merge "Revert "x86/x86-64: Avoid temporary for read barrier field load.""
am: e3eb47133c

Change-Id: I0af6ed4c628b608ab2cf29954c670689b1420bbc

8 years agoMerge "Revert "x86/x86-64: Avoid temporary for read barrier field load.""
Vladimir Marko [Tue, 23 Aug 2016 17:53:23 +0000 (17:53 +0000)]
Merge "Revert "x86/x86-64: Avoid temporary for read barrier field load.""

8 years agoRevert "x86/x86-64: Avoid temporary for read barrier field load."
Vladimir Marko [Tue, 23 Aug 2016 17:48:38 +0000 (17:48 +0000)]
Revert "x86/x86-64: Avoid temporary for read barrier field load."

Fault handler does not recognize the instruction
    F6 /0 ib    TEST r/m8, imm8
so we get crashes instead of NPEs.

Bug: 29966877
Bug: 12687968

This reverts commit ccf06d8f19a37432de4a3b768747090adfbd18ec.

Change-Id: Ib7db3b59f44c0d3ed5e24a20b6c6ee596a89d709

8 years agoART: Improve art_quick_resolve_string for arm.
Christina Wadsworth [Tue, 23 Aug 2016 01:16:15 +0000 (18:16 -0700)]
ART: Improve art_quick_resolve_string for arm.

Check gc_is_marking instead of the mark bit first, this makes it that we
don't go slow path if the GC is not running.

Test: test-art-host

Bug: 20323084
Change-Id: I834742fbb670302ba0955a579008ff75914a2673

8 years agoMerge "ART: Clean up interpreter includes" am: 6abf237391
Andreas Gampe [Tue, 23 Aug 2016 16:00:46 +0000 (16:00 +0000)]
Merge "ART: Clean up interpreter includes" am: 6abf237391
am: ee72591bba

Change-Id: Ic33bd9ca713e1b0ae4a4312c18b61e89b2d1e57d

8 years agoMerge "ART: Clean up interpreter includes"
Andreas Gampe [Tue, 23 Aug 2016 15:56:01 +0000 (15:56 +0000)]
Merge "ART: Clean up interpreter includes"
am: 6abf237391

Change-Id: I439817deae3d8de01158c0a4c81736877a651c2d

8 years agoMerge "ART: Clean up interpreter includes"
Treehugger Robot [Tue, 23 Aug 2016 15:35:14 +0000 (15:35 +0000)]
Merge "ART: Clean up interpreter includes"

8 years agoMerge "x86/x86-64: Avoid temporary for read barrier field load." am: 076ffd686c
Vladimir Marko [Tue, 23 Aug 2016 12:49:33 +0000 (12:49 +0000)]
Merge "x86/x86-64: Avoid temporary for read barrier field load." am: 076ffd686c
am: c88283fe2a

Change-Id: I317da39b9194035019c26f19dfe23339f1b24ddf

8 years agoMerge "x86/x86-64: Avoid temporary for read barrier field load."
Vladimir Marko [Tue, 23 Aug 2016 12:46:39 +0000 (12:46 +0000)]
Merge "x86/x86-64: Avoid temporary for read barrier field load."
am: 076ffd686c

Change-Id: I375a8c9e125f634c2bf16a081f6965a85077d2bb

8 years agoMerge "x86/x86-64: Avoid temporary for read barrier field load."
Treehugger Robot [Tue, 23 Aug 2016 12:36:53 +0000 (12:36 +0000)]
Merge "x86/x86-64: Avoid temporary for read barrier field load."

8 years agox86/x86-64: Avoid temporary for read barrier field load.
Vladimir Marko [Fri, 12 Aug 2016 12:37:55 +0000 (13:37 +0100)]
x86/x86-64: Avoid temporary for read barrier field load.

Add TEST instructions for memory and immediate. Use the byte
version to avoid a temporary in read barrier field load.

Test: Tested with ART_USE_READ_BARRIER=true on host.
Test: Tested with ART_USE_READ_BARRIER=true ART_HEAP_POISONING=true on host.
Bug: 29966877
Bug: 12687968
Change-Id: Ia415d3c2e1ae1ff6dff11d72bbb7d96d5deed6ee

8 years agoART: Clean up interpreter includes
Andreas Gampe [Tue, 23 Aug 2016 00:54:17 +0000 (17:54 -0700)]
ART: Clean up interpreter includes

Move goto-interpreter special-cased Clang declarations to goto
implementation file. Separate out declarations into their own
headers. Tag the declarations with thread safety annotations.

Minor compile-time impact when running with -j1.

Change-Id: I03664d4e7dc6361b2510a8c9beb693d23a657c9d
Test: m test-art-host
Test: m ART_TEST_INTERPRETER=true test-art-host

8 years agoMerge "Use full pass name when building optimizations" am: cf834d00de
Wojciech Staszkiewicz [Tue, 23 Aug 2016 03:08:27 +0000 (03:08 +0000)]
Merge "Use full pass name when building optimizations" am: cf834d00de
am: 04912510ae

Change-Id: I6badab91cd9ba88bce377cb312b89d45ba2fefcc

8 years agoMerge "Use full pass name when building optimizations"
Wojciech Staszkiewicz [Tue, 23 Aug 2016 03:05:36 +0000 (03:05 +0000)]
Merge "Use full pass name when building optimizations"
am: cf834d00de

Change-Id: I0c06484030c0900851c950360447b251efc9bc47

8 years agoMerge "MIPS32: Optimize R6 round(float) intrinsic." am: 5f81cd0413
Chris Larsen [Tue, 23 Aug 2016 03:00:26 +0000 (03:00 +0000)]
Merge "MIPS32: Optimize R6 round(float) intrinsic." am: 5f81cd0413
am: 09e87c60d0

Change-Id: Icf1d1fbf79d4451b0e3ecca36afaaabab9c45714

8 years agoMerge "MIPS32: Optimize R6 round(float) intrinsic."
Chris Larsen [Tue, 23 Aug 2016 02:57:33 +0000 (02:57 +0000)]
Merge "MIPS32: Optimize R6 round(float) intrinsic."
am: 5f81cd0413

Change-Id: I4931bada1206b9be2344a8af9d61b3403c5f1171

8 years agoMerge "Use full pass name when building optimizations"
Treehugger Robot [Tue, 23 Aug 2016 02:57:21 +0000 (02:57 +0000)]
Merge "Use full pass name when building optimizations"

8 years agoMerge "MIPS32: Optimize R6 round(float) intrinsic."
Treehugger Robot [Tue, 23 Aug 2016 02:49:26 +0000 (02:49 +0000)]
Merge "MIPS32: Optimize R6 round(float) intrinsic."

8 years agoART: Separate out Realloc reuse and alignment tests
Andreas Gampe [Tue, 23 Aug 2016 02:14:29 +0000 (19:14 -0700)]
ART: Separate out Realloc reuse and alignment tests

Separate out the tests for Realloc buffer reuse and realloc
alignment tests. This allows to turn off reuse tests under
memory tools (where we do not reuse).

Change-Id: I93375c6fbc577f9b796325f8143317610948455a
Test: m test-art-host-gtest-arena_allocator_test
Test: m valgrind-test-art-host-gtest-arena_allocator_test

8 years agoMerge "Improve art_quick_resolve_string for arm64 CC" am: 38d4d54903
Mathieu Chartier [Tue, 23 Aug 2016 01:59:53 +0000 (01:59 +0000)]
Merge "Improve art_quick_resolve_string for arm64 CC" am: 38d4d54903
am: 098430680e

Change-Id: I57955293d3039e8a256330918b177af6987368c7

8 years agoMerge "Improve art_quick_resolve_string for arm64 CC"
Mathieu Chartier [Tue, 23 Aug 2016 01:56:10 +0000 (01:56 +0000)]
Merge "Improve art_quick_resolve_string for arm64 CC"
am: 38d4d54903

Change-Id: I469b2f930876de78cf2e176bd21a3a33fe309f29

8 years agoMerge "Improve art_quick_resolve_string for arm64 CC"
Mathieu Chartier [Tue, 23 Aug 2016 01:46:28 +0000 (01:46 +0000)]
Merge "Improve art_quick_resolve_string for arm64 CC"

8 years agoMerge "Fix build" am: 48d2b14feb
Colin Cross [Tue, 23 Aug 2016 01:33:20 +0000 (01:33 +0000)]
Merge "Fix build" am: 48d2b14feb
am: 017fb2931d

Change-Id: I16157bf9cd750cbc0d81f133dbbe63089512604b

8 years agoMerge "Fix build"
Colin Cross [Tue, 23 Aug 2016 01:30:26 +0000 (01:30 +0000)]
Merge "Fix build"
am: 48d2b14feb

Change-Id: I545501b86800329f2540b25a35cf1473f36e9076

8 years agoMerge "Fix build"
Treehugger Robot [Tue, 23 Aug 2016 01:18:58 +0000 (01:18 +0000)]
Merge "Fix build"

8 years agoMerge "ART: Fix x86_64 entrypoint breakage with SYMBOL()." am: 0585afa3ba
Mathieu Chartier [Tue, 23 Aug 2016 00:48:46 +0000 (00:48 +0000)]
Merge "ART: Fix x86_64 entrypoint breakage with SYMBOL()." am: 0585afa3ba
am: 441ee4006a

Change-Id: I391d7942f1dc06f7c6d786ed45f9ecf8c114afd8

8 years agoUse full pass name when building optimizations
Wojciech Staszkiewicz [Tue, 16 Aug 2016 23:33:00 +0000 (16:33 -0700)]
Use full pass name when building optimizations

If possible, use full pass name provided in --run-passes rather
than its base version.

Test: m test-art-host -j32

1. Prepare a run-passes file with content:
dead_code_elimination$initial
instruction_simplifier
x86_memory_operand_generation
2. Run art for a dex file like:
art -Xcompiler-option --run-passes=run-passes -Xcompiler-option
--dump-passes -classpath classes.dex Test
3. Verify that dead_code_elimination$initial string is present in
dump-passes output.

Change-Id: I92d9ed0c8b919ea03f625f549123f546dffe546b

8 years agoMerge "ART: Fix x86_64 entrypoint breakage with SYMBOL()."
Mathieu Chartier [Tue, 23 Aug 2016 00:44:19 +0000 (00:44 +0000)]
Merge "ART: Fix x86_64 entrypoint breakage with SYMBOL()."
am: 0585afa3ba

Change-Id: Icb7d7d3a74165f2802d2f2feeaa4f84aad239e38

8 years agoMerge "ART: Fix x86_64 entrypoint breakage with SYMBOL()."
Mathieu Chartier [Tue, 23 Aug 2016 00:36:19 +0000 (00:36 +0000)]
Merge "ART: Fix x86_64 entrypoint breakage with SYMBOL()."

8 years agoImprove art_quick_resolve_string for arm64 CC
Mathieu Chartier [Mon, 22 Aug 2016 22:38:08 +0000 (15:38 -0700)]
Improve art_quick_resolve_string for arm64 CC

Check gc_is_marking instead of the mark bit first, this makes it
that we don't go slow path if the GC is not running.

Also reduced the code by a few instructions.

EAAC CC: ~2000 -> 1256

Test: test-art-target-run-test -j4

Bug: 20323084
Change-Id: I57a1f7a52f1909e2e5dd1b2cfd2612b4a642fe37

8 years agoFix build
Colin Cross [Mon, 22 Aug 2016 23:00:07 +0000 (16:00 -0700)]
Fix build

Move instruction_simplifier_arm.cc to the arm source list to fix
full-eng builds.

Change-Id: Ic7fc884f5cc2acec5579dc417acece21b7e674aa

8 years agoMerge "ART: Test arena allocator alignment" am: 38daddf297
Andreas Gampe [Mon, 22 Aug 2016 23:06:39 +0000 (23:06 +0000)]
Merge "ART: Test arena allocator alignment" am: 38daddf297
am: 9e6a061f02

Change-Id: I2c1627686472c90cc2453450eb399f3faaceafcb

8 years agoMerge "ART: Test arena allocator alignment"
Andreas Gampe [Mon, 22 Aug 2016 23:03:42 +0000 (23:03 +0000)]
Merge "ART: Test arena allocator alignment"
am: 38daddf297

Change-Id: Idd624bfe391ea4bc9744b755d6250c8b0b9fec9b

8 years agoMerge "ART: String DexCache asm fast path for ARM64" am: 28715406f2
Mathieu Chartier [Mon, 22 Aug 2016 22:58:41 +0000 (22:58 +0000)]
Merge "ART: String DexCache asm fast path for ARM64" am: 28715406f2
am: bd05734e68

Change-Id: I4d8fdce6c156ac22116ae65b4064210c050dbf62

8 years agoMerge "ART: String DexCache asm fast path for ARM" am: fcd81d9dbc
Christina Wadsworth [Mon, 22 Aug 2016 22:58:41 +0000 (22:58 +0000)]
Merge "ART: String DexCache asm fast path for ARM" am: fcd81d9dbc
am: b070ebb9ac

Change-Id: I202674592bbd912ae347a5446c038b005e12f1ae

8 years agoMerge "ART: Test arena allocator alignment"
Treehugger Robot [Mon, 22 Aug 2016 22:58:38 +0000 (22:58 +0000)]
Merge "ART: Test arena allocator alignment"

8 years agoART: Fix x86_64 entrypoint breakage with SYMBOL().
Christina Wadsworth [Mon, 22 Aug 2016 22:55:31 +0000 (15:55 -0700)]
ART: Fix x86_64 entrypoint breakage with SYMBOL().

Change-Id: Id42b6e9a7e5444536f6fb672ec40e9f37c77a649

8 years agoMerge "ART: String DexCache asm fast path for ARM64"
Mathieu Chartier [Mon, 22 Aug 2016 22:55:20 +0000 (22:55 +0000)]
Merge "ART: String DexCache asm fast path for ARM64"
am: 28715406f2

Change-Id: I8d924832747d8af4818f5cee693069c41241882e

8 years agoMerge "ART: String DexCache asm fast path for ARM"
Christina Wadsworth [Mon, 22 Aug 2016 22:55:18 +0000 (22:55 +0000)]
Merge "ART: String DexCache asm fast path for ARM"
am: fcd81d9dbc

Change-Id: Iee42c72bc6718f97bf2024104b7d1f772970f681

8 years agoMerge "ART: String DexCache asm fast path for ARM64"
Mathieu Chartier [Mon, 22 Aug 2016 22:50:04 +0000 (22:50 +0000)]
Merge "ART: String DexCache asm fast path for ARM64"

8 years agoMerge "ART: String DexCache asm fast path for ARM"
Treehugger Robot [Mon, 22 Aug 2016 22:33:42 +0000 (22:33 +0000)]
Merge "ART: String DexCache asm fast path for ARM"

8 years agoMerge "ART: String DexCache asm fast path for x86" am: 899d60b36a
Christina Wadsworth [Mon, 22 Aug 2016 22:15:36 +0000 (22:15 +0000)]
Merge "ART: String DexCache asm fast path for x86" am: 899d60b36a
am: 27c0eb9e6c

Change-Id: I97526697da9cfc981d2a735439d0e1dce09608b2

8 years agoMerge "Only compile device codegen for device architectures" am: 07b74307c4
Colin Cross [Mon, 22 Aug 2016 22:15:35 +0000 (22:15 +0000)]
Merge "Only compile device codegen for device architectures" am: 07b74307c4
am: da6fd7aeba

Change-Id: I0b11e589fd894b7eaa7767941d216c6ce2c969b1

8 years agoMerge "ART: String DexCache asm fast path for x86"
Christina Wadsworth [Mon, 22 Aug 2016 22:11:53 +0000 (22:11 +0000)]
Merge "ART: String DexCache asm fast path for x86"
am: 899d60b36a

Change-Id: Ia9f0cbb5cb429bdf577dee500dc1214928ae6761

8 years agoMerge "Only compile device codegen for device architectures"
Colin Cross [Mon, 22 Aug 2016 22:11:51 +0000 (22:11 +0000)]
Merge "Only compile device codegen for device architectures"
am: 07b74307c4

Change-Id: Ib8f6e355ea8413954408d4b41ed22accd41881bd

8 years agoMerge "ART: String DexCache asm fast path for x86"
Treehugger Robot [Mon, 22 Aug 2016 22:07:29 +0000 (22:07 +0000)]
Merge "ART: String DexCache asm fast path for x86"

8 years agoMerge "Only compile device codegen for device architectures"
Colin Cross [Mon, 22 Aug 2016 21:55:31 +0000 (21:55 +0000)]
Merge "Only compile device codegen for device architectures"

8 years agoMerge "ART: String DexCache asm fast path for x86_64" am: a8ed36609a
Christina Wadsworth [Mon, 22 Aug 2016 21:50:05 +0000 (21:50 +0000)]
Merge "ART: String DexCache asm fast path for x86_64" am: a8ed36609a
am: 67cd100910

Change-Id: I2336ad6cb50cfddffa71fd0378196e8ec4706737

8 years agoMerge "ART: String DexCache asm fast path for x86_64"
Christina Wadsworth [Mon, 22 Aug 2016 21:46:08 +0000 (21:46 +0000)]
Merge "ART: String DexCache asm fast path for x86_64"
am: a8ed36609a

Change-Id: I8121bc2eac91bc930c199477bdadd2112413ee35

8 years agoMerge "ART: String DexCache asm fast path for x86_64"
Treehugger Robot [Mon, 22 Aug 2016 21:38:58 +0000 (21:38 +0000)]
Merge "ART: String DexCache asm fast path for x86_64"

8 years agoMerge "Revert "Revert "Improve the thread flip.""" am: 0b10387ced
Hiroshi Yamauchi [Mon, 22 Aug 2016 21:17:32 +0000 (21:17 +0000)]
Merge "Revert "Revert "Improve the thread flip.""" am: 0b10387ced
am: 7e6df6e5fb

Change-Id: I2844fe5aef26c4ee4078d9b5dfb359d417fd5f26

8 years agoMerge "Revert "Revert "Improve the thread flip."""
Hiroshi Yamauchi [Mon, 22 Aug 2016 21:13:36 +0000 (21:13 +0000)]
Merge "Revert "Revert "Improve the thread flip."""
am: 0b10387ced

Change-Id: I4695d621868558df12e072bf7055a9f78e752b58

8 years agoMerge "Revert "Revert "Improve the thread flip."""
Treehugger Robot [Mon, 22 Aug 2016 21:07:31 +0000 (21:07 +0000)]
Merge "Revert "Revert "Improve the thread flip."""

8 years agoART: Test arena allocator alignment
Andreas Gampe [Mon, 22 Aug 2016 21:03:10 +0000 (14:03 -0700)]
ART: Test arena allocator alignment

Add tests for Alloc and Realloc alignment.

Change-Id: If17b1d898200752a6a1ae25f436c73e5b7eb23f7
Test: m test-art-host-gtest-arena_allocator_test

8 years agoMerge "Fix debugger missing handle between adding and tagging object." am: dffbbb6baa
Jeff Hao [Mon, 22 Aug 2016 20:31:08 +0000 (20:31 +0000)]
Merge "Fix debugger missing handle between adding and tagging object." am: dffbbb6baa
am: af2f2b90fd

Change-Id: I01af8b18a2c86fbf636df1a8aab61ce584807bd5

8 years agoMerge "Add define needed by new vixl" am: 621a27ed21
Colin Cross [Mon, 22 Aug 2016 20:31:06 +0000 (20:31 +0000)]
Merge "Add define needed by new vixl" am: 621a27ed21
am: 57de217dac

Change-Id: Iac9a94aa09eacc2cbbc176de609ffb310326a36c

8 years agoART: String DexCache asm fast path for ARM64
Christina Wadsworth [Mon, 8 Aug 2016 20:08:05 +0000 (13:08 -0700)]
ART: String DexCache asm fast path for ARM64

In the entrypoints, before a string is looked up in the slow path (in
the intern table), I added assembly to check the dex cache and return a
string pointer if the string is already in the dex cache.

Test: test-art-host

Change-Id: Ic9a724848c61e4fa66e82334e2c7b20b13bf8e6c

8 years agoART: String DexCache asm fast path for ARM
Christina Wadsworth [Fri, 19 Aug 2016 18:24:48 +0000 (11:24 -0700)]
ART: String DexCache asm fast path for ARM

In the entrypoints, before a string is looked up in the slow path (in
the intern table), I added assembly to check the dex cache and return a
string pointer if the string is already in the dex cache.

Test: test-art-host

Change-Id: I245946b3efa9c2e4fa56f761effb90963ac22ec4

8 years agoMerge "Fix debugger missing handle between adding and tagging object."
Jeff Hao [Mon, 22 Aug 2016 20:27:10 +0000 (20:27 +0000)]
Merge "Fix debugger missing handle between adding and tagging object."
am: dffbbb6baa

Change-Id: Id894f1d2f72d00f3af4295bccae6f9050f609e1c

8 years agoMerge "Add define needed by new vixl"
Colin Cross [Mon, 22 Aug 2016 20:27:02 +0000 (20:27 +0000)]
Merge "Add define needed by new vixl"
am: 621a27ed21

Change-Id: If7d59f6d9bc859b88e333b5316ffbd275bc2a49a

8 years agoMerge "Fix debugger missing handle between adding and tagging object."
Jeff Hao [Mon, 22 Aug 2016 20:26:20 +0000 (20:26 +0000)]
Merge "Fix debugger missing handle between adding and tagging object."

8 years agoART: String DexCache asm fast path for x86
Christina Wadsworth [Mon, 22 Aug 2016 20:22:36 +0000 (13:22 -0700)]
ART: String DexCache asm fast path for x86

In the entrypoints, before a string is looked up in the slow path (in
the intern table), I added assembly to check the dex cache and return a
string pointer if the string is already in the dex cache.

Test: test-art-host

Change-Id: Id0c337b380adc0b2bde5325745c928290d9da1b0

8 years agoMerge "Add define needed by new vixl"
Treehugger Robot [Mon, 22 Aug 2016 20:19:06 +0000 (20:19 +0000)]
Merge "Add define needed by new vixl"

8 years agoOngoing improvements in java fuzz testing
Aart Bik [Fri, 19 Aug 2016 22:45:11 +0000 (15:45 -0700)]
Ongoing improvements in java fuzz testing

Added --device option to runner to define target in case
        multiple devices are attached

Added more cases to JavaFuzz, removed a few cases that
are likely to hang the program (such as changing loop
variables) since throughput is more important for fuzzing

Test: run_java_fuzz_test.py

BUG=30610121

Change-Id: I0cd6f5d3b7fb35ddb91d91c0c0c00afaf83218d8

8 years agoFix debugger missing handle between adding and tagging object.
Jeff Hao [Mon, 22 Aug 2016 18:34:41 +0000 (11:34 -0700)]
Fix debugger missing handle between adding and tagging object.

Bug: 30951794
Change-Id: Ic9c5f296efe839a8961ab00d08afc54c5443bc17

8 years agoRevert "Revert "Improve the thread flip.""
Hiroshi Yamauchi [Sat, 20 Aug 2016 00:03:27 +0000 (17:03 -0700)]
Revert "Revert "Improve the thread flip.""

This reverts commit db3204f87c3f7c4de89762ce9e8502a9dc25c2d8.

Improve the thread flip.

- In addition to the threads that are suspended in FullSuspendCheck(),
  prioritize the resume of threads that are blocking for the thread
  flip at the JNI critical section entry and threads are about to
  transition to runnable (eg. blocking at the SOA entry from JNI).
- Shorten the length of the thread flip critical
  section (ThreadFlipBegin/End).
- Add some systrace scopes.
- Add a read barrier for the locked objects during the thread dump in
  case the thread is in the middle of flipping.

Bug: 30980189
Bug: 29517059
Bug: 12687968
Test: test-art-host, Ritz EAAC, N9 libartd boot
Change-Id: I3a903c47c0fcc746664ec376cc31dee8af3c3ecb

8 years agoMerge "ART: Adding asm support for string dex cache" am: 82a4c22ef4
Christina Wadsworth [Mon, 22 Aug 2016 18:17:18 +0000 (18:17 +0000)]
Merge "ART: Adding asm support for string dex cache" am: 82a4c22ef4
am: f6167363d3

Change-Id: Ib20b17e586c59538656938cdb05f3633d5a01989