OSDN Git Service

android-x86/art.git
7 years agoMerge "Clear zygote space cards for CC" am: 34478ae3a5 am: d7c7c0e2b7
Mathieu Chartier [Wed, 12 Apr 2017 17:50:32 +0000 (17:50 +0000)]
Merge "Clear zygote space cards for CC" am: 34478ae3a5 am: d7c7c0e2b7
am: ae4e08fc41

Change-Id: Icf0374f1f48165198ce188253f5dab5bbcb835e8

7 years agoMerge "Fix -XX:DumpGCPerformanceOnShutdown for debug builds" am: 5ec409da4a am: 38580...
Mathieu Chartier [Wed, 12 Apr 2017 17:50:10 +0000 (17:50 +0000)]
Merge "Fix -XX:DumpGCPerformanceOnShutdown for debug builds" am: 5ec409da4a am: 385807c461
am: fd0255b7be

Change-Id: Ie541bea3a6d7704ae19652dc225c57b0c147737d

7 years agoMerge "Clear zygote space cards for CC" am: 34478ae3a5
Mathieu Chartier [Wed, 12 Apr 2017 17:46:15 +0000 (17:46 +0000)]
Merge "Clear zygote space cards for CC" am: 34478ae3a5
am: d7c7c0e2b7

Change-Id: I1dc5526dacd24b4fb7c16c73add085148d569002

7 years agoMerge "Fix -XX:DumpGCPerformanceOnShutdown for debug builds" am: 5ec409da4a
Mathieu Chartier [Wed, 12 Apr 2017 17:45:56 +0000 (17:45 +0000)]
Merge "Fix -XX:DumpGCPerformanceOnShutdown for debug builds" am: 5ec409da4a
am: 385807c461

Change-Id: I03a4bb3604665a7853f954d8a90985b42c14cc32

7 years agoMerge "Clear zygote space cards for CC" into oc-dev
Mathieu Chartier [Wed, 12 Apr 2017 17:45:55 +0000 (17:45 +0000)]
Merge "Clear zygote space cards for CC" into oc-dev
am: b285722533

Change-Id: I981ba4233c32c9e2a6bf1461a88e30d176ad5d2e

7 years agoMerge "Clear zygote space cards for CC"
Mathieu Chartier [Wed, 12 Apr 2017 17:40:41 +0000 (17:40 +0000)]
Merge "Clear zygote space cards for CC"
am: 34478ae3a5

Change-Id: Ibc306fa41f3f0e4a6b347b3d9383dec4f5717b8b

7 years agoMerge "Fix -XX:DumpGCPerformanceOnShutdown for debug builds"
Mathieu Chartier [Wed, 12 Apr 2017 17:40:26 +0000 (17:40 +0000)]
Merge "Fix -XX:DumpGCPerformanceOnShutdown for debug builds"
am: 5ec409da4a

Change-Id: I85b63ae0b0f53c8dea00837f233fb63edce06f71

7 years agoMerge "Clear zygote space cards for CC"
Mathieu Chartier [Wed, 12 Apr 2017 17:28:38 +0000 (17:28 +0000)]
Merge "Clear zygote space cards for CC"

7 years agoMerge "Clear zygote space cards for CC" into oc-dev
Mathieu Chartier [Wed, 12 Apr 2017 17:28:18 +0000 (17:28 +0000)]
Merge "Clear zygote space cards for CC" into oc-dev

7 years agoMerge "Fix -XX:DumpGCPerformanceOnShutdown for debug builds"
Mathieu Chartier [Wed, 12 Apr 2017 17:27:39 +0000 (17:27 +0000)]
Merge "Fix -XX:DumpGCPerformanceOnShutdown for debug builds"

7 years agoMerge changes I1d4db176,Ifb931a99 am: 4766f2cd27 am: aa3f27835d
Aart Bik [Wed, 12 Apr 2017 16:14:49 +0000 (16:14 +0000)]
Merge changes I1d4db176,Ifb931a99 am: 4766f2cd27 am: aa3f27835d
am: f8f109942e

Change-Id: I4a2beae9f0c87fea7585f7f90d89a4eba6197add

7 years agoMerge changes I1d4db176,Ifb931a99 am: 4766f2cd27
Aart Bik [Wed, 12 Apr 2017 16:09:18 +0000 (16:09 +0000)]
Merge changes I1d4db176,Ifb931a99 am: 4766f2cd27
am: aa3f27835d

Change-Id: Ib5e7b6f0f98bf8f22e13a03ade663cc273621754

7 years agoMerge changes I1d4db176,Ifb931a99
Aart Bik [Wed, 12 Apr 2017 16:03:51 +0000 (16:03 +0000)]
Merge changes I1d4db176,Ifb931a99
am: 4766f2cd27

Change-Id: I43d568f3ff551c2d69b25711ebd22bd7b651b562

7 years agoMerge changes I1d4db176,Ifb931a99
Aart Bik [Wed, 12 Apr 2017 15:52:08 +0000 (15:52 +0000)]
Merge changes I1d4db176,Ifb931a99

