OSDN Git Service

android-x86/art.git
7 years agoMerge "Re-enable boot image string sharpening." am: d707979dd4
Vladimir Marko [Wed, 31 Aug 2016 13:29:48 +0000 (13:29 +0000)]
Merge "Re-enable boot image string sharpening." am: d707979dd4
am: 2bad8ad499

Change-Id: If95fb6177d6c51d4e2bfc92702f6a314f79b092d

7 years agoMerge "Re-enable boot image string sharpening."
Vladimir Marko [Wed, 31 Aug 2016 13:27:07 +0000 (13:27 +0000)]
Merge "Re-enable boot image string sharpening."
am: d707979dd4

Change-Id: I73edbe78a9ee86600a034bc2bb1d3230af7bfc88

7 years agoMerge "Re-enable boot image string sharpening."
Vladimir Marko [Wed, 31 Aug 2016 13:16:57 +0000 (13:16 +0000)]
Merge "Re-enable boot image string sharpening."

7 years agoMerge "Add entrypoint type information." am: 19a3f556e7
Roland Levillain [Wed, 31 Aug 2016 09:48:35 +0000 (09:48 +0000)]
Merge "Add entrypoint type information." am: 19a3f556e7
am: 526b769046

Change-Id: I0db220e4a1c61f214fb21b7138a85d261b4b8276

7 years agoMerge "Add entrypoint type information."
Roland Levillain [Wed, 31 Aug 2016 09:45:37 +0000 (09:45 +0000)]
Merge "Add entrypoint type information."
am: 19a3f556e7

Change-Id: Ibd4571cc6cc960e6b114de1837d4b180aaf6787d

7 years agoMerge "Add entrypoint type information."
Roland Levillain [Wed, 31 Aug 2016 09:41:23 +0000 (09:41 +0000)]
Merge "Add entrypoint type information."

7 years agoRe-enable boot image string sharpening.
Vladimir Marko [Tue, 30 Aug 2016 16:36:24 +0000 (17:36 +0100)]
Re-enable boot image string sharpening.

Test: Run ART test suite with ART_TEST_PIC_IMAGE=true on host and Nexus 9.
Bug: 20323084
Change-Id: Ifc10e4b6f5078f599711bd84be0cec53494af3af

7 years agoMerge "Save environment snapshot and use at fork/exec" am: d7eabc2cc1
David Sehr [Tue, 30 Aug 2016 17:22:26 +0000 (17:22 +0000)]
Merge "Save environment snapshot and use at fork/exec" am: d7eabc2cc1
am: 2bbfaf15f7

Change-Id: I4827b1d35cae05cd216d53d53332f02b8c426853

7 years agoMerge "Save environment snapshot and use at fork/exec"
David Sehr [Tue, 30 Aug 2016 17:20:30 +0000 (17:20 +0000)]
Merge "Save environment snapshot and use at fork/exec"
am: d7eabc2cc1

Change-Id: If50f0c6f5ece39d4d6467a4f47e5393b88d2b267

7 years agoMerge "Save environment snapshot and use at fork/exec"
Treehugger Robot [Tue, 30 Aug 2016 17:15:26 +0000 (17:15 +0000)]
Merge "Save environment snapshot and use at fork/exec"

7 years agoSave environment snapshot and use at fork/exec
David Sehr [Wed, 17 Aug 2016 02:22:57 +0000 (19:22 -0700)]
Save environment snapshot and use at fork/exec

Some applications may inadvertently or maliciously set of environment
variables such as LD_LIBRARY_PATH before spawning subprocesses.
To make this more difficult, save the environment at the time the
runtime starts and use the saved copy anytime Exec is called.

BUG: 30160149
TEST: make test-art-{host,target}

Change-Id: I887b78bdb21ab20855636a96da14a74c767bbfef

7 years agoMerge "Fix clang-tidy warnings in art." am: 99fd9f39f2
Chih-hung Hsieh [Tue, 30 Aug 2016 16:30:23 +0000 (16:30 +0000)]
Merge "Fix clang-tidy warnings in art." am: 99fd9f39f2
am: 61d57349e9

Change-Id: I15768744f309e7bcc06fba17065e0eda6bb57793

