OSDN Git Service

android-x86/art.git
7 years agoMerge changes I5b05e23a,I9350b250,I1d66b42a am: 393a1fd02f
Alex Light [Sat, 15 Apr 2017 02:31:44 +0000 (02:31 +0000)]
Merge changes I5b05e23a,I9350b250,I1d66b42a am: 393a1fd02f
am: c622290608

Change-Id: Iaa537fab4e4aebd274276975c86a27149df2fca2

7 years agoMerge changes I5b05e23a,I9350b250,I1d66b42a
Alex Light [Sat, 15 Apr 2017 02:29:15 +0000 (02:29 +0000)]
Merge changes I5b05e23a,I9350b250,I1d66b42a
am: 393a1fd02f

Change-Id: If6e778443603c658483cf94d73ff9bec9bd4297f

7 years agoMerge changes I5b05e23a,I9350b250,I1d66b42a
Alex Light [Sat, 15 Apr 2017 02:20:48 +0000 (02:20 +0000)]
Merge changes I5b05e23a,I9350b250,I1d66b42a

* changes:
  More refactor for JVMTI redefinition run tests (3/3)
  More refactor for JVMTI redefinition run tests (2/3)
  More refactor for JVMTI redefinition run tests (1/3)

7 years agoMerge "Add check that TypeIndex is valid in StringByTypeIdx." am: 1cda71a414
Jeff Hao [Sat, 15 Apr 2017 01:13:09 +0000 (01:13 +0000)]
Merge "Add check that TypeIndex is valid in StringByTypeIdx." am: 1cda71a414
am: c785a921b7

Change-Id: I7ec526079d2892a0692342769a499b86ec909ca3

7 years agoMerge "Add check that TypeIndex is valid in StringByTypeIdx."
Jeff Hao [Sat, 15 Apr 2017 01:11:09 +0000 (01:11 +0000)]
Merge "Add check that TypeIndex is valid in StringByTypeIdx."
am: 1cda71a414

Change-Id: I505a522a49d67bd0bc42b1b2df2731da818f8700

7 years agoMerge "Add check that TypeIndex is valid in StringByTypeIdx."
Treehugger Robot [Sat, 15 Apr 2017 01:03:50 +0000 (01:03 +0000)]
Merge "Add check that TypeIndex is valid in StringByTypeIdx."

7 years agoAdd check that TypeIndex is valid in StringByTypeIdx.
Jeff Hao [Fri, 14 Apr 2017 21:33:52 +0000 (14:33 -0700)]
Add check that TypeIndex is valid in StringByTypeIdx.

StringByTypeIdx should fail gracefully if given a bad TypeIndex. This
adds a check that the TypeIndex is valid before getting its TypeId.

This fixes a regression that removed this check when it was refactored
in this CL: https://android-review.googlesource.com/#/c/243493/

Bug: 37287051
Test: mm -j31 test-art-host-gtest-dex_file_test
Change-Id: Ib68cb8135011f5f30335251583e181b089982754

7 years agoMerge "Remove test skips associated with b/37240685" am: 452092b4c9
Alex Light [Fri, 14 Apr 2017 22:53:29 +0000 (22:53 +0000)]
Merge "Remove test skips associated with b/37240685" am: 452092b4c9
am: 3c79535742

Change-Id: Ib4f4c1dc47febde14a5868ed8b32c9f0fb7e54be

7 years agoMerge "Remove test skips associated with b/37240685"
Alex Light [Fri, 14 Apr 2017 22:50:59 +0000 (22:50 +0000)]
Merge "Remove test skips associated with b/37240685"
am: 452092b4c9

Change-Id: I91a4ac9f600e4cf6f648f816bce68a002b55c17d

7 years agoMerge "Remove test skips associated with b/37240685"
Treehugger Robot [Fri, 14 Apr 2017 22:47:55 +0000 (22:47 +0000)]
Merge "Remove test skips associated with b/37240685"

7 years agoMore refactor for JVMTI redefinition run tests (3/3)
Alex Light [Fri, 14 Apr 2017 20:22:22 +0000 (13:22 -0700)]
More refactor for JVMTI redefinition run tests (3/3)

This adds in the Main.java files for the modified tests.

By doing the 3 CLs we keep git from getting confused about the history
of the files.