* changes:
  ARM64: Support vectorization for double and long.
  ARM64: Support 128-bit registers for SIMD.

7 years agoMerge "MIPS: Use Lsa/Dlsa when possible." am: 279fbab663 am: 8d2524cf6c
Chris Larsen [Wed, 12 Apr 2017 12:36:06 +0000 (12:36 +0000)]
Merge "MIPS: Use Lsa/Dlsa when possible." am: 279fbab663 am: 8d2524cf6c
am: 57b695e3e2

Change-Id: I272c41493c9fb510587d29f295d088e694e617e3

7 years agoMerge "MIPS: Use Lsa/Dlsa when possible." am: 279fbab663
Chris Larsen [Wed, 12 Apr 2017 12:31:07 +0000 (12:31 +0000)]
Merge "MIPS: Use Lsa/Dlsa when possible." am: 279fbab663
am: 8d2524cf6c

Change-Id: I10d87d3f49b05ed032d0c209faa3ddedf9fa0c70

7 years agoMerge "MIPS: Use Lsa/Dlsa when possible."
Chris Larsen [Wed, 12 Apr 2017 12:25:06 +0000 (12:25 +0000)]
Merge "MIPS: Use Lsa/Dlsa when possible."
am: 279fbab663

Change-Id: I65ff9f3ec86ad184111c0e57015c94e79f3a91fc

7 years agoMerge "MIPS: Use Lsa/Dlsa when possible."
Treehugger Robot [Wed, 12 Apr 2017 12:17:44 +0000 (12:17 +0000)]
Merge "MIPS: Use Lsa/Dlsa when possible."

7 years agoMerge "Add an 'art-preopt' test target configuration." am: da7d1bc58e am: 507b60bf4e
Richard Uhler [Wed, 12 Apr 2017 08:05:49 +0000 (08:05 +0000)]
Merge "Add an 'art-preopt' test target configuration." am: da7d1bc58e am: 507b60bf4e
am: 7748c80996

Change-Id: Id1db26c8f42c134148db7706a91e7251342c894d

7 years agoMerge "Add an 'art-preopt' test target configuration." am: da7d1bc58e
Richard Uhler [Wed, 12 Apr 2017 08:00:49 +0000 (08:00 +0000)]
Merge "Add an 'art-preopt' test target configuration." am: da7d1bc58e
am: 507b60bf4e

Change-Id: I4040a9ea17087d1a132382738255969e7e04369f

7 years agoMerge "Add an 'art-preopt' test target configuration."
Richard Uhler [Wed, 12 Apr 2017 07:55:19 +0000 (07:55 +0000)]
Merge "Add an 'art-preopt' test target configuration."
am: da7d1bc58e

Change-Id: I7ae07633b99a9f8735585dfcb7597034d9ae77c9

7 years agoMerge "Add an 'art-preopt' test target configuration."
Richard Uhler [Wed, 12 Apr 2017 07:44:46 +0000 (07:44 +0000)]
Merge "Add an 'art-preopt' test target configuration."

7 years agoMerge changes Ic7d75e1e,Iaf828034 am: 467610e9b9 am: 02cab224f0
Andreas Gampe [Wed, 12 Apr 2017 04:26:36 +0000 (04:26 +0000)]
Merge changes Ic7d75e1e,Iaf828034 am: 467610e9b9 am: 02cab224f0
am: 758e740338

Change-Id: Ia11186a894e12d5c950b554814bfbc717ae756b1

7 years agoMerge changes Ic7d75e1e,Iaf828034 am: 467610e9b9
Andreas Gampe [Wed, 12 Apr 2017 04:21:05 +0000 (04:21 +0000)]
Merge changes Ic7d75e1e,Iaf828034 am: 467610e9b9
am: 02cab224f0

Change-Id: I464e05c473aa28bdc8054a457555d01a3ba36e03

7 years agoMerge changes Ic7d75e1e,Iaf828034
Andreas Gampe [Wed, 12 Apr 2017 04:15:36 +0000 (04:15 +0000)]
Merge changes Ic7d75e1e,Iaf828034
am: 467610e9b9

Change-Id: I9bb6da1caf637984ac918bc1cd5cab1f831eca16

7 years agoMerge changes Ic7d75e1e,Iaf828034
Andreas Gampe [Wed, 12 Apr 2017 04:07:43 +0000 (04:07 +0000)]
Merge changes Ic7d75e1e,Iaf828034

* changes:
  ART: Fix GetSystemProperty (2)
  ART: Fix GetSystemProperty

7 years agoMerge changes Ib29b3920,Ice5efad9 into oc-dev
Andreas Gampe [Wed, 12 Apr 2017 03:23:00 +0000 (03:23 +0000)]
Merge changes Ib29b3920,Ice5efad9 into oc-dev
am: 1e8b19d211

Change-Id: I827f5078fe865d84b724b84db464b798f2405c88