7 years agoMerge "Fix clang-tidy warnings in art."
Chih-hung Hsieh [Tue, 30 Aug 2016 16:27:56 +0000 (16:27 +0000)]
Merge "Fix clang-tidy warnings in art."
am: 99fd9f39f2

Change-Id: I72008565498b7e0b62d668d83b89c752b6e1515e

7 years agoMerge "Fix clang-tidy warnings in art."
Chih-hung Hsieh [Tue, 30 Aug 2016 16:20:55 +0000 (16:20 +0000)]
Merge "Fix clang-tidy warnings in art."

7 years agoMerge "Track addition of Class.toGenericString() method" am: 66d4779c83
Neil Fuller [Tue, 30 Aug 2016 14:38:09 +0000 (14:38 +0000)]
Merge "Track addition of Class.toGenericString() method" am: 66d4779c83
am: f0ec999f0f

Change-Id: I86f506ace4fd642ebe23de0f2739c2f769ce4486

7 years agoMerge "Track addition of Class.toGenericString() method"
Neil Fuller [Tue, 30 Aug 2016 14:32:38 +0000 (14:32 +0000)]
Merge "Track addition of Class.toGenericString() method"
am: 66d4779c83

Change-Id: Iee8f7b450999f8767eab1f48db22b60b1fdd5a4b

7 years agoMerge "Track addition of Class.toGenericString() method"
Neil Fuller [Tue, 30 Aug 2016 14:26:34 +0000 (14:26 +0000)]
Merge "Track addition of Class.toGenericString() method"

7 years agoTrack addition of Class.toGenericString() method
Neil Fuller [Tue, 23 Aug 2016 13:32:21 +0000 (14:32 +0100)]
Track addition of Class.toGenericString() method

Increasing the vtable size for class by one.

Bug: 28666126
Change-Id: I89019d5f1b65725180b409decbd5b2570e24f5fe
Test: cts ran for libcore (libcore, harmony_java_lang, org) and host art tests.

7 years agoMerge "Re-enable evacuation of recently allocated regions" am: 9495e0c56b
Mathieu Chartier [Tue, 30 Aug 2016 01:19:04 +0000 (01:19 +0000)]
Merge "Re-enable evacuation of recently allocated regions" am: 9495e0c56b
am: 7b7561f3f2

Change-Id: I2f378e0a0578fe05d37214d15e27bc0b4994929b

7 years agoMerge "Re-enable evacuation of recently allocated regions"
Mathieu Chartier [Tue, 30 Aug 2016 00:21:02 +0000 (00:21 +0000)]
Merge "Re-enable evacuation of recently allocated regions"
am: 9495e0c56b

Change-Id: I7fcd3228062ab84888fb27d5af3501393d968655

7 years agoMerge "Re-enable evacuation of recently allocated regions"
Mathieu Chartier [Tue, 30 Aug 2016 00:14:53 +0000 (00:14 +0000)]
Merge "Re-enable evacuation of recently allocated regions"

7 years agoPass the right class loader when inlining.
Nicolas Geoffray [Mon, 29 Aug 2016 22:29:53 +0000 (22:29 +0000)]
Pass the right class loader when inlining.
am: c770fe0480

Change-Id: Ie1cc6d7b272cb9ae9033b2133271618f33703fa0

7 years agoMerge "ART: Fix libnativebridgetest dependencies" am: 3079bc2b73
Andreas Gampe [Mon, 29 Aug 2016 20:05:42 +0000 (20:05 +0000)]
Merge "ART: Fix libnativebridgetest dependencies" am: 3079bc2b73
am: b45a1bdd8d

Change-Id: I98521fabb319468985e25b43e84c026ce0492b04

7 years agoMerge "ART: Fix libnativebridgetest dependencies"
Andreas Gampe [Mon, 29 Aug 2016 20:02:43 +0000 (20:02 +0000)]
Merge "ART: Fix libnativebridgetest dependencies"
am: 3079bc2b73

Change-Id: Ie83f6d0041e981fb9d09431318104b57fcdcd239

7 years agoMerge "ART: Fix libnativebridgetest dependencies"
Treehugger Robot [Mon, 29 Aug 2016 19:51:04 +0000 (19:51 +0000)]
Merge "ART: Fix libnativebridgetest dependencies"