Bug: 32072923
Test: ./test.py --host -j40
Change-Id: I5b05e23aaf9e90101817ca01d1928a30f14cb7e5

7 years agoMore refactor for JVMTI redefinition run tests (2/3)
Alex Light [Fri, 14 Apr 2017 20:20:12 +0000 (13:20 -0700)]
More refactor for JVMTI redefinition run tests (2/3)

Move refactored tests into their final places.

NOTE: BROKEN WITHOUT A FOLLOW-UP CL TO ADD NEW MAIN.JAVA FILES.
Bug: 32072923
Test: None
Change-Id: I9350b2505815c5d21816df4189482aee4868c91c

7 years agoMore refactor for JVMTI redefinition run tests (1/3)
Alex Light [Fri, 14 Apr 2017 20:17:26 +0000 (13:17 -0700)]
More refactor for JVMTI redefinition run tests (1/3)

Does as much as possible without making git get confused about the
provenance of files. Follow up CLs will move the files into the
appropriate places.

NOTE: BROKEN WITHOUT A FOLLOW-UP CL TO CHANGE FILE NAMES!

Bug: 32072923
Test: None
Change-Id: I1d66b42a5041d4ea1a0e8eaa61d55422a507e26f

7 years agoMerge "ART: Refactor run-test 913" am: 8d7f78d63b
Andreas Gampe [Fri, 14 Apr 2017 16:38:49 +0000 (16:38 +0000)]
Merge "ART: Refactor run-test 913" am: 8d7f78d63b
am: ba4f9af969

Change-Id: I72839080c763f819a62ea7f6c442666d41981906

7 years agoMerge "ART: Refactor run-test 913"
Andreas Gampe [Fri, 14 Apr 2017 16:32:20 +0000 (16:32 +0000)]
Merge "ART: Refactor run-test 913"
am: 8d7f78d63b

Change-Id: Ib122a0f2200efd554fadaeedef7eccff31e7cc99

7 years agoRemove test skips associated with b/37240685
Alex Light [Thu, 13 Apr 2017 17:49:45 +0000 (10:49 -0700)]
Remove test skips associated with b/37240685

It's been fixed.

Test: ./test.py --host --jvmti-stress -j40
Change-Id: Ic1bb74dc62a080f54f93cec6fd75d748a9941653

7 years agoMerge "ART: Refactor run-test 913"
Treehugger Robot [Fri, 14 Apr 2017 16:17:10 +0000 (16:17 +0000)]
Merge "ART: Refactor run-test 913"

7 years agoMerge "Disable 160-read-barrier-stress temporarily" am: c569d4a083
Sebastien Hertz [Fri, 14 Apr 2017 14:07:58 +0000 (14:07 +0000)]
Merge "Disable 160-read-barrier-stress temporarily" am: c569d4a083
am: ea3e8cf854

Change-Id: I0bf97227dc97827d2134d0590e002b5c4b15dc21

7 years agoMerge "Disable 160-read-barrier-stress temporarily"
Sebastien Hertz [Fri, 14 Apr 2017 14:00:28 +0000 (14:00 +0000)]
Merge "Disable 160-read-barrier-stress temporarily"
am: c569d4a083

Change-Id: I900f2fd97f03f384f47ccff44adc3f06fc41f113

7 years agoMerge "Disable 160-read-barrier-stress temporarily"
Treehugger Robot [Fri, 14 Apr 2017 13:51:03 +0000 (13:51 +0000)]
Merge "Disable 160-read-barrier-stress temporarily"

7 years agoDisable 160-read-barrier-stress temporarily
Sebastien Hertz [Fri, 14 Apr 2017 10:16:06 +0000 (12:16 +0200)]
Disable 160-read-barrier-stress temporarily

This test is causing an OOME with Jack compiler. This CL disables it
temporarily until we find a fix.

Bug: 37335480
Test: make -j test-art-host-run-test
Change-Id: I580fc99fbec0b0c94c25256fe20b957e07106205

7 years agoART: Refactor run-test 913
Andreas Gampe [Thu, 13 Apr 2017 23:52:23 +0000 (16:52 -0700)]
ART: Refactor run-test 913

Remove references to ART. Filter roots from the JIT. Canonicalize
some thread IDs. Move the test to its own thread, and filter
stack-locals of other threads.