7 years agoMerge changes Ib29b3920,Ice5efad9 into oc-dev
TreeHugger Robot [Wed, 12 Apr 2017 03:16:58 +0000 (03:16 +0000)]
Merge changes Ib29b3920,Ice5efad9 into oc-dev

* changes:
  ART: Move trampoline logging to -verbose:dex
  ART: Add -verbose:dex

7 years agoClear zygote space cards for CC
Mathieu Chartier [Tue, 11 Apr 2017 18:12:28 +0000 (11:12 -0700)]
Clear zygote space cards for CC

There may be dirty cards from reference processing or from zygote
compaction. Having these dirty cards in the zygote space is
unnecessary and causes PSS increase from GrayAllDirtyImmuneObjects
in future GCs. Clearing the zygote space cards when the zygote
space is created fixes this issue and reduces PSS.

System wide PSS for zygote space, before:
7,899K: .Zygote
7,896K: .Zygote
8,067K: .Zygote
8,547K: .Zygote

After:
4,881K: .Zygote
5,003K: .Zygote
5,582K: .Zygote
5,259K: .Zygote
5,176K: .Zygote

Bug: 12687968
Bug: 37219911

Test: Device boots
Test: test-art-host

(cherry picked from commit d5a67447de577546b76c0565aed5af56176bbeb4)

Change-Id: I3f61b0f26674a8434ee37925fefd3480b106857d

7 years agoFix -XX:DumpGCPerformanceOnShutdown for debug builds
Mathieu Chartier [Wed, 12 Apr 2017 00:50:00 +0000 (17:50 -0700)]
Fix -XX:DumpGCPerformanceOnShutdown for debug builds

There was a failing DCHECK from CheckUnattachedThread. The fix is
to dump after attaching the shutdown thread.

Bug: 35644369
Test: test-art-host

Change-Id: I3d927e380888418167c101b2f09d1e547fe728cf

7 years agoDon't add Jack dependencies when building without Jack
Colin Cross [Wed, 12 Apr 2017 01:00:51 +0000 (01:00 +0000)]
Don't add Jack dependencies when building without Jack
am: 7d177b424d

Change-Id: I944944fa70431f5fe9297a7aff3c811fc665c1dd

7 years agoMerge changes Ib29b3920,Ice5efad9 am: ea07a65281 am: 4b2e765b40
Andreas Gampe [Wed, 12 Apr 2017 00:08:49 +0000 (00:08 +0000)]
Merge changes Ib29b3920,Ice5efad9 am: ea07a65281 am: 4b2e765b40
am: 7a689c2bb1

Change-Id: I3da581db1153dbd4406e492db23a448c0a0df33f

7 years agoMerge changes Ib29b3920,Ice5efad9 am: ea07a65281
Andreas Gampe [Wed, 12 Apr 2017 00:03:47 +0000 (00:03 +0000)]
Merge changes Ib29b3920,Ice5efad9 am: ea07a65281
am: 4b2e765b40

Change-Id: Id6e7f57c04461f279eea0da7b67e2f5fb1fbc221

7 years agoMerge changes Ib29b3920,Ice5efad9
Andreas Gampe [Tue, 11 Apr 2017 23:58:20 +0000 (23:58 +0000)]
Merge changes Ib29b3920,Ice5efad9
am: ea07a65281

Change-Id: I88e721e41d83404a2512c97ffbb60a95edfe76fe

7 years agoMerge changes Ib29b3920,Ice5efad9
Treehugger Robot [Tue, 11 Apr 2017 23:51:05 +0000 (23:51 +0000)]
Merge changes Ib29b3920,Ice5efad9

* changes:
  ART: Move trampoline logging to -verbose:dex
  ART: Add -verbose:dex

7 years agoART: Fix GetSystemProperty (2)
Andreas Gampe [Tue, 11 Apr 2017 23:47:29 +0000 (16:47 -0700)]
ART: Fix GetSystemProperty (2)

Add live-phase Java-call fallback for java.library.path.

Bug: 31455788
Test: manual
Change-Id: Ic7d75e1e17760fce5506359058b754eb283b9c41

7 years agoClear zygote space cards for CC
Mathieu Chartier [Tue, 11 Apr 2017 18:12:28 +0000 (11:12 -0700)]
Clear zygote space cards for CC

There may be dirty cards from reference processing or from zygote
compaction. Having these dirty cards in the zygote space is
unnecessary and causes PSS increase from GrayAllDirtyImmuneObjects
in future GCs. Clearing the zygote space cards when the zygote
space is created fixes this issue and reduces PSS.

System wide PSS for zygote space, before:
7,899K: .Zygote
7,896K: .Zygote
8,067K: .Zygote
8,547K: .Zygote

After:
4,881K: .Zygote
5,003K: .Zygote
5,582K: .Zygote
5,259K: .Zygote
5,176K: .Zygote

Bug: 12687968
Bug: 37219911

Test: Device boots
Test: test-art-host

(cherry picked from commit d5a67447de577546b76c0565aed5af56176bbeb4)