7 years agoMerge "ART: Fix symbols" am: 13339f92a3
Andreas Gampe [Mon, 29 Aug 2016 18:43:11 +0000 (18:43 +0000)]
Merge "ART: Fix symbols" am: 13339f92a3
am: 630e6efe2b

Change-Id: I97b16ad545683816de6a8fcb3ade2f35d52b56cf

7 years agoMerge "ART: Fix symbols"
Andreas Gampe [Mon, 29 Aug 2016 18:38:47 +0000 (18:38 +0000)]
Merge "ART: Fix symbols"
am: 13339f92a3

Change-Id: I15ee278130232cea6d31a42762adaa0d0dcb1c80

7 years agoMerge "ART: Fix symbols"
Treehugger Robot [Mon, 29 Aug 2016 18:27:39 +0000 (18:27 +0000)]
Merge "ART: Fix symbols"

7 years agoART: Fix libnativebridgetest dependencies
Andreas Gampe [Mon, 29 Aug 2016 18:18:37 +0000 (11:18 -0700)]
ART: Fix libnativebridgetest dependencies

Fix typo.

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

7 years agoRe-enable evacuation of recently allocated regions
Mathieu Chartier [Sat, 27 Aug 2016 20:27:06 +0000 (13:27 -0700)]
Re-enable evacuation of recently allocated regions

Reduces RAM since these regions usually have a low live % per
the generational hypothesis. Since these get collected earlier it
means the average heap size goes down.

60s after booting N6P CC before (average of 8 samples):
Dalvik .Heap PSS system wide: 28711K

After:
Dalvik .Heap PSS system wide: 18757.5K

EAAC: 1305 -> 1274 (30 samples)

Test: test-art-host CC baker and debug phone bootin

Bug: 12687968
Bug: 30124683

Change-Id: I30465be4525855ee3b78e6fafa5577a78d365bf4

7 years agoART: Fix symbols
Andreas Gampe [Mon, 29 Aug 2016 15:51:15 +0000 (08:51 -0700)]
ART: Fix symbols

Follow-up to 1f7f3bd26ecad4366c904b7e7d05587fc7a83ea2

Test: m test-art-host
Test: readelf -s $OUT/system/lib/libart.so
Change-Id: I70b25bf65e09eb984d0f533fa19638ffbec12b3c

7 years agoMerge "Revert "Blacklist failing libcore tests."" am: 04bbe22d21
Narayan Kamath [Mon, 29 Aug 2016 09:57:33 +0000 (09:57 +0000)]
Merge "Revert "Blacklist failing libcore tests."" am: 04bbe22d21
am: c2a5c6e71c

Change-Id: I417e09281711bd4c301d406ed8d9999662b18049

7 years agoMerge "Revert "Blacklist failing libcore tests.""
Narayan Kamath [Mon, 29 Aug 2016 09:54:05 +0000 (09:54 +0000)]
Merge "Revert "Blacklist failing libcore tests.""
am: 04bbe22d21

Change-Id: I720597e86307551e986e72acb2112a7382f0f447

7 years agoMerge "Revert "Blacklist failing libcore tests.""
Treehugger Robot [Mon, 29 Aug 2016 09:46:02 +0000 (09:46 +0000)]
Merge "Revert "Blacklist failing libcore tests.""

7 years agoRevert "Blacklist failing libcore tests."
Narayan Kamath [Wed, 24 Aug 2016 08:16:23 +0000 (08:16 +0000)]
Revert "Blacklist failing libcore tests."

This reverts commit fb7658b728690592938dfedc57231ade4e7bd870.

Fixed by commit 856bdfb2bd47e91950182d0c1427944e8e2ab771

Change-Id: I5977cc63f867c51c62de61dbed64cdb444d0dfbf
bug: 30917411
test: run cts -c org.apache.harmony.tests.java.math.BigIntegerTest

7 years agoMerge "WIP: ART: Clean p x86_64 string dex cache asm." am: 12c4a28167
Mathieu Chartier [Sat, 27 Aug 2016 20:28:50 +0000 (20:28 +0000)]
Merge "WIP: ART: Clean p x86_64 string dex cache asm." am: 12c4a28167
am: 7de714083b

Change-Id: Id4aacfa81b8fec54da3f4f243e301eefd87f7c5f