These changes ensure that the test is less dependent on the main
thread and its environment, which is required to use it in CTS.

Also fix a reporting issue for roots.

Bug: 32072923
Test: art/test/testrunner/testrunner.py --host -t 913
Change-Id: I8480ba7751fb6420c256db87cba11b8a65e25ea5

7 years agoMerge "ART: Use _exit in dex2oat" am: c1be9f2b77
Andreas Gampe [Fri, 14 Apr 2017 00:24:37 +0000 (00:24 +0000)]
Merge "ART: Use _exit in dex2oat" am: c1be9f2b77
am: 6a5c97d57c

Change-Id: Ifc377805076b9c21752c112f5f9bfbe3a3812ef7

7 years agoMerge "ART: Use _exit in dex2oat"
Andreas Gampe [Fri, 14 Apr 2017 00:18:05 +0000 (00:18 +0000)]
Merge "ART: Use _exit in dex2oat"
am: c1be9f2b77

Change-Id: Icc4c5f98014866ffda5b513feb5ce40e4f43c52c

7 years agoMerge "Remove native printing from test 980 and reliance on print internals" am:...
Alex Light [Fri, 14 Apr 2017 00:12:05 +0000 (00:12 +0000)]
Merge "Remove native printing from test 980 and reliance on print internals" am: 9fdafe8fe4
am: 6822061aad

Change-Id: I5bbd8c5fc5bfdf837fc466364475942b3dd897d0

7 years agoMerge "ART: Use _exit in dex2oat"
Treehugger Robot [Fri, 14 Apr 2017 00:10:36 +0000 (00:10 +0000)]
Merge "ART: Use _exit in dex2oat"

7 years agoMerge "Remove native printing from test 980 and reliance on print internals"
Alex Light [Fri, 14 Apr 2017 00:06:37 +0000 (00:06 +0000)]
Merge "Remove native printing from test 980 and reliance on print internals"
am: 9fdafe8fe4

Change-Id: I2efab79eb983dae090de59d792ec875221d0fbec

7 years agoMerge "Remove native printing from test 980 and reliance on print internals"
Treehugger Robot [Thu, 13 Apr 2017 23:54:34 +0000 (23:54 +0000)]
Merge "Remove native printing from test 980 and reliance on print internals"

7 years agoMerge "Add check that map offset is sane to DexFile object init." am: d58d0841b4
Jeff Hao [Thu, 13 Apr 2017 23:32:30 +0000 (23:32 +0000)]
Merge "Add check that map offset is sane to DexFile object init." am: d58d0841b4
am: 6e0f98260f

Change-Id: Iaff347a3f576f4bab5a4b2c6fa96755437f76eda

7 years agoMerge "Various debug ART GC performance improvements" am: 704f16f786
Mathieu Chartier [Thu, 13 Apr 2017 23:32:16 +0000 (23:32 +0000)]
Merge "Various debug ART GC performance improvements" am: 704f16f786
am: dc34c51eac

Change-Id: Ib8ef6f17fe0d93d61a661571ef002dfc7b7c5dfb

7 years agoMerge "Add check that dexlayout can open output file." am: 52e3e57488
Jeff Hao [Thu, 13 Apr 2017 23:32:03 +0000 (23:32 +0000)]
Merge "Add check that dexlayout can open output file." am: 52e3e57488
am: 72894e08de

Change-Id: I4b703816c44b5e086be1313c823ebd4a5dea9119

7 years agoMerge "Add check that map offset is sane to DexFile object init."
Jeff Hao [Thu, 13 Apr 2017 23:26:33 +0000 (23:26 +0000)]
Merge "Add check that map offset is sane to DexFile object init."
am: d58d0841b4

Change-Id: I233766259a0dcecbe497e6a34e733066fdbd41d7

7 years agoMerge "Various debug ART GC performance improvements"
Mathieu Chartier [Thu, 13 Apr 2017 23:26:16 +0000 (23:26 +0000)]
Merge "Various debug ART GC performance improvements"
am: 704f16f786

Change-Id: If496b54ff9dc9c487c10d3947ad75a603aa967ec

7 years agoMerge "Add check that dexlayout can open output file."
Jeff Hao [Thu, 13 Apr 2017 23:26:02 +0000 (23:26 +0000)]
Merge "Add check that dexlayout can open output file."
am: 52e3e57488