Change-Id: I4746c4829056f558b454c78c5991426feb460904

7 years agoART: Fix GetSystemProperty
Andreas Gampe [Tue, 11 Apr 2017 22:59:24 +0000 (15:59 -0700)]
ART: Fix GetSystemProperty

Align with VMRuntime.getClassPath to emit "." for an empty path.

Bug: 31455788
Test: manual
Change-Id: Iaf828034d414f45c20960ab6fd0ceb598362c6f1

7 years agoMerge "Add option for duplicate classes check to return all dupes." am: 66e226ac2f...
Jeff Hao [Tue, 11 Apr 2017 21:58:11 +0000 (21:58 +0000)]
Merge "Add option for duplicate classes check to return all dupes." am: 66e226ac2f am: dcfcc7afb8
am: 0ceb62c0ee

Change-Id: I374e9fd4e596efefd6742b9cd7a537a0e506ddac

7 years agoMerge "Add option for duplicate classes check to return all dupes." am: 66e226ac2f
Jeff Hao [Tue, 11 Apr 2017 21:53:09 +0000 (21:53 +0000)]
Merge "Add option for duplicate classes check to return all dupes." am: 66e226ac2f
am: dcfcc7afb8

Change-Id: I16487fc143e9edd2dc1cd57dd9e07cd8f7329232

7 years agoMerge "Add option for duplicate classes check to return all dupes."
Jeff Hao [Tue, 11 Apr 2017 21:48:09 +0000 (21:48 +0000)]
Merge "Add option for duplicate classes check to return all dupes."
am: 66e226ac2f

Change-Id: I4dc43d68856b0e72e04178005f917a8463dd313a

7 years agoART: Move trampoline logging to -verbose:dex
Andreas Gampe [Tue, 11 Apr 2017 20:50:23 +0000 (13:50 -0700)]
ART: Move trampoline logging to -verbose:dex

Move invoke logging to VLOG(dex).

(cherry picked from commit 9e6dee2569ba3ec393b91ee4afe0f63a4daecfa9)

Bug: 37158297
Test: m test-art-host
Change-Id: Ib29b3920e8f227395b99a9ed65de5ca10c737cc0

7 years agoART: Add -verbose:dex
Andreas Gampe [Tue, 11 Apr 2017 20:48:37 +0000 (13:48 -0700)]
ART: Add -verbose:dex

Add a dex verbose flag to separate out concerns for dex investigations.

(cherry picked from commit bec07a05dd1aa564895f0d9c58c8277c576dc9bb)

Bug: 37158297
Test: m test-art-host
Change-Id: Ice5efad919ae0b6838d44e2f3711563a0774ef0e

7 years agoMerge "Add option for duplicate classes check to return all dupes."
Treehugger Robot [Tue, 11 Apr 2017 21:41:00 +0000 (21:41 +0000)]
Merge "Add option for duplicate classes check to return all dupes."

7 years agoART: Move trampoline logging to -verbose:dex
Andreas Gampe [Tue, 11 Apr 2017 20:50:23 +0000 (13:50 -0700)]
ART: Move trampoline logging to -verbose:dex

Move invoke logging to VLOG(dex).

Bug: 37158297
Test: m test-art-host
Change-Id: Ib29b3920e8f227395b99a9ed65de5ca10c737cc0

7 years agoART: Add -verbose:dex
Andreas Gampe [Tue, 11 Apr 2017 20:48:37 +0000 (13:48 -0700)]
ART: Add -verbose:dex

Add a dex verbose flag to separate out concerns for dex investigations.

Bug: 37158297
Test: m test-art-host
Change-Id: Ice5efad919ae0b6838d44e2f3711563a0774ef0e

7 years agoMerge "Fix bug in vectorization of charAt, with regression test" am: 60efed530d am...
Aart Bik [Tue, 11 Apr 2017 20:11:33 +0000 (20:11 +0000)]
Merge "Fix bug in vectorization of charAt, with regression test" am: 60efed530d am: 40b5537c77
am: bea264812d

Change-Id: I218ac2b0ee9a116b54c9be75fa5c640c21bbdd94

7 years agoMerge "Fix bug in vectorization of charAt, with regression test" am: 60efed530d
Aart Bik [Tue, 11 Apr 2017 20:05:04 +0000 (20:05 +0000)]
Merge "Fix bug in vectorization of charAt, with regression test" am: 60efed530d
am: 40b5537c77

Change-Id: Ibf8f80f9517bff298085bd27b3ee687d8b597822

7 years agoMerge "Fix bug in vectorization of charAt, with regression test"
Aart Bik [Tue, 11 Apr 2017 20:00:02 +0000 (20:00 +0000)]
Merge "Fix bug in vectorization of charAt, with regression test"
am: 60efed530d

Change-Id: If1f3c1ba1b37e68d95deaddf94a4c318827152cc

7 years agoMerge "Fix bug in vectorization of charAt, with regression test"
Treehugger Robot [Tue, 11 Apr 2017 19:46:48 +0000 (19:46 +0000)]
Merge "Fix bug in vectorization of charAt, with regression test"