7 years agoMerge "ART: Add STRING_DEX_CACHE_ELEMENT_SIZE" am: 0e1ad6145a
Mathieu Chartier [Sat, 27 Aug 2016 20:28:50 +0000 (20:28 +0000)]
Merge "ART: Add STRING_DEX_CACHE_ELEMENT_SIZE" am: 0e1ad6145a
am: 30a304cb0f

Change-Id: I764fea1cded3f0af23908491b2d95fab3a8cd836

7 years agoMerge "WIP: ART: Clean p x86_64 string dex cache asm."
Mathieu Chartier [Sat, 27 Aug 2016 20:25:24 +0000 (20:25 +0000)]
Merge "WIP: ART: Clean p x86_64 string dex cache asm."
am: 12c4a28167

Change-Id: If728e388581945c3ffbe0454c2a1634400d64b70

7 years agoMerge "ART: Add STRING_DEX_CACHE_ELEMENT_SIZE"
Mathieu Chartier [Sat, 27 Aug 2016 20:25:22 +0000 (20:25 +0000)]
Merge "ART: Add STRING_DEX_CACHE_ELEMENT_SIZE"
am: 0e1ad6145a

Change-Id: I7e274aedaf95fcf6b26a1542fb40b36a40abd4a7

7 years agoMerge "WIP: ART: Clean p x86_64 string dex cache asm."
Mathieu Chartier [Sat, 27 Aug 2016 20:19:40 +0000 (20:19 +0000)]
Merge "WIP: ART: Clean p x86_64 string dex cache asm."

7 years agoMerge "ART: Add STRING_DEX_CACHE_ELEMENT_SIZE"
Mathieu Chartier [Sat, 27 Aug 2016 20:19:10 +0000 (20:19 +0000)]
Merge "ART: Add STRING_DEX_CACHE_ELEMENT_SIZE"

8 years agoPass the right class loader when inlining.
Nicolas Geoffray [Thu, 28 Jul 2016 02:49:14 +0000 (03:49 +0100)]
Pass the right class loader when inlining.

Otherwise, method and type resolution can resolve to the wrong
things and as a side effect update the dex cache with wrong data.

bug:30403437
Change-Id: I23f94486f51c65e0a1328c6185b36084627e09b3
test:./art/test/run-test --host --jit --dev --no-prebuild 613
(cherry picked from commit 0a210d9b108c87c0e7c1d430a92ce6fc89790c95)

8 years agoFix clang-tidy warnings in art.
Chih-Hung Hsieh [Fri, 26 Aug 2016 22:06:11 +0000 (15:06 -0700)]
Fix clang-tidy warnings in art.

* Add parentheses around macro parameters, or
  use NOLINT to suppress warning.
Bug: 28705665

Test: build with WITH_TIDY=1
Change-Id: Ifc922c2e66215772042bac372754ea70074f0053

8 years agoMerge "Ignore -Wunreachable-code for ClassTable::UpdateClass" am: de35bb7ece
Pirama Arumuga Nainar [Fri, 26 Aug 2016 22:43:02 +0000 (22:43 +0000)]
Merge "Ignore -Wunreachable-code for ClassTable::UpdateClass" am: de35bb7ece
am: fbf7c591e6

Change-Id: Ib48f375cbceca3e4d9d491fb812f3cf61104719a

8 years agoMerge "Ignore -Wunreachable-code for ClassTable::UpdateClass"
Pirama Arumuga Nainar [Fri, 26 Aug 2016 22:40:34 +0000 (22:40 +0000)]
Merge "Ignore -Wunreachable-code for ClassTable::UpdateClass"
am: de35bb7ece

Change-Id: I6704f7d40fda0d0dee9e284d0308d4a0c687b56e

8 years agoMerge "Ignore -Wunreachable-code for ClassTable::UpdateClass"
Pirama Arumuga Nainar [Fri, 26 Aug 2016 22:38:00 +0000 (22:38 +0000)]
Merge "Ignore -Wunreachable-code for ClassTable::UpdateClass"

8 years agoIgnore -Wunreachable-code for ClassTable::UpdateClass
Pirama Arumuga Nainar [Fri, 26 Aug 2016 06:42:50 +0000 (23:42 -0700)]
Ignore -Wunreachable-code for ClassTable::UpdateClass