Change-Id: I7e40bcd7b6fb3603d426f2d14cd467c05d47a6c5

7 years agoMerge "Add check that map offset is sane to DexFile object init."
Treehugger Robot [Thu, 13 Apr 2017 23:24:21 +0000 (23:24 +0000)]
Merge "Add check that map offset is sane to DexFile object init."

7 years agoMerge "Various debug ART GC performance improvements"
Mathieu Chartier [Thu, 13 Apr 2017 23:21:54 +0000 (23:21 +0000)]
Merge "Various debug ART GC performance improvements"

7 years agoMerge "Add check that dexlayout can open output file."
Treehugger Robot [Thu, 13 Apr 2017 23:16:11 +0000 (23:16 +0000)]
Merge "Add check that dexlayout can open output file."

7 years agoRemove native printing from test 980 and reliance on print internals
Alex Light [Thu, 13 Apr 2017 19:58:06 +0000 (12:58 -0700)]
Remove native printing from test 980 and reliance on print internals

In preparation for a making a CTS test out of this make the test not
rely on internal allocation patterns of the 'System.out' object and
not make use of std::cout.

Test: ./test.py --host -j40
Change-Id: Ib7e874aaec71f93e834cf94ac5fe96663536691a

7 years agoAdd check that map offset is sane to DexFile object init.
Jeff Hao [Thu, 13 Apr 2017 21:36:29 +0000 (14:36 -0700)]
Add check that map offset is sane to DexFile object init.

The DexFile constructor calls InitializeSectionsFromMapList, which
uses the header's map_offset before any checks are done on the file.

Bug: 37235346
Test: mm test-art-host-gtest-dex_file_test
Change-Id: I4fb8fcb57f9ef7e0182965b7ce663424b953abcb

7 years agoVarious debug ART GC performance improvements
Mathieu Chartier [Thu, 13 Apr 2017 18:47:53 +0000 (11:47 -0700)]
Various debug ART GC performance improvements

Removed unnecessary read barriers in SizeOf and a few other places.
Disabled disallow read barrier check.

Before:
GC time: 15.817s
Real 0m26.113s
user  1m16.780s
sys 0m3.152s

After:
GC time: 9.212s
real  0m19.875s
user  1m9.916s
sys 0m1.916s

Bug: 35644369
Test: test-art-host

Change-Id: I79a65259deff2a478a96e02ae69b14730b6dcbe6

7 years agoMerge changes from topic 'art_run_test_910_cts' am: e008fd53bf
Andreas Gampe [Thu, 13 Apr 2017 20:09:14 +0000 (20:09 +0000)]
Merge changes from topic 'art_run_test_910_cts' am: e008fd53bf
am: ef7a3b41e4

Change-Id: Ied27d9aa719d693554e1c66fba7ae70437c7996a

7 years agoART: Fix GetArgumentsSize am: e1f79b62f3
Andreas Gampe [Thu, 13 Apr 2017 20:09:01 +0000 (20:09 +0000)]
ART: Fix GetArgumentsSize am: e1f79b62f3
am: 31caad4b1c

Change-Id: I2712d89119cba44d73acb4b2cfc3237c9642dac0

7 years agoMerge changes from topic 'art_run_test_910_cts'
Andreas Gampe [Thu, 13 Apr 2017 20:03:55 +0000 (20:03 +0000)]
Merge changes from topic 'art_run_test_910_cts'
am: e008fd53bf

Change-Id: Icdd80aeb36f47eb1b89b2e067f4ae8edbe517954

7 years agoART: Fix GetArgumentsSize
Andreas Gampe [Thu, 13 Apr 2017 20:03:44 +0000 (20:03 +0000)]
ART: Fix GetArgumentsSize
am: e1f79b62f3

Change-Id: Ifde959b97aefb64cac865aec5764f0a91251c066

7 years agoMerge changes from topic 'art_run_test_910_cts'
Treehugger Robot [Thu, 13 Apr 2017 19:55:19 +0000 (19:55 +0000)]
Merge changes from topic 'art_run_test_910_cts'

* changes:
  ART: Refactor run-test 910
  ART: Fix GetArgumentsSize

7 years agoMerge "MIPS32: java.lang.System.arraycopy() for copying char[] to char[]." am: 99fde3c929
Chris Larsen [Thu, 13 Apr 2017 19:45:46 +0000 (19:45 +0000)]
Merge "MIPS32: java.lang.System.arraycopy() for copying char[] to char[]." am: 99fde3c929
am: 215a684d4e

Change-Id: I1f69828c33997b50e385241514be6427cb641b7d

7 years agoMerge "MIPS32: java.lang.System.arraycopy() for copying char[] to char[]."
Chris Larsen [Thu, 13 Apr 2017 19:39:16 +0000 (19:39 +0000)]
Merge "MIPS32: java.lang.System.arraycopy() for copying char[] to char[]."
am: 99fde3c929

Change-Id: I3d42028292f9b1f46de5f23ac5b6ca5fac94afda

7 years agoMerge "MIPS32: java.lang.System.arraycopy() for copying char[] to char[]."
Treehugger Robot [Thu, 13 Apr 2017 19:31:02 +0000 (19:31 +0000)]
Merge "MIPS32: java.lang.System.arraycopy() for copying char[] to char[]."

7 years agoART: Use _exit in dex2oat
Andreas Gampe [Thu, 13 Apr 2017 19:20:42 +0000 (12:20 -0700)]
ART: Use _exit in dex2oat

That's what we really wanted to call. Seems to save about 50ms when
compiling something small-ish (out of .8s wall-clock time).

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

7 years agoMerge "ART: Refactor run-test 904" am: c830101281
Andreas Gampe [Thu, 13 Apr 2017 17:33:17 +0000 (17:33 +0000)]
Merge "ART: Refactor run-test 904" am: c830101281
am: 5d527ceccf

Change-Id: Ia9e4b26e1d243f006ac181c8e75233305f2444d8

7 years agoART: Refactor run-test 910
Andreas Gampe [Thu, 13 Apr 2017 03:49:38 +0000 (20:49 -0700)]
ART: Refactor run-test 910

Ensure a stable name for the proxy to be tested.

Bug: 32072923
Test: art/test/testrunner/testrunner.py --host -t 910
Change-Id: I34aedcdfae55f0bd0563d8aff0b8a8fdeb08de99

7 years agoMerge "ART: Refactor run-test 904"
Andreas Gampe [Thu, 13 Apr 2017 17:27:48 +0000 (17:27 +0000)]
Merge "ART: Refactor run-test 904"
am: c830101281

Change-Id: I9e83dfff67e43a657b14e1a2ad15cf1c8c2b8074

7 years agoART: Fix GetArgumentsSize
Andreas Gampe [Thu, 13 Apr 2017 04:11:28 +0000 (21:11 -0700)]
ART: Fix GetArgumentsSize

Fix the copy-paste mistake in GetArgumentsSize for abstract and
proxy methods. Use the usual computation derived from the shorty.

Bug: 34163329
Test: art/test/testrunner/testrunner.py --host -t 910
Change-Id: I71eaab70063303bea8eaa391ea067ebf8027820f

7 years agoAdd check that dexlayout can open output file.
Jeff Hao [Wed, 12 Apr 2017 23:14:54 +0000 (16:14 -0700)]
Add check that dexlayout can open output file.

Test: mm test-art-host
Change-Id: I49b37b3e3696c8c002e22533c2e86e47a0e13e51

7 years agoMerge "ART: Refactor run-test 904"
Treehugger Robot [Thu, 13 Apr 2017 17:16:12 +0000 (17:16 +0000)]
Merge "ART: Refactor run-test 904"

7 years agoMerge "Add OAT file mapping to dexdiag" am: ce121a5fe3
David Sehr [Thu, 13 Apr 2017 16:54:02 +0000 (16:54 +0000)]
Merge "Add OAT file mapping to dexdiag" am: ce121a5fe3
am: bd142395cd

Change-Id: Ib8d74e986936e095db1de324d4ef3fca30e963ed

7 years agoMerge "Add OAT file mapping to dexdiag"
David Sehr [Thu, 13 Apr 2017 16:48:31 +0000 (16:48 +0000)]
Merge "Add OAT file mapping to dexdiag"
am: ce121a5fe3

Change-Id: If3ca8d2b0e419158ac362e0eeebc81a06907edf8

7 years agoMerge "Add OAT file mapping to dexdiag"
David Sehr [Thu, 13 Apr 2017 16:39:30 +0000 (16:39 +0000)]
Merge "Add OAT file mapping to dexdiag"

7 years agoMIPS32: java.lang.System.arraycopy() for copying char[] to char[].
Chris Larsen [Thu, 23 Mar 2017 22:37:03 +0000 (15:37 -0700)]
MIPS32: java.lang.System.arraycopy() for copying char[] to char[].

Test: run-test --no-prebuild --optimizing 011-array-copy
Test: run-test --no-prebuild 011-array-copy
Test: run-test --optimizing 011-array-copy
Test: run-test 011-array-copy
Test: mma -j2 ART_TEST_OPTIMIZING=true test-art-target-run-test
Test: booted MIPS32R2 emulator.

Note: Tested against both the MIPS32R2, and MIPS64R6 emulators.

Change-Id: I0fc59fe8a242692b52cf8e8413d28397e210bb65

7 years agoMerge "ARM/VIXL: Fix TypeConversion of large long constants to int." am: 111eefd043
Vladimir Marko [Thu, 13 Apr 2017 14:54:23 +0000 (14:54 +0000)]
Merge "ARM/VIXL: Fix TypeConversion of large long constants to int." am: 111eefd043
am: 9eaaacba7f

Change-Id: I0744d5236ac29a46dd32e8df65543723cca24342

7 years agoMerge "ARM/VIXL: Fix TypeConversion of large long constants to int."
Vladimir Marko [Thu, 13 Apr 2017 14:47:54 +0000 (14:47 +0000)]
Merge "ARM/VIXL: Fix TypeConversion of large long constants to int."
am: 111eefd043

Change-Id: Id496f2ec632d01fcab74381d6e9f95978e9bccad

7 years agoMerge "ARM/VIXL: Fix TypeConversion of large long constants to int."
Treehugger Robot [Thu, 13 Apr 2017 14:38:54 +0000 (14:38 +0000)]
Merge "ARM/VIXL: Fix TypeConversion of large long constants to int."

7 years agoMerge "ARM64: Use link-time generated thunks for Baker CC read barrier." am: 7b331261c6
Vladimir Marko [Thu, 13 Apr 2017 13:06:17 +0000 (13:06 +0000)]
Merge "ARM64: Use link-time generated thunks for Baker CC read barrier." am: 7b331261c6
am: e352a58ddf

Change-Id: I9734b64c7aab41d8c23145a0063cb3f13998e02d

7 years agoMerge "ARM64: Use link-time generated thunks for Baker CC read barrier."
Vladimir Marko [Thu, 13 Apr 2017 13:00:18 +0000 (13:00 +0000)]
Merge "ARM64: Use link-time generated thunks for Baker CC read barrier."
am: 7b331261c6

Change-Id: Ieffd957bcc858ae2b4793972bebaa8e516628cc9

7 years agoARM/VIXL: Fix TypeConversion of large long constants to int.
Vladimir Marko [Thu, 13 Apr 2017 10:50:14 +0000 (11:50 +0100)]
ARM/VIXL: Fix TypeConversion of large long constants to int.

The ARM VIXL backend was using Int32ConstantFrom() to get
the value of a HLongConstant for TypeConversion to int.
That function has DCHECK()s that the constant fits into a
32-bit int which is bogus in this particular case.

This was out of sync with the old ARM backend, so bring the
two in sync by using the approach from the old backend.

Bug: 37236345
Test: 646-checker-lon-const-to-int
Change-Id: I675ebd7bbaa14d5dfc3f280f62867d342cbab683

7 years agoMerge "ARM64: Use link-time generated thunks for Baker CC read barrier."
Vladimir Marko [Thu, 13 Apr 2017 12:54:22 +0000 (12:54 +0000)]
Merge "ARM64: Use link-time generated thunks for Baker CC read barrier."

7 years agoMerge "MIPS32: Add direct calls to math intrinsics." am: b1a52116a1
Chris Larsen [Thu, 13 Apr 2017 11:38:11 +0000 (11:38 +0000)]
Merge "MIPS32: Add direct calls to math intrinsics." am: b1a52116a1
am: 84767eaf5b

Change-Id: Ic0c52af698950b1d7aa8867cefaf601616408f72

7 years agoMerge "MIPS32: Add direct calls to math intrinsics."
Chris Larsen [Thu, 13 Apr 2017 11:32:10 +0000 (11:32 +0000)]
Merge "MIPS32: Add direct calls to math intrinsics."
am: b1a52116a1

Change-Id: I552cccd7a5d14906ea36bac92a4e50fd2cc26c31

7 years agoMerge "MIPS32: Add direct calls to math intrinsics."
Treehugger Robot [Thu, 13 Apr 2017 11:17:06 +0000 (11:17 +0000)]
Merge "MIPS32: Add direct calls to math intrinsics."

7 years agoMerge "ART: Fix test dependencies" am: 89d4248320
Andreas Gampe [Thu, 13 Apr 2017 05:10:46 +0000 (05:10 +0000)]
Merge "ART: Fix test dependencies" am: 89d4248320
am: 56d9699c16

Change-Id: I6a16b94a2724508b483f2ea9a90496f9bae0bd55

7 years agoMerge "ART: Fix test dependencies"
Andreas Gampe [Thu, 13 Apr 2017 05:04:47 +0000 (05:04 +0000)]
Merge "ART: Fix test dependencies"
am: 89d4248320

Change-Id: I6531b55648c269907c8f8824464f2e9ce8c338aa

7 years agoMerge "ART: Fix test dependencies"
Andreas Gampe [Thu, 13 Apr 2017 04:58:19 +0000 (04:58 +0000)]
Merge "ART: Fix test dependencies"

7 years agoART: Fix test dependencies
Andreas Gampe [Thu, 13 Apr 2017 04:53:55 +0000 (21:53 -0700)]
ART: Fix test dependencies

Follow-up to commit 8f2c6d479aeda3165c4f54c1076ec7ac335fccc7.

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

7 years agoART: Refactor run-test 904
Andreas Gampe [Thu, 13 Apr 2017 02:06:12 +0000 (19:06 -0700)]
ART: Refactor run-test 904

Refactor run-test so it does not depend on printf output. That way
we can run it in CTS.

Bug: 32072923
Test: art/test/testrunner/testrunner.py -b --host -t 904
Change-Id: Ia0d2e01dba4f46b81e78c88d9c50aafbc69f679e

7 years agoMerge changes I49c02b92,I898e5cff am: 687fb792b2
Alex Light [Thu, 13 Apr 2017 01:47:01 +0000 (01:47 +0000)]
Merge changes I49c02b92,I898e5cff am: 687fb792b2
am: 1c62c55ae8

Change-Id: I1fc26d638da7539cabfb11aa35093d93e27116bf

7 years agoMerge changes I49c02b92,I898e5cff
Alex Light [Thu, 13 Apr 2017 01:41:02 +0000 (01:41 +0000)]
Merge changes I49c02b92,I898e5cff
am: 687fb792b2

Change-Id: I78f5b77dead1dfd24582a232187d95fd0addf041

7 years agoMerge changes I49c02b92,I898e5cff
Treehugger Robot [Thu, 13 Apr 2017 01:32:51 +0000 (01:32 +0000)]
Merge changes I49c02b92,I898e5cff

* changes:
  Ensure one can call DisposeEnvironment during event callbacks.
  run-tests with jvmti-stress configuration

7 years agoEnsure one can call DisposeEnvironment during event callbacks.
Alex Light [Wed, 12 Apr 2017 23:13:33 +0000 (16:13 -0700)]
Ensure one can call DisposeEnvironment during event callbacks.

Previously calling DisposeEnvironment during an event callback would
cause a currently in-use iterator to be invalidated. This could cause
undefined behavior.

Bug: 37283252
Test: ./test/testrunner/testrunner.py --host --jvmti-stress -j40
Change-Id: I49c02b925f0da5d4f66965f0fca21bf8dc83132a

7 years agorun-tests with jvmti-stress configuration
Alex Light [Mon, 10 Apr 2017 23:27:35 +0000 (16:27 -0700)]
run-tests with jvmti-stress configuration

Adds a jvmti-stress mode to our run-tests. This mode runs our test
suite with every class-load being intercepted and undergoing
redefinition.

Test: DEXTER_BINARY="/path/to/built/dexter" \
      ./testrunner/testrunner.py --host --jvmti-stress -j40

Change-Id: I898e5cffea42a203aa4c45981b48baf8dc64fbb6

7 years agoAdd OAT file mapping to dexdiag
David Sehr [Wed, 5 Apr 2017 21:43:38 +0000 (14:43 -0700)]
Add OAT file mapping to dexdiag

Adds the ability to visualize the executable mapped sections of an OAT
file.

Bug: 37217968
Test: test-art-target-gtest-dexdiag_test
Change-Id: Id9f33885ee38a3753e781f955127eb8e1b83fe4d

7 years agoMerge "MIPS64: Add direct calls to math intrinsics." am: dbe35eddc4
Chris Larsen [Wed, 12 Apr 2017 19:01:01 +0000 (19:01 +0000)]
Merge "MIPS64: Add direct calls to math intrinsics." am: dbe35eddc4
am: a769f66077

Change-Id: Icae7ff84c2345087f27b64e680a920a7f3fe671f

7 years agoMerge "MIPS64: Add direct calls to math intrinsics."
Chris Larsen [Wed, 12 Apr 2017 18:55:31 +0000 (18:55 +0000)]
Merge "MIPS64: Add direct calls to math intrinsics."
am: dbe35eddc4

Change-Id: I0c6c574f0519e872bad5499a9f91f2036c644113

7 years agoMerge "MIPS64: Add direct calls to math intrinsics."
Treehugger Robot [Wed, 12 Apr 2017 18:39:45 +0000 (18:39 +0000)]
Merge "MIPS64: Add direct calls to math intrinsics."

7 years agoMerge "Fix broken DCHECK." am: de833ef742
Alex Light [Wed, 12 Apr 2017 18:10:27 +0000 (18:10 +0000)]
Merge "Fix broken DCHECK." am: de833ef742
am: 5def39427d

Change-Id: I2cda9a2adc0a619c631b339af51679ab23333445

7 years agoMIPS32: Add direct calls to math intrinsics.
Chris Larsen [Fri, 24 Mar 2017 19:11:54 +0000 (12:11 -0700)]
MIPS32: Add direct calls to math intrinsics.

- cos       - sin       - acos      - asin
- atan      - atan2     - cbrt      - cosh
- exp       - expm1     - hypot     - log
- log10     - nextAfter - sinh      - tan
- tanh

Test: run-test --no-prebuild --optimizing 123-inline-execute2
Test: run-test --no-prebuild 123-inline-execute2
Test: run-test --optimizing 123-inline-execute2
Test: run-test 123-inline-execute2
Test: Booted MIPS32R2 and MIPS64R6 emulators.

Note: Ran tests under both emulators, and on CI20 hardware.

Change-Id: I4c1782d609a985ae49737f47c43caa5b0b6a10e3

7 years agoMerge "Fix broken DCHECK."
Alex Light [Wed, 12 Apr 2017 18:05:28 +0000 (18:05 +0000)]
Merge "Fix broken DCHECK."
am: de833ef742

Change-Id: I7c85e950d28147e8f3a0bfd965554409ef4008c0

7 years agoMerge "Fix broken DCHECK."
Treehugger Robot [Wed, 12 Apr 2017 17:56:13 +0000 (17:56 +0000)]
Merge "Fix broken DCHECK."

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"
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 "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
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 agoARM64: Use link-time generated thunks for Baker CC read barrier.
Vladimir Marko [Mon, 20 Mar 2017 18:26:59 +0000 (18:26 +0000)]
ARM64: Use link-time generated thunks for Baker CC read barrier.

Remaining work for follow-up CLs:
  - array loads,
  - volatile field loads,
  - use implicit null check in field thunk.

Test: Added tests to relative_patcher_arm64
Test: New run-test 160-read-barrier-stress
Test: m test-art-target-gtest on Nexus 6P.
Test: testrunner.py --target on Nexus 6P.
Bug: 29516974
Bug: 30126666
Bug: 36141117
Change-Id: Id68ff171c55a3f1bf1ac1b657f480531aa7b3710

7 years agoFix broken DCHECK.
Alex Light [Wed, 12 Apr 2017 16:01:47 +0000 (09:01 -0700)]
Fix broken DCHECK.

The DCHECK in ti_class_definition was incorrectly checking that the
original dex file was a primitive long instead of a boxed long.

Bug: 37271822
Test: ./test/testrunner/testrunner.py --host --jvmti-stress -j40
Change-Id: I901c6e2f6f93dca584faff70134cee957d8462c3

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