7 years agoMerge "optimizing: do not illegally remove constructor barriers after inlining" am...
Igor Murashkin [Tue, 11 Apr 2017 19:05:57 +0000 (19:05 +0000)]
Merge "optimizing: do not illegally remove constructor barriers after inlining" am: e2dfd30e75 am: efe9943c95
am: 950755d7ac

Change-Id: Ic69119a55d70cf14c2e2c826a3e88d08f79ded31

7 years agoMerge "optimizing: do not illegally remove constructor barriers after inlining" am...
Igor Murashkin [Tue, 11 Apr 2017 19:01:28 +0000 (19:01 +0000)]
Merge "optimizing: do not illegally remove constructor barriers after inlining" am: e2dfd30e75
am: efe9943c95

Change-Id: I84f1b39bb227fff762e209c701460ee001ac0cfd

7 years agoMerge "optimizing: do not illegally remove constructor barriers after inlining"
Igor Murashkin [Tue, 11 Apr 2017 18:56:27 +0000 (18:56 +0000)]
Merge "optimizing: do not illegally remove constructor barriers after inlining"
am: e2dfd30e75

Change-Id: Ic49da46f43af4636f6e9552e84ab9eaff2c0387e

7 years agoMerge "optimizing: do not illegally remove constructor barriers after inlining"
Igor Murashkin [Tue, 11 Apr 2017 18:39:59 +0000 (18:39 +0000)]
Merge "optimizing: do not illegally remove constructor barriers after inlining"

7 years agoMerge "target_config: add art-test-javac target" am: 07f8d8619f am: 07a6f47577
Igor Murashkin [Tue, 11 Apr 2017 18:34:39 +0000 (18:34 +0000)]
Merge "target_config: add art-test-javac target" am: 07f8d8619f am: 07a6f47577
am: 61b13030b3

Change-Id: Idc202e04a3455fd25a7444c2110e0cf83c06fd0b

7 years agoMerge "target_config: add art-test-javac target" am: 07f8d8619f
Igor Murashkin [Tue, 11 Apr 2017 18:30:03 +0000 (18:30 +0000)]
Merge "target_config: add art-test-javac target" am: 07f8d8619f
am: 07a6f47577

Change-Id: I93794e8b869423f3aac54baa83c7571f2fc0559f

7 years agoMerge "target_config: add art-test-javac target"
Igor Murashkin [Tue, 11 Apr 2017 18:25:34 +0000 (18:25 +0000)]
Merge "target_config: add art-test-javac target"
am: 07f8d8619f

Change-Id: I97cbcfa5a545a619a11468893680192bffbd6d63

7 years agoMerge "target_config: add art-test-javac target"
Igor Murashkin [Tue, 11 Apr 2017 18:03:36 +0000 (18:03 +0000)]
Merge "target_config: add art-test-javac target"

7 years agoFix bug in vectorization of charAt, with regression test
Aart Bik [Tue, 11 Apr 2017 17:15:44 +0000 (10:15 -0700)]
Fix bug in vectorization of charAt, with regression test

Rationale:
String array get instruction cannot be vectorized
in a straightforward way, since compression has
to be dealt with. So rejected for now.

Test: test-art-target, test-art-host
Bug: 37151445
Change-Id: I16112cb8b1be30babd8ec07af5976db0369f8c28

7 years agoMerge "Don't add Jack dependencies when building without Jack" am: 26c25d5da3 am...
Colin Cross [Tue, 11 Apr 2017 17:41:10 +0000 (17:41 +0000)]
Merge "Don't add Jack dependencies when building without Jack" am: 26c25d5da3 am: 04fc51c2a6
am: c2c033a774

Change-Id: I83904aeb523461c92acc382a14f788320c3d39a1

7 years agoMerge "Don't add Jack dependencies when building without Jack" am: 26c25d5da3
Colin Cross [Tue, 11 Apr 2017 17:17:49 +0000 (17:17 +0000)]
Merge "Don't add Jack dependencies when building without Jack" am: 26c25d5da3
am: 04fc51c2a6

Change-Id: I02d672b7962ac4eb80adcedc1452e855c7f10fcd

7 years agoDon't add Jack dependencies when building without Jack
Colin Cross [Tue, 11 Apr 2017 02:04:59 +0000 (19:04 -0700)]
Don't add Jack dependencies when building without Jack

Runtests add dependencies on the core library classes.jack files,
which don't exist when compiling with javac.  Disable the dependencies
when building without Jack for now.

Bug: 36902714
Test: m -j ANDROID_COMPILE_WITH_JACK=false tests
Change-Id: I40925c8c8536cc048e7308e6202db420154a18aa
(cherry picked from commit b6f707cb725db79bdcd6a1d160f11d2be60f9bf0)

7 years agoMerge "Don't add Jack dependencies when building without Jack"
Colin Cross [Tue, 11 Apr 2017 17:03:50 +0000 (17:03 +0000)]
Merge "Don't add Jack dependencies when building without Jack"
am: 26c25d5da3

Change-Id: I2ef38baafee936395c9177f9f11f8361ff61c8ba

7 years agoMerge "Don't add Jack dependencies when building without Jack"
Colin Cross [Tue, 11 Apr 2017 16:39:19 +0000 (16:39 +0000)]
Merge "Don't add Jack dependencies when building without Jack"

7 years agoDon't add Jack dependencies when building without Jack
Colin Cross [Tue, 11 Apr 2017 02:04:59 +0000 (19:04 -0700)]
Don't add Jack dependencies when building without Jack

Runtests add dependencies on the core library classes.jack files,
which don't exist when compiling with javac.  Disable the dependencies
when building without Jack for now.

Test: m -j ANDROID_COMPILE_WITH_JACK=false tests
Change-Id: I40925c8c8536cc048e7308e6202db420154a18aa

7 years agoMerge "Add checker part of test, fix intrinsic copying" am: 921c5f9479 am: 0d35af0878
Aart Bik [Tue, 11 Apr 2017 16:14:23 +0000 (16:14 +0000)]
Merge "Add checker part of test, fix intrinsic copying" am: 921c5f9479 am: 0d35af0878
am: 249477035c

Change-Id: Ief513df80a1b92b62b31aa598d1d46b4e70d266c

7 years agoMerge "Remove some obsolete TODO comments." am: 92f22d9300 am: 7554a0d8d3
Alex Light [Tue, 11 Apr 2017 16:11:16 +0000 (16:11 +0000)]
Merge "Remove some obsolete TODO comments." am: 92f22d9300 am: 7554a0d8d3
am: f6cebc8cac

Change-Id: Ia93d96137ea15d4a617d29aa1f3b7e12b8ce8b30

7 years agoMerge "ART: Expose jni_binder's FindClass" am: bcdc7fe7ff am: fdd150979a
Andreas Gampe [Tue, 11 Apr 2017 16:09:59 +0000 (16:09 +0000)]
Merge "ART: Expose jni_binder's FindClass" am: bcdc7fe7ff am: fdd150979a
am: 44fb15a04c

Change-Id: Ib044e7eeb1f62e5cb98bfe6a5ec392c3f2ffbdd0

7 years agoMerge "Add checker part of test, fix intrinsic copying" am: 921c5f9479
Aart Bik [Tue, 11 Apr 2017 16:09:46 +0000 (16:09 +0000)]
Merge "Add checker part of test, fix intrinsic copying" am: 921c5f9479
am: 0d35af0878

Change-Id: Ifb8a29b9f2eee6ea0198e0d5e1d27fb092399abf

7 years agoMerge "Add checker part of test, fix intrinsic copying"
Aart Bik [Tue, 11 Apr 2017 16:04:46 +0000 (16:04 +0000)]
Merge "Add checker part of test, fix intrinsic copying"
am: 921c5f9479

Change-Id: I8a79599ac7e3ca15ea1818e51cac4d218c18297d

7 years agoMerge "Remove some obsolete TODO comments." am: 92f22d9300
Alex Light [Tue, 11 Apr 2017 16:01:18 +0000 (16:01 +0000)]
Merge "Remove some obsolete TODO comments." am: 92f22d9300
am: 7554a0d8d3

Change-Id: I2452dddb73db0b6551f87e21397932f9858fbd8f

7 years agoMerge "ART: Expose jni_binder's FindClass" am: bcdc7fe7ff
Andreas Gampe [Tue, 11 Apr 2017 15:59:59 +0000 (15:59 +0000)]
Merge "ART: Expose jni_binder's FindClass" am: bcdc7fe7ff
am: fdd150979a

Change-Id: Ic84e1b60086dc2916e1a29ff392c0bf10151cf68

7 years agoMerge "Add checker part of test, fix intrinsic copying"
Aart Bik [Tue, 11 Apr 2017 15:57:31 +0000 (15:57 +0000)]
Merge "Add checker part of test, fix intrinsic copying"

7 years agoMerge "Remove some obsolete TODO comments."
Alex Light [Tue, 11 Apr 2017 15:51:35 +0000 (15:51 +0000)]
Merge "Remove some obsolete TODO comments."
am: 92f22d9300

Change-Id: I60fa1ac045e4f5d0b653180ba1b10911117363e8

7 years agoMerge "ART: Expose jni_binder's FindClass"
Andreas Gampe [Tue, 11 Apr 2017 15:50:26 +0000 (15:50 +0000)]
Merge "ART: Expose jni_binder's FindClass"
am: bcdc7fe7ff

Change-Id: Ibf6e105d854880c36ae08d3c0b91696a4f2acf3e

7 years agoMerge "ART: Report array and proxy classes in ClassLoad & ClassPrepare" into oc-dev
Andreas Gampe [Tue, 11 Apr 2017 15:41:45 +0000 (15:41 +0000)]
Merge "ART: Report array and proxy classes in ClassLoad & ClassPrepare" into oc-dev
am: a259af4d8b

Change-Id: I43d801430596b8229786da82ffbd3721b72622a7

7 years agoMerge "Remove some obsolete TODO comments."
Treehugger Robot [Tue, 11 Apr 2017 15:41:29 +0000 (15:41 +0000)]
Merge "Remove some obsolete TODO comments."

7 years agoMerge "ART: Expose jni_binder's FindClass"
Treehugger Robot [Tue, 11 Apr 2017 15:40:59 +0000 (15:40 +0000)]
Merge "ART: Expose jni_binder's FindClass"

7 years agoMerge "ART: Report array and proxy classes in ClassLoad & ClassPrepare" into oc-dev
TreeHugger Robot [Tue, 11 Apr 2017 15:32:23 +0000 (15:32 +0000)]
Merge "ART: Report array and proxy classes in ClassLoad & ClassPrepare" into oc-dev

7 years agoAdd an 'art-preopt' test target configuration.
Richard Uhler [Tue, 11 Apr 2017 09:22:30 +0000 (10:22 +0100)]
Add an 'art-preopt' test target configuration.

To test the common case of running preopted apps, which are
precompiled pic against an unrelocated image then used with a
relocated image.

Bug: 33192586
Test: run_build_test_target.py art-preopt
Change-Id: Iababf267b90c63afa137f16a85c78a362de4626a

7 years agoMerge "ART: Package expected run-test results with jvmti Java library" am: 418fd60c4f...
Andreas Gampe [Tue, 11 Apr 2017 04:43:37 +0000 (04:43 +0000)]
Merge "ART: Package expected run-test results with jvmti Java library" am: 418fd60c4f am: 1fa5bec4b5
am: 3d78cfbdf7

Change-Id: I63b3a7e2abf654845c437bd3d0532256edb617ce

7 years agoMerge "ART: Package expected run-test results with jvmti Java library" am: 418fd60c4f
Andreas Gampe [Tue, 11 Apr 2017 04:38:36 +0000 (04:38 +0000)]
Merge "ART: Package expected run-test results with jvmti Java library" am: 418fd60c4f
am: 1fa5bec4b5

Change-Id: I98ffb8501c4e3e44aeee75ccc6911d377774ad54

7 years agoMerge "ART: Package expected run-test results with jvmti Java library"
Andreas Gampe [Tue, 11 Apr 2017 04:33:37 +0000 (04:33 +0000)]
Merge "ART: Package expected run-test results with jvmti Java library"
am: 418fd60c4f

Change-Id: I30b284d34a4b3c096c66e0eb8d804ef2d02d7100

7 years agoMerge "ART: Package expected run-test results with jvmti Java library"
Treehugger Robot [Tue, 11 Apr 2017 04:24:20 +0000 (04:24 +0000)]
Merge "ART: Package expected run-test results with jvmti Java library"

7 years agoART: Expose jni_binder's FindClass
Andreas Gampe [Tue, 11 Apr 2017 04:09:13 +0000 (21:09 -0700)]
ART: Expose jni_binder's FindClass

Required for the CTS agent.

Bug: 32072923
Test: m test-art-host
Change-Id: I37764b0646fdb0df7ec9dd544d1dffdc909e269b

7 years agoART: Package expected run-test results with jvmti Java library
Andreas Gampe [Mon, 10 Apr 2017 17:41:26 +0000 (10:41 -0700)]
ART: Package expected run-test results with jvmti Java library

Include the JVMTI Java library Makefile to make it buildable.

Include expected.txt files in the form of results.{NR}.expected.txt.
This is the best we can do with the current restrictions of
LOCAL_JAVA_RESOURCE_DIRS/FILES.

Bug: 32072923
Test: mmma art
Change-Id: Ie96ef38b50d523b9d3e31978216e9ec6d8c955f5

7 years agoAdd checker part of test, fix intrinsic copying
Aart Bik [Mon, 10 Apr 2017 20:15:57 +0000 (13:15 -0700)]
Add checker part of test, fix intrinsic copying

Rationale:
I forgot to add the check test part of this test,
and incidentally found an omission: intrinsic
information should be set in the scalar loop
(to get best code there too, not just a lib call).

Test: test-art-host, test-art-target
Change-Id: I94aa4cdf042f72690d10efee3a9dc7c476d5c5e0

7 years agoMerge "Revert "Avoid JNI usage error when JNI_OnLoad throws"" am: 8aaa601d88 am:...
Igor Murashkin [Mon, 10 Apr 2017 22:28:14 +0000 (22:28 +0000)]
Merge "Revert "Avoid JNI usage error when JNI_OnLoad throws"" am: 8aaa601d88 am: 6b5706864c
am: 45c3850dcc

Change-Id: If1229fb74e3e3d0e20ba2466dc128dfa48de2566

7 years agoMerge "Revert "Avoid JNI usage error when JNI_OnLoad throws"" am: 8aaa601d88
Igor Murashkin [Mon, 10 Apr 2017 22:19:12 +0000 (22:19 +0000)]
Merge "Revert "Avoid JNI usage error when JNI_OnLoad throws"" am: 8aaa601d88
am: 6b5706864c

Change-Id: I18434ab57b67cf1ff57df292c3797140ff331eb1

7 years agoMerge "Revert "Avoid JNI usage error when JNI_OnLoad throws""
Igor Murashkin [Mon, 10 Apr 2017 22:14:42 +0000 (22:14 +0000)]
Merge "Revert "Avoid JNI usage error when JNI_OnLoad throws""
am: 8aaa601d88

Change-Id: I5aefad618a6c3beda429a26b1ffe644ff3914fe5

7 years agoMerge "Revert "Avoid JNI usage error when JNI_OnLoad throws""
Treehugger Robot [Mon, 10 Apr 2017 22:05:24 +0000 (22:05 +0000)]
Merge "Revert "Avoid JNI usage error when JNI_OnLoad throws""

7 years agooptimizing: do not illegally remove constructor barriers after inlining
Igor Murashkin [Thu, 6 Apr 2017 21:40:08 +0000 (14:40 -0700)]
optimizing: do not illegally remove constructor barriers after inlining

Remove the illegal optimization that destroyed constructor barriers
after inlining invoke-super constructor calls.

---

According to JLS 7.5.1,

"Note that if one constructor invokes another constructor, and the
invoked constructor sets a final field, the freeze for the final field
takes place at the end of the invoked constructor."

This means if an object is published (stored to a location potentially
visible to another thread) inside of an outer constructor, all final
field stores from any inner constructors must be visible to other
threads.

Test: art/test.py
Bug: 37001605
Change-Id: I3b55f6c628ff1773dab88022a6475d50a1a6f906

7 years agoRevert "Avoid JNI usage error when JNI_OnLoad throws"
Igor Murashkin [Mon, 10 Apr 2017 20:34:29 +0000 (20:34 +0000)]
Revert "Avoid JNI usage error when JNI_OnLoad throws"

This reverts commit d111f90a386f7bad1474189390fce7a8d1ff1ab5.

Change-Id: Ia8461946088644e41e0f2e14d7e806a70dec41ab

7 years agotarget_config: add art-test-javac target
Igor Murashkin [Mon, 10 Apr 2017 20:13:55 +0000 (13:13 -0700)]
target_config: add art-test-javac target

Effectively runs the same commands as:
  ANDROID_COMPILE_WITH_JACK=false make test-art-host

This builds libcore/art with javac/dx/desugar, then runs the gtests
and run-tests for it.

(It does not yet fix run-test to use javac everywhere. That will be a
follow-up change).

Bug: 36902714
Change-Id: Ibd226efcfe78c795474f98d69f513648cff5351a

7 years agoMerge "testrunner/env.py - Run from any directory" am: 7f734d414a am: 892273ad3b
Igor Murashkin [Mon, 10 Apr 2017 19:56:33 +0000 (19:56 +0000)]
Merge "testrunner/env.py - Run from any directory" am: 7f734d414a am: 892273ad3b
am: 31b4742cf6

Change-Id: Ibda78af76e59021bff61f06ca331c454e9454b3c

7 years agoMerge "testrunner/env.py - Run from any directory" am: 7f734d414a
Igor Murashkin [Mon, 10 Apr 2017 19:52:33 +0000 (19:52 +0000)]
Merge "testrunner/env.py - Run from any directory" am: 7f734d414a
am: 892273ad3b

Change-Id: I68c1402fdeb08176e3f33eeb6598e5784306cbbb

7 years agoMerge "testrunner/env.py - Run from any directory"
Igor Murashkin [Mon, 10 Apr 2017 19:48:00 +0000 (19:48 +0000)]
Merge "testrunner/env.py - Run from any directory"
am: 7f734d414a

Change-Id: I038bc5612dec6a0b30f713dfbf8109bcb934df49

7 years agoMerge "testrunner/env.py - Run from any directory"
Treehugger Robot [Mon, 10 Apr 2017 19:05:18 +0000 (19:05 +0000)]
Merge "testrunner/env.py - Run from any directory"

7 years agoMerge "Avoid JNI usage error when JNI_OnLoad throws" am: 8827cec419 am: 367d08eaf2
Daniel Colascione [Mon, 10 Apr 2017 18:07:03 +0000 (18:07 +0000)]
Merge "Avoid JNI usage error when JNI_OnLoad throws" am: 8827cec419 am: 367d08eaf2
am: 72addd098f

Change-Id: I4c05ab43b0c56d9ecc1a28d80d7d1985b9f7edd0

7 years agoMerge "Avoid JNI usage error when JNI_OnLoad throws" am: 8827cec419
Daniel Colascione [Mon, 10 Apr 2017 18:03:03 +0000 (18:03 +0000)]
Merge "Avoid JNI usage error when JNI_OnLoad throws" am: 8827cec419
am: 367d08eaf2

Change-Id: I45be197886591a4a6dd0f1b0cfb6e92fc3105bfd