Bug: http://b/30421084
Bug: http://b/31104323

Clang triggers -Wunreachable-code in runtime/class_table.cc.  Disable
the one instance of this warning until we can investigate (and fix) the
Clang regression.

Change-Id: Ib292009c6d639f540d6b31e793d8aa89dd861b9e
Test: Tested build, boot and common usage for several devices images in
AOSP and internal branch.

8 years agoMerge "Fix a race condition on GC timing logger data." am: b857c3bfb9
Hiroshi Yamauchi [Fri, 26 Aug 2016 20:37:53 +0000 (20:37 +0000)]
Merge "Fix a race condition on GC timing logger data." am: b857c3bfb9
am: 219ab638d4

Change-Id: Id9559ed4c8e8d519e7a70e13c3782fc1837e117c

8 years agoMerge "Fix a race condition on GC timing logger data."
Hiroshi Yamauchi [Fri, 26 Aug 2016 20:31:55 +0000 (20:31 +0000)]
Merge "Fix a race condition on GC timing logger data."
am: b857c3bfb9

Change-Id: Ib38baec07bbf2f5512282a7882179d12645de724

8 years agoMerge "Fix a race condition on GC timing logger data."
Treehugger Robot [Fri, 26 Aug 2016 20:22:44 +0000 (20:22 +0000)]
Merge "Fix a race condition on GC timing logger data."

8 years agoFix a race condition on GC timing logger data.
Hiroshi Yamauchi [Fri, 26 Aug 2016 17:39:29 +0000 (10:39 -0700)]
Fix a race condition on GC timing logger data.

The GC timing logger data is thread local to the GC thread and
shouldn't be used by a mutator. The original intention was to have a
systrace scope.

This should fix the 004-JniTest failures.

Bug: 30980189
Bug: 29517059
Bug: 12687968
Test: test-art-host
Change-Id: Ibc8cfbfdd64d85ff65bf220d3022fc8fdf1064f2

8 years agoMerge "Fix ODR violation" am: 3e31882574
Colin Cross [Fri, 26 Aug 2016 18:46:16 +0000 (18:46 +0000)]
Merge "Fix ODR violation" am: 3e31882574
am: ee6c328b64

Change-Id: I6952c082255a9bf24d58846adfee635ee83614cc

8 years agoMerge "Fix ODR violation"
Colin Cross [Fri, 26 Aug 2016 18:43:18 +0000 (18:43 +0000)]
Merge "Fix ODR violation"
am: 3e31882574

Change-Id: I86b284de927a0ba8df7f594681edb41a7d613e0d

8 years agoMerge "Fix ODR violation"
Treehugger Robot [Fri, 26 Aug 2016 18:32:23 +0000 (18:32 +0000)]
Merge "Fix ODR violation"

8 years agoFix ODR violation
Colin Cross [Fri, 26 Aug 2016 16:59:03 +0000 (09:59 -0700)]
Fix ODR violation

Switch everything to libziparchive instead of libziparchive-host to
prevent ODR violations.

Change-Id: Iadbe6bd22d5560621a5119d0bcc5bb829f476f6f

8 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

8 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

8 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."

8 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

8 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

8 years agoAdd entrypoint type information.
Serban Constantinescu [Wed, 9 Mar 2016 12:02:11 +0000 (12:02 +0000)]
Add entrypoint type information.

For some of the runtime calls we do not need to generate stack maps. For
example, the Optimizing compiler implements HRem Floating Point by
calling libm's fmod().

Since this is a leaf method that does not suspend the execution, we do
not need to treat the fmod() invoke as a possible suspend point and thus
we do not need to create a stack map for the particular PC.

For now conservatively only tag the maths runtime entrypoints with this
information.

Test: m test-art-target
Change-Id: Iab73dcf8047d2edaa7a570113ee792e46ccbc464

8 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

8 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"

8 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

8 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()."

8 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

8 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

8 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

8 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

8 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

8 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."

8 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

8 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

8 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

8 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."

8 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

8 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

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

8 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

8 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

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

8 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

8 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

8 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."

8 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

8 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

8 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."

8 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

8 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

8 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

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

8 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

8 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

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

8 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

8 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

8 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

8 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

8 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

8 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