OSDN Git Service

android-x86/art.git
7 years agoAdd lock when iterating over BacktraceMap. am: 250a966717
Christopher Ferris [Fri, 26 Aug 2016 18:07:17 +0000 (18:07 +0000)]
Add lock when iterating over BacktraceMap. am: 250a966717
am: 4318328e33

Change-Id: I4e4ab92b4e1b46edba3f648031e2447fb09874d6

7 years agoAdd lock when iterating over BacktraceMap.
Christopher Ferris [Fri, 26 Aug 2016 18:00:45 +0000 (18:00 +0000)]
Add lock when iterating over BacktraceMap.
am: 250a966717

Change-Id: I220924343cbf4a510473fba8d896b438307dc567

7 years agoMerge "ARM/MIPS: Avoid dead dex cache arrays base for intrinsics." am: cc55a7ce2a...
Vladimir Marko [Fri, 26 Aug 2016 16:36:37 +0000 (16:36 +0000)]
Merge "ARM/MIPS: Avoid dead dex cache arrays base for intrinsics." am: cc55a7ce2a am: 404450d7eb
am: d34a3bd85f

Change-Id: I34b4c698ec632784c0e4dc4b83e5ec00442e37b3

7 years agoMerge "ARM/MIPS: Avoid dead dex cache arrays base for intrinsics." am: cc55a7ce2a
Vladimir Marko [Fri, 26 Aug 2016 16:31:06 +0000 (16:31 +0000)]
Merge "ARM/MIPS: Avoid dead dex cache arrays base for intrinsics." am: cc55a7ce2a
am: 404450d7eb

Change-Id: I3100422e46e2804fd02b8c054bd82b93238c9809

7 years agoMerge "ARM/MIPS: Avoid dead dex cache arrays base for intrinsics."
Vladimir Marko [Fri, 26 Aug 2016 16:28:09 +0000 (16:28 +0000)]
Merge "ARM/MIPS: Avoid dead dex cache arrays base for intrinsics."
am: cc55a7ce2a

Change-Id: Iccc6c68fb830b5991374b2c258f4a92c30eb1700

7 years agoMerge "ARM/MIPS: Avoid dead dex cache arrays base for intrinsics."
Treehugger Robot [Fri, 26 Aug 2016 16:19:59 +0000 (16:19 +0000)]
Merge "ARM/MIPS: Avoid dead dex cache arrays base for intrinsics."

7 years agoMerge "Tracking java.lang.reflect.Executable changes" am: c9c055f960 am: 2d96cfb9a2
Neil Fuller [Fri, 26 Aug 2016 15:22:27 +0000 (15:22 +0000)]
Merge "Tracking java.lang.reflect.Executable changes" am: c9c055f960 am: 2d96cfb9a2
am: c7a662cd39

Change-Id: I672286b004a53b5271fcccb5dc0fc50dad5af4be

7 years agoMerge "Tracking java.lang.reflect.Executable changes" am: c9c055f960
Neil Fuller [Fri, 26 Aug 2016 15:16:23 +0000 (15:16 +0000)]
Merge "Tracking java.lang.reflect.Executable changes" am: c9c055f960
am: 2d96cfb9a2

Change-Id: I38c5f48031513181d1f9d837e4531b47dc8e99b2

7 years agoMerge "Tracking java.lang.reflect.Executable changes"
Neil Fuller [Fri, 26 Aug 2016 15:08:08 +0000 (15:08 +0000)]
Merge "Tracking java.lang.reflect.Executable changes"
am: c9c055f960

Change-Id: I43e19a6ed6ee65788700a30fa0640ccf1f66634d

7 years agoMerge "ARM: Make runtime invokes use InvokeRuntime()." am: c0ee1f5af1 am: 734c492002
Roland Levillain [Fri, 26 Aug 2016 15:07:00 +0000 (15:07 +0000)]
Merge "ARM: Make runtime invokes use InvokeRuntime()." am: c0ee1f5af1 am: 734c492002
am: 65012c8241

Change-Id: I2f998323554acd4dd19973dc7ab8cd6ed3b1f925

7 years agoMerge "ARM: Make runtime invokes use InvokeRuntime()." am: c0ee1f5af1
Roland Levillain [Fri, 26 Aug 2016 15:04:31 +0000 (15:04 +0000)]
Merge "ARM: Make runtime invokes use InvokeRuntime()." am: c0ee1f5af1
am: 734c492002

Change-Id: I2831a31fa21222bbfc6c18ff3971e216977bf744

7 years agoMerge "Tracking java.lang.reflect.Executable changes"
Treehugger Robot [Fri, 26 Aug 2016 15:03:21 +0000 (15:03 +0000)]
Merge "Tracking java.lang.reflect.Executable changes"

7 years agoMerge "ARM: Make runtime invokes use InvokeRuntime()."
Roland Levillain [Fri, 26 Aug 2016 15:01:33 +0000 (15:01 +0000)]
Merge "ARM: Make runtime invokes use InvokeRuntime()."
am: c0ee1f5af1

Change-Id: I3a41c5d23f37ab1be8db8dd2cf8eceddd3a0d857

7 years agoMerge "ARM: Make runtime invokes use InvokeRuntime()."
Roland Levillain [Fri, 26 Aug 2016 14:56:39 +0000 (14:56 +0000)]
Merge "ARM: Make runtime invokes use InvokeRuntime()."

7 years agoARM/MIPS: Avoid dead dex cache arrays base for intrinsics.
Vladimir Marko [Fri, 26 Aug 2016 12:13:33 +0000 (13:13 +0100)]
ARM/MIPS: Avoid dead dex cache arrays base for intrinsics.

Test: Run ART test suite on host and Nexus 6.
Change-Id: Ie2ad70f1e3f125eae5dad53a6384d405e0311505

7 years agoTracking java.lang.reflect.Executable changes
Neil Fuller [Fri, 12 Aug 2016 08:37:02 +0000 (09:37 +0100)]
Tracking java.lang.reflect.Executable changes

Added a method to Class: total vtable entries increases
by one.

Handling knock-ons of introducing Executable into the
class hierarchy above AbstractMethod.

Rearranging java_lang_reflect_*.cc code to track libcore
changes that reduce duplication between Constructor / Method
/ Executable and AbstractMethod and track the OpenJDK 8
more closely.

Bug: 28666126
Change-Id: I6b5c476a14b8ea25556c35448431de744519b6c2

7 years agoARM: Make runtime invokes use InvokeRuntime().
Serban Constantinescu [Wed, 22 Jun 2016 16:04:45 +0000 (17:04 +0100)]
ARM: Make runtime invokes use InvokeRuntime().

This patch refactors all of the ARM Optimizing compiler runtime
invokes to use InvokeRuntime(). It also fixes some misuses of
RecordPcInfo().

Change-Id: I722bc2ba95e42ff69ca12c3edc09326e0de2881f

7 years agoMerge "Address missing variable definition to fix the build." am: c4db1d10c5 am:...
Roland Levillain [Fri, 26 Aug 2016 10:32:44 +0000 (10:32 +0000)]
Merge "Address missing variable definition to fix the build." am: c4db1d10c5 am: 3ca9647ba9
am: d83e9f7729

Change-Id: I70849a505be7c370ddff4e0f6b83c80d3501ca73

7 years agoMerge "Address missing variable definition to fix the build." am: c4db1d10c5
Roland Levillain [Fri, 26 Aug 2016 10:30:13 +0000 (10:30 +0000)]
Merge "Address missing variable definition to fix the build." am: c4db1d10c5
am: 3ca9647ba9

Change-Id: If38952feba84eac484083cd8e82081bcd9c74a88

7 years agoMerge "Address missing variable definition to fix the build."
Roland Levillain [Fri, 26 Aug 2016 10:27:15 +0000 (10:27 +0000)]
Merge "Address missing variable definition to fix the build."
am: c4db1d10c5

Change-Id: If5e49f56b1d4b8ddfca44d5053cc2bc5590b0f5e

7 years agoMerge "Address missing variable definition to fix the build."
Roland Levillain [Fri, 26 Aug 2016 10:22:29 +0000 (10:22 +0000)]
Merge "Address missing variable definition to fix the build."

7 years agoAddress missing variable definition to fix the build.
Roland Levillain [Fri, 26 Aug 2016 10:17:44 +0000 (11:17 +0100)]
Address missing variable definition to fix the build.

It was removed by another CL merged just before the
offending CL.

Test: m build-art-host
Bug: 29516974
Bug: 29506760
Bug: 12687968
Change-Id: I4457b6dafd48731eef5c8cc370d9107764d6f55c

7 years agoMerge "Re-enable the ArraySet fast path with Baker read barriers." am: cf073b3528...
Roland Levillain [Fri, 26 Aug 2016 10:03:12 +0000 (10:03 +0000)]
Merge "Re-enable the ArraySet fast path with Baker read barriers." am: cf073b3528 am: 1edd9b54ff
am: f4766dd861

Change-Id: Ice15102a45baafe8c1bed5fee45e6826cd9b8b7a

7 years agoMerge "Re-enable the ArraySet fast path with Baker read barriers." am: cf073b3528
Roland Levillain [Fri, 26 Aug 2016 10:00:12 +0000 (10:00 +0000)]
Merge "Re-enable the ArraySet fast path with Baker read barriers." am: cf073b3528
am: 1edd9b54ff

Change-Id: I59d4459b037f8e4f007ffc260fb76480e0436901

7 years agoMerge "Re-enable the ArraySet fast path with Baker read barriers."
Roland Levillain [Fri, 26 Aug 2016 09:57:14 +0000 (09:57 +0000)]
Merge "Re-enable the ArraySet fast path with Baker read barriers."
am: cf073b3528

Change-Id: Id6911521c2a280c09f4e13f1c48054d296edaf6e

7 years agoMerge "Re-enable the ArraySet fast path with Baker read barriers."
Roland Levillain [Fri, 26 Aug 2016 09:51:01 +0000 (09:51 +0000)]
Merge "Re-enable the ArraySet fast path with Baker read barriers."

7 years agoMerge "Fix mac builds" am: 6fe468835c am: 203dc006be
Colin Cross [Fri, 26 Aug 2016 02:52:15 +0000 (02:52 +0000)]
Merge "Fix mac builds" am: 6fe468835c am: 203dc006be
am: 85631f92e0

Change-Id: I0eff3622be35305ef852e949c813b47d1e5c4ecf

7 years agoMerge "Fix mac builds" am: 6fe468835c
Colin Cross [Fri, 26 Aug 2016 02:49:45 +0000 (02:49 +0000)]
Merge "Fix mac builds" am: 6fe468835c
am: 203dc006be

Change-Id: I17e876a20aadee6ae743ed1b59a2c9270928ebd4

7 years agoMerge "Fix mac builds"
Colin Cross [Fri, 26 Aug 2016 02:46:48 +0000 (02:46 +0000)]
Merge "Fix mac builds"
am: 6fe468835c

Change-Id: I1bafab414868c3107790a522b82ec698071b3db5

7 years agoMerge "Fix mac builds"
Treehugger Robot [Fri, 26 Aug 2016 02:40:55 +0000 (02:40 +0000)]
Merge "Fix mac builds"

7 years agoMerge "Bisection bug search tool" am: 99f575da68 am: 65df7412b0
Wojciech Staszkiewicz [Fri, 26 Aug 2016 02:28:13 +0000 (02:28 +0000)]
Merge "Bisection bug search tool" am: 99f575da68 am: 65df7412b0
am: e8e4bef7d4

Change-Id: I78bc5fa77a3a64bb5d036b8aa50cf54bef11284b

7 years agoMerge "Bisection bug search tool" am: 99f575da68
Wojciech Staszkiewicz [Fri, 26 Aug 2016 02:25:43 +0000 (02:25 +0000)]
Merge "Bisection bug search tool" am: 99f575da68
am: 65df7412b0

Change-Id: Icea0e91fd60f2280d7e9ce00056840ea2710145e

7 years agoMerge "Bisection bug search tool"
Wojciech Staszkiewicz [Fri, 26 Aug 2016 02:22:45 +0000 (02:22 +0000)]
Merge "Bisection bug search tool"
am: 99f575da68

Change-Id: I2e7c47fb190af4ef3b4e578bc719217147d79adc

7 years agoMerge "Bisection bug search tool"
Treehugger Robot [Fri, 26 Aug 2016 02:14:53 +0000 (02:14 +0000)]
Merge "Bisection bug search tool"

7 years agoMerge "Background full compaction for CC." am: d9cf6d5ef6 am: 4f40f12e85
Hiroshi Yamauchi [Fri, 26 Aug 2016 02:11:43 +0000 (02:11 +0000)]
Merge "Background full compaction for CC." am: d9cf6d5ef6 am: 4f40f12e85
am: 27764a5a26

Change-Id: I2e8c4a85d495a4672b4bb5ce92610aaa1451b0f5

7 years agoMerge "Background full compaction for CC." am: d9cf6d5ef6
Hiroshi Yamauchi [Fri, 26 Aug 2016 02:08:42 +0000 (02:08 +0000)]
Merge "Background full compaction for CC." am: d9cf6d5ef6
am: 4f40f12e85

Change-Id: Ib808064b7e7b7b819e7d4ed411cc9d0a2405ff55

7 years agoMerge "Background full compaction for CC."
Hiroshi Yamauchi [Fri, 26 Aug 2016 02:06:14 +0000 (02:06 +0000)]
Merge "Background full compaction for CC."
am: d9cf6d5ef6

Change-Id: Id74b0d5ff61ba28effdea7be7f397e9d8f5a718c

7 years agoMerge "Background full compaction for CC."
Treehugger Robot [Fri, 26 Aug 2016 02:01:06 +0000 (02:01 +0000)]
Merge "Background full compaction for CC."

7 years agoMerge "MIPS64: Improve non-trivial 64-bit constant loading." am: 912883db92 am: f0fea...
Aart Bik [Fri, 26 Aug 2016 01:20:40 +0000 (01:20 +0000)]
Merge "MIPS64: Improve non-trivial 64-bit constant loading." am: 912883db92 am: f0feac33b3
am: 4d58e1417e

Change-Id: I7b556094f757ed161a0bc8a5baf99d65f98c8f98

7 years agoMerge "Fix arm32 build" am: b26918002c am: 971e9f70bf
Colin Cross [Fri, 26 Aug 2016 01:20:39 +0000 (01:20 +0000)]
Merge "Fix arm32 build" am: b26918002c am: 971e9f70bf
am: e51e96acf1

Change-Id: If4a8b2b2476d00b138fbb63b9a48a68e2c7bd35d

7 years agoMerge "MIPS64: Improve non-trivial 64-bit constant loading." am: 912883db92
Aart Bik [Fri, 26 Aug 2016 01:06:38 +0000 (01:06 +0000)]
Merge "MIPS64: Improve non-trivial 64-bit constant loading." am: 912883db92
am: f0feac33b3

Change-Id: Ie17bd86368fd4b0b040adc4926f0a8ad124d7543

7 years agoMerge "MIPS64: Improve non-trivial 64-bit constant loading."
Aart Bik [Fri, 26 Aug 2016 01:04:43 +0000 (01:04 +0000)]
Merge "MIPS64: Improve non-trivial 64-bit constant loading."
am: 912883db92

Change-Id: I4a1cff08925fb3644149727e5b19125c7f22c88f

7 years agoMerge "MIPS64: Improve non-trivial 64-bit constant loading."
Aart Bik [Fri, 26 Aug 2016 00:48:38 +0000 (00:48 +0000)]
Merge "MIPS64: Improve non-trivial 64-bit constant loading."

7 years agoMerge "Fix arm32 build" am: b26918002c
Colin Cross [Fri, 26 Aug 2016 00:48:08 +0000 (00:48 +0000)]
Merge "Fix arm32 build" am: b26918002c
am: 971e9f70bf

Change-Id: I6191bba9dc5b3c44454a2a8820b7520f4eed8fa6

7 years agoMerge "Fix arm32 build"
Colin Cross [Fri, 26 Aug 2016 00:45:08 +0000 (00:45 +0000)]
Merge "Fix arm32 build"
am: b26918002c

Change-Id: Ia31d543f78d277c48ecf787b8357fc60dd2be122

7 years agoBackground full compaction for CC.
Hiroshi Yamauchi [Wed, 24 Aug 2016 20:53:12 +0000 (13:53 -0700)]
Background full compaction for CC.

Invoke a full compaction with the CC collector when an app goes to the
background like the HSpace compaction for the CMS collector.

Bug: 31039431
Bug: 12687968
Test: test-art, Ritz EAAC, N9 libartd.so device boot with CC
Change-Id: I119aa26c1d3c167b12983fffcb16164929bf8f68

7 years agoMerge "Fix arm32 build"
Colin Cross [Fri, 26 Aug 2016 00:33:47 +0000 (00:33 +0000)]
Merge "Fix arm32 build"

7 years agoMerge "Remove libLLVM* from art" am: 63a1397070 am: d319f7d265
Colin Cross [Fri, 26 Aug 2016 00:23:07 +0000 (00:23 +0000)]
Merge "Remove libLLVM* from art" am: 63a1397070 am: d319f7d265
am: 9bc845e89e

Change-Id: I362ba1eb24ffd663ccb793f26c36586cda31ebd0

7 years agoMerge "Remove libLLVM* from art" am: 63a1397070
Colin Cross [Fri, 26 Aug 2016 00:20:35 +0000 (00:20 +0000)]
Merge "Remove libLLVM* from art" am: 63a1397070
am: d319f7d265

Change-Id: Ifc27ead16c56fec04648ab7a04507721f000abfb

7 years agoMerge "Remove libLLVM* from art"
Colin Cross [Fri, 26 Aug 2016 00:17:36 +0000 (00:17 +0000)]
Merge "Remove libLLVM* from art"
am: 63a1397070

Change-Id: Ieef372a1a7cc1fcf7472b207f533508ea194426f

7 years agoMerge "Remove libLLVM* from art"
Colin Cross [Fri, 26 Aug 2016 00:11:43 +0000 (00:11 +0000)]
Merge "Remove libLLVM* from art"

7 years agoFix mac builds
Colin Cross [Thu, 25 Aug 2016 23:42:09 +0000 (16:42 -0700)]
Fix mac builds

Add libz-host back as a dependency to fix darwin builds.

Change-Id: I1abc9e2f336e029592a5fcc27a79f94ad235547e

7 years agoFix arm32 build
Colin Cross [Thu, 25 Aug 2016 23:22:04 +0000 (16:22 -0700)]
Fix arm32 build

libvixl-arm is required for arm codegen targets.

Change-Id: I6e8dab7c406bebbb8dfd9bebdb8dbb7ce21c79b3

7 years agoBisection bug search tool
Wojciech Staszkiewicz [Thu, 11 Aug 2016 21:04:20 +0000 (14:04 -0700)]
Bisection bug search tool

Bisection Bug Search is a tool for finding compiler optimization
bugs. It accepts a program which exposes a bug by producing incorrect
output and expected correct output for the program. The tool will
then attempt to narrow down the issue to a single method and
optimization pass.

Given methods in order M0..Mn finds smallest i such that compiling
Mi and interpreting all other methods produces incorrect output.
Then, given ordered optimization passes P0..Pl, finds smallest j
such that compiling Mi with passes P0..Pj-1 produces expected output
and compiling Mi with passes P0..Pj produces incorrect output.
Prints Mi and Pj.

Test: unit tests ./art/tools/bisection-search/tests.py
Manual testing:
./bisection-search.py -cp classes.dex --expected-output output Test

Change-Id: Ic40a82184975d42c9a403f697995e5c9654b8e52

7 years agoMerge "Convert libart and dependencies to Android.bp" am: 2ffba0b1a8 am: 56f49f258e
Colin Cross [Thu, 25 Aug 2016 22:51:59 +0000 (22:51 +0000)]
Merge "Convert libart and dependencies to Android.bp" am: 2ffba0b1a8 am: 56f49f258e
am: d9a234a8bb

Change-Id: Idff350b3a4ceaa4f220eab9b4ea723ba094fd723

7 years agoMerge "Convert libart and dependencies to Android.bp" am: 2ffba0b1a8
Colin Cross [Thu, 25 Aug 2016 22:39:30 +0000 (22:39 +0000)]
Merge "Convert libart and dependencies to Android.bp" am: 2ffba0b1a8
am: 56f49f258e

Change-Id: Iec9205259a82e52f8620573b6b34345be6720b6e

7 years agoRemove libLLVM* from art
Colin Cross [Thu, 25 Aug 2016 22:29:25 +0000 (15:29 -0700)]
Remove libLLVM* from art

The functionality in libbacktrace that depended on libLLVM* has been
split out into libbacktrace_offline.  Remove the unnecessary
dependencies from dex2oats.

Test: m -j dex2oats ART_BUILD_HOST_STATIC=true
Change-Id: I79b99c4d420caefbdf6aa81541120ddedd2149c5

7 years agoMerge "Convert libart and dependencies to Android.bp"
Colin Cross [Thu, 25 Aug 2016 22:35:06 +0000 (22:35 +0000)]
Merge "Convert libart and dependencies to Android.bp"
am: 2ffba0b1a8

Change-Id: Ia2e46df57b5b312e89e4c57af020a727e452b1b5

7 years agoMerge "Convert libart and dependencies to Android.bp"
Treehugger Robot [Thu, 25 Aug 2016 22:18:01 +0000 (22:18 +0000)]
Merge "Convert libart and dependencies to Android.bp"

7 years agoAdd lock when iterating over BacktraceMap.
Christopher Ferris [Fri, 17 Jun 2016 06:19:36 +0000 (23:19 -0700)]
Add lock when iterating over BacktraceMap.

In order to avoid a race condition in the maps data, acquire
a read lock while iterating over the maps data.

Bug: 29387050
Bug: 31067025

(cherry picked from commit 56f8b5631ab2874dc2ec385802e38555acac0d90)

Change-Id: I48ecd2705b4aa4eedfed1daae2eb3b9b8bf8dda9

7 years agoConvert libart and dependencies to Android.bp
Colin Cross [Wed, 27 Jul 2016 17:12:38 +0000 (10:12 -0700)]
Convert libart and dependencies to Android.bp

Re-landing I73839046a5a53eb34cd28eea53149911c568e411, with fixes for mac
build (only apply -Wl,--keep-unique to device x86 builds), typo in
checking for ART_HEAP_POISONING environment variable, and removing
-Wframe-larger-than for debug builds.

Test: mma -j, m -j test-art-host
Change-Id: If88492174cbcb0d9a8758176c006163a29eaaa63

7 years agoCard mark holding class instead of declaring class am: db16f2a0a7
Mathieu Chartier [Thu, 25 Aug 2016 20:39:46 +0000 (20:39 +0000)]
Card mark holding class instead of declaring class am: db16f2a0a7
am: 8bc2d5e810  -s ours

Change-Id: I8fe772829f5068e8ee39922beac119c8e6683076

7 years agoCard mark holding class instead of declaring class
Mathieu Chartier [Thu, 25 Aug 2016 20:34:45 +0000 (20:34 +0000)]
Card mark holding class instead of declaring class
am: db16f2a0a7

Change-Id: Ifa6f51e997bc1283cc892d3b00ed8c8b2f187307

7 years agoMerge "ArraySet without type check does not need read barrier." am: 521691ae4d am...
Vladimir Marko [Thu, 25 Aug 2016 20:05:35 +0000 (20:05 +0000)]
Merge "ArraySet without type check does not need read barrier." am: 521691ae4d am: 55a5deec13
am: a444716465

Change-Id: I472b7c7254540a0147498eb074b5ada6871fe21d

7 years agoMerge "ArraySet without type check does not need read barrier." am: 521691ae4d
Vladimir Marko [Thu, 25 Aug 2016 20:02:33 +0000 (20:02 +0000)]
Merge "ArraySet without type check does not need read barrier." am: 521691ae4d
am: 55a5deec13

Change-Id: I0a6b175cd96d85707542485012856f800348dda6

7 years agoMerge "ArraySet without type check does not need read barrier."
Vladimir Marko [Thu, 25 Aug 2016 19:59:36 +0000 (19:59 +0000)]
Merge "ArraySet without type check does not need read barrier."
am: 521691ae4d

Change-Id: I109a057f418ce1e87ea52b7887501626ec6b391d

7 years agoMerge "ArraySet without type check does not need read barrier."
Vladimir Marko [Thu, 25 Aug 2016 19:52:01 +0000 (19:52 +0000)]
Merge "ArraySet without type check does not need read barrier."

7 years agoMerge "Fix VIXL assembler test for heap-poisoning configurations." am: cb83389879...
Vladimir Marko [Thu, 25 Aug 2016 18:58:29 +0000 (18:58 +0000)]
Merge "Fix VIXL assembler test for heap-poisoning configurations." am: cb83389879 am: c41ab3eda3
am: c046cc49fa

Change-Id: Ie626eda3bc31be3606fd96d9b40ff513df41b5c2

7 years agoMerge "Fix VIXL assembler test for heap-poisoning configurations." am: cb83389879
Vladimir Marko [Thu, 25 Aug 2016 18:55:29 +0000 (18:55 +0000)]
Merge "Fix VIXL assembler test for heap-poisoning configurations." am: cb83389879
am: c41ab3eda3

Change-Id: I3609cfe6450106043bb5aa2e3f759ccf490288f1

7 years agoMerge "Fix VIXL assembler test for heap-poisoning configurations."
Vladimir Marko [Thu, 25 Aug 2016 18:52:31 +0000 (18:52 +0000)]
Merge "Fix VIXL assembler test for heap-poisoning configurations."
am: cb83389879

Change-Id: Ie7965e87781022a8bee30b9c17b7cdeb396577df

7 years agoMerge "Fix VIXL assembler test for heap-poisoning configurations."
Treehugger Robot [Thu, 25 Aug 2016 18:43:08 +0000 (18:43 +0000)]
Merge "Fix VIXL assembler test for heap-poisoning configurations."

7 years agoCard mark holding class instead of declaring class
Mathieu Chartier [Fri, 5 Aug 2016 17:46:36 +0000 (10:46 -0700)]
Card mark holding class instead of declaring class

For profiling info, we need to mark the card of the holding class
instead of declaring class. This is required for GC correctness since
the GC relies on the card table to track cross space references.

Test: test-art-host ART_TEST_JIT=true

Bug: 30655270

(cherry picked from commit 65975776f807d55c83af6cca1e447f8daa794413)

Change-Id: I3de518693d3cac1ad9770eae671db740ebdf1d8d

7 years agoFix VIXL assembler test for heap-poisoning configurations.
Vladimir Marko [Thu, 25 Aug 2016 17:17:56 +0000 (18:17 +0100)]
Fix VIXL assembler test for heap-poisoning configurations.

And fix a typo in test name.

Test: ART_HEAP_POISONING=true m test-art-host-gtest-assembler_thumb_test
Change-Id: Ibc3750676aa7a7b23c93ee0babb8d9c207cb762a

7 years agoMerge "ARM64: Make runtime invokes use InvokeRuntime()." am: ca11dc0084 am: 62333d4ea9
Roland Levillain [Thu, 25 Aug 2016 17:09:22 +0000 (17:09 +0000)]
Merge "ARM64: Make runtime invokes use InvokeRuntime()." am: ca11dc0084 am: 62333d4ea9
am: 0a6e7da234

Change-Id: Id5e3b57bb8a69eb17d5e0d70a4361e4fb2cc3908

7 years agoMerge "ARM64: Make runtime invokes use InvokeRuntime()." am: ca11dc0084
Roland Levillain [Thu, 25 Aug 2016 17:05:52 +0000 (17:05 +0000)]
Merge "ARM64: Make runtime invokes use InvokeRuntime()." am: ca11dc0084
am: 62333d4ea9

Change-Id: Ied3e3fdf64d4ef621d5b65b212cd7bf618f9d17c

7 years agoMerge "ARM64: Make runtime invokes use InvokeRuntime()."
Roland Levillain [Thu, 25 Aug 2016 17:02:54 +0000 (17:02 +0000)]
Merge "ARM64: Make runtime invokes use InvokeRuntime()."
am: ca11dc0084

Change-Id: Ia25511f84c182f2629a79597b4101609d26c4f0c

7 years agoMerge "ARM64: Make runtime invokes use InvokeRuntime()."
Roland Levillain [Thu, 25 Aug 2016 16:54:43 +0000 (16:54 +0000)]
Merge "ARM64: Make runtime invokes use InvokeRuntime()."

7 years agoRe-enable the ArraySet fast path with Baker read barriers.
Roland Levillain [Thu, 25 Aug 2016 16:27:56 +0000 (17:27 +0100)]
Re-enable the ArraySet fast path with Baker read barriers.

Benchmarks (ARM64) score variations on Nexus 5X with CPU
cores clamped at 960000 Hz (aosp_bullhead-userdebug build):
- Ritzperf - average (lower is better):       -0.95% (virtually unchanged)
- CaffeineMark - average (higher is better):  +2.50% (slightly better)
- DeltaBlue (lower is better):                -0.55% (virtually unchanged)
- Richards - average (lower is better):       +0.67% (virtually unchanged)
- SciMark2 - average (higher is better):      -0.10% (virtually unchanged)

Details about Ritzperf benchmarks with meaningful variations
(lower is better):
- GenericCalcActions.MemAllocTest:            -5.05% (better)

Details about CaffeineMark benchmarks with meaningful variations
(higher is better):
- Method:                                    +16.88% (better)

Details about Richards benchmarks with meaningful variations
(lower is better):
- deutsch_acc_interface:                      +9.86% (worse)

Boot image code size variation on Nexus 5X
(aosp_bullhead-userdebug build):
- total ARM64 framework Oat files size change:
  105933472 bytes -> 106027680 bytes (+0.09%)
- total ARM framework Oat files size change:
  89157936 bytes -> 89239856 bytes (+0.09%)

Test: ART host and target (ARM, ARM64) tests.
Bug: 29516974
Bug: 29506760
Bug: 12687968
Change-Id: Ib9e9709712295e17804b8888ac10e3d518ff2e70

7 years agoMerge "ARM64: Use the zero register for field and array set operations." am: 8812e8fa...
Vladimir Marko [Thu, 25 Aug 2016 15:55:17 +0000 (15:55 +0000)]
Merge "ARM64: Use the zero register for field and array set operations." am: 8812e8fa4b am: 85343c6318
am: 4eb6421399

Change-Id: I45dfa4cbf248d40dfd603a1ad261daf4bc580e8b

7 years agoMerge "ARM64: Use the zero register for field and array set operations." am: 8812e8fa4b
Vladimir Marko [Thu, 25 Aug 2016 15:52:17 +0000 (15:52 +0000)]
Merge "ARM64: Use the zero register for field and array set operations." am: 8812e8fa4b
am: 85343c6318

Change-Id: I3ebc7468156a881aaa2e2f3fd3f0864d1af63380

7 years agoMerge "ARM64: Use the zero register for field and array set operations."
Vladimir Marko [Thu, 25 Aug 2016 15:49:21 +0000 (15:49 +0000)]
Merge "ARM64: Use the zero register for field and array set operations."
am: 8812e8fa4b

Change-Id: I64b3b057a9a1052be5c603495534ae332feb54e7

7 years agoMerge "ARM64: Use the zero register for field and array set operations."
Vladimir Marko [Thu, 25 Aug 2016 15:42:26 +0000 (15:42 +0000)]
Merge "ARM64: Use the zero register for field and array set operations."

7 years agoARM64: Make runtime invokes use InvokeRuntime().
Serban Constantinescu [Thu, 18 Feb 2016 16:06:31 +0000 (16:06 +0000)]
ARM64: Make runtime invokes use InvokeRuntime().

This patch refactors all of the ARM64 Optimizing compiler runtime
invokes to use InvokeRuntime(). It also fixes some misuses of
RecordPcInfo().

Test: m test-art-target + Nexus 6 boot test
Change-Id: Ia3e477c42fb14c62b81e50daa5811185071bafa6

7 years agoMerge "ARM: VIXL32: Update the trampoline compiler." am: 24cbdc42f8 am: e72f7cd952
Anton Kirilov [Thu, 25 Aug 2016 15:26:47 +0000 (15:26 +0000)]
Merge "ARM: VIXL32: Update the trampoline compiler." am: 24cbdc42f8 am: e72f7cd952
am: eb31281b42

Change-Id: I0294a37d261f576fb9c746542dcc3dc176e6a2ba

7 years agoMerge "ARM: VIXL32: Switch JNI compiler to use VIXL Assembler." am: 3e93a40f08 am...
Artem Serov [Thu, 25 Aug 2016 15:26:46 +0000 (15:26 +0000)]
Merge "ARM: VIXL32: Switch JNI compiler to use VIXL Assembler." am: 3e93a40f08 am: 443c18ba5b
am: 5287c9a8e0

Change-Id: I0121ece7059697ba606f7dd9bc1343f409ade453

7 years agoMerge "ARM: VIXL32: Implement VIXL-based assembler." am: e7c85ad018 am: 50cf83c5db
Artem Serov [Thu, 25 Aug 2016 15:26:46 +0000 (15:26 +0000)]
Merge "ARM: VIXL32: Implement VIXL-based assembler." am: e7c85ad018 am: 50cf83c5db
am: 8fe59dc597

Change-Id: I5c9317bc5c0ea639f92b6e1b098e7b6e37be15ff

7 years agoMerge "ARM: VIXL32: Update the trampoline compiler." am: 24cbdc42f8
Anton Kirilov [Thu, 25 Aug 2016 15:23:49 +0000 (15:23 +0000)]
Merge "ARM: VIXL32: Update the trampoline compiler." am: 24cbdc42f8
am: e72f7cd952

Change-Id: Ic562d9138fcc10a729def95f01ef51c74765fb18

7 years agoMerge "ARM: VIXL32: Switch JNI compiler to use VIXL Assembler." am: 3e93a40f08
Artem Serov [Thu, 25 Aug 2016 15:23:46 +0000 (15:23 +0000)]
Merge "ARM: VIXL32: Switch JNI compiler to use VIXL Assembler." am: 3e93a40f08
am: 443c18ba5b

Change-Id: I402267b2f71c3473a3c287194e84a5de5142662a

7 years agoMerge "ARM: VIXL32: Implement VIXL-based assembler." am: e7c85ad018
Artem Serov [Thu, 25 Aug 2016 15:23:45 +0000 (15:23 +0000)]
Merge "ARM: VIXL32: Implement VIXL-based assembler." am: e7c85ad018
am: 50cf83c5db

Change-Id: I3f8ca96c8c0a1d81f29d6cccd5a39b2f68ecc1cc

7 years agoMerge "ARM: VIXL32: Update the trampoline compiler."
Anton Kirilov [Thu, 25 Aug 2016 15:20:53 +0000 (15:20 +0000)]
Merge "ARM: VIXL32: Update the trampoline compiler."
am: 24cbdc42f8

Change-Id: Ib4e01394bcdbb21b77f302f33ddf59cbace5a1fd

7 years agoMerge "ARM: VIXL32: Switch JNI compiler to use VIXL Assembler."
Artem Serov [Thu, 25 Aug 2016 15:20:50 +0000 (15:20 +0000)]
Merge "ARM: VIXL32: Switch JNI compiler to use VIXL Assembler."
am: 3e93a40f08

Change-Id: Ic882e46ff588a31e7583bf643dd0acb2f792c1a9

7 years agoMerge "ARM: VIXL32: Implement VIXL-based assembler."
Artem Serov [Thu, 25 Aug 2016 15:20:48 +0000 (15:20 +0000)]
Merge "ARM: VIXL32: Implement VIXL-based assembler."
am: e7c85ad018

Change-Id: I15441d2f5a2e6e35e5690fa5d563887eba34c256

7 years agoMerge "ARM: VIXL32: Update the trampoline compiler."
Treehugger Robot [Thu, 25 Aug 2016 15:12:37 +0000 (15:12 +0000)]
Merge "ARM: VIXL32: Update the trampoline compiler."

7 years agoMerge "ARM: VIXL32: Switch JNI compiler to use VIXL Assembler."
Treehugger Robot [Thu, 25 Aug 2016 15:12:19 +0000 (15:12 +0000)]
Merge "ARM: VIXL32: Switch JNI compiler to use VIXL Assembler."

7 years agoMerge "ARM: VIXL32: Implement VIXL-based assembler."
Treehugger Robot [Thu, 25 Aug 2016 15:11:52 +0000 (15:11 +0000)]
Merge "ARM: VIXL32: Implement VIXL-based assembler."

7 years agoArraySet without type check does not need read barrier.
Vladimir Marko [Thu, 25 Aug 2016 14:20:47 +0000 (15:20 +0100)]
ArraySet without type check does not need read barrier.

Test: Run ART test suite with ART_USE_READ_BARRIER=true on host and Nexus 9.
Bug: 12687968
Change-Id: Ie04a34b2149f4fc6fe995f3e43e76986a3f6330f

7 years agoARM64: Use the zero register for field and array set operations.
Alexandre Rames [Tue, 23 Aug 2016 17:33:36 +0000 (18:33 +0100)]
ARM64: Use the zero register for field and array set operations.

Test: Run ART test suite on host and Nexus 9.
Change-Id: I4e2a81570ecc57530249672df704eb0bb780acce

7 years agoMerge "ARM: Purge Arm32Assembler." am: a518c150ad am: f17448437b
Roland Levillain [Thu, 25 Aug 2016 12:34:34 +0000 (12:34 +0000)]
Merge "ARM: Purge Arm32Assembler." am: a518c150ad am: f17448437b
am: 69329fbc5e

Change-Id: I3b67060be8f80b6c4d72d52cd680cb3f57ca8932

7 years agoMerge "ARM: Purge Arm32Assembler." am: a518c150ad
Roland Levillain [Thu, 25 Aug 2016 12:31:05 +0000 (12:31 +0000)]
Merge "ARM: Purge Arm32Assembler." am: a518c150ad
am: f17448437b

Change-Id: I0a9a4152223b7658763bfc40fc8180f76ee1fa2d

7 years agoMerge "ARM: Purge Arm32Assembler."
Roland Levillain [Thu, 25 Aug 2016 12:28:08 +0000 (12:28 +0000)]
Merge "ARM: Purge Arm32Assembler."
am: a518c150ad

Change-Id: If28ac6adfcd28290ca8251b5a181b4ac2d6022bc