OSDN Git Service
Calin Juravle [Fri, 21 Apr 2017 18:50:42 +0000 (18:50 +0000)]
Merge "Ignore the optimized location passed to DexFile.loadDex()" am:
2a9dc4dcc5
am:
90a9c1d00a
Change-Id: I47ccd8953c4f1dd783325de612e3074322df7559
Calin Juravle [Fri, 21 Apr 2017 18:48:12 +0000 (18:48 +0000)]
Merge "Ignore the optimized location passed to DexFile.loadDex()"
am:
2a9dc4dcc5
Change-Id: I1bfa09f8fb6718f83d928eb85088e0231fccfc3e
Calin Juravle [Fri, 21 Apr 2017 18:41:23 +0000 (18:41 +0000)]
Merge "Ignore the optimized location passed to DexFile.loadDex()"
Mathieu Chartier [Fri, 21 Apr 2017 16:46:01 +0000 (16:46 +0000)]
Merge "Store java_lang_Object_ in the flip callback" am:
9bb7ab6750
am:
20e7d03d7d
Change-Id: Ic5b74f775ea34b5ccfd5b98bbf11ca8da546787c
Mathieu Chartier [Fri, 21 Apr 2017 16:42:30 +0000 (16:42 +0000)]
Merge "Store java_lang_Object_ in the flip callback"
am:
9bb7ab6750
Change-Id: Ib86a5c6905f8bfe9a5453ee187ab14dc842a0f5f
Mathieu Chartier [Fri, 21 Apr 2017 16:34:44 +0000 (16:34 +0000)]
Merge "Store java_lang_Object_ in the flip callback"
Mathieu Chartier [Fri, 21 Apr 2017 02:28:54 +0000 (19:28 -0700)]
Store java_lang_Object_ in the flip callback
There was a race where the GC thread would not have is_marking =
true, and call
WellKnownClasses::ToClass(WellKnownClasses::java_lang_Object). This
meant that the returned class was maybe in the from-space for the
no image case. The fix was to move this decoding into the flip
callback since this callback is called before flipping any thread
roots.
Bug:
37531237
Bug:
12687968
Test: test-art-host
Change-Id: I9a09249e9c6ea2b3b124e957a9e4b61017869306
Vladimir Marko [Fri, 21 Apr 2017 14:33:25 +0000 (14:33 +0000)]
Merge "Fix verifier crash on abstract final class." am:
d68677c5fd
am:
4d32c69622
Change-Id: Ia92526ea0cbeee6738cf07b5c620ffa7007214af
Vladimir Marko [Fri, 21 Apr 2017 14:29:24 +0000 (14:29 +0000)]
Merge "Fix verifier crash on abstract final class."
am:
d68677c5fd
Change-Id: I8a6c1791532318a96844cc49c708a99b7283bb8c
Treehugger Robot [Fri, 21 Apr 2017 14:24:57 +0000 (14:24 +0000)]
Merge "Fix verifier crash on abstract final class."
Vladimir Marko [Fri, 21 Apr 2017 12:31:41 +0000 (13:31 +0100)]
Fix verifier crash on abstract final class.
Remove a check for erroneous class. It should not matter to
the verifier whether the class is just resolved, initialized
or resolved erroneous. The check was also inherently racy
and could yield different behavior based on the timing of
the verification.
Test: 161-final-abstract-class
Test: testrunner.py --host
Bug:
37248840
Change-Id: Ic4d964050bbe52e3de4438ada9e75676956cb6b4
Vladimir Marko [Fri, 21 Apr 2017 11:26:12 +0000 (11:26 +0000)]
Merge "Reuse DexCache and ClassLoader handles in inliner." am:
6d3c61d8c6
am:
786a563287
Change-Id: I743e63c0c00946fa354686ec13d072c30dd66370
Vladimir Marko [Fri, 21 Apr 2017 11:23:41 +0000 (11:23 +0000)]
Merge "Reuse DexCache and ClassLoader handles in inliner."
am:
6d3c61d8c6
Change-Id: I2815484428676b663bc53bc45c5818ab19e3eab2
Treehugger Robot [Fri, 21 Apr 2017 11:17:46 +0000 (11:17 +0000)]
Merge "Reuse DexCache and ClassLoader handles in inliner."
Vladimir Marko [Thu, 20 Apr 2017 18:50:32 +0000 (19:50 +0100)]
Reuse DexCache and ClassLoader handles in inliner.
Measured memory usage with heaptrack for a large app:
Before:
bytes allocated in total (ignoring deallocations): 3.14GB
calls to allocation functions:
8130596
After:
bytes allocated in total (ignoring deallocations): 3.12GB
calls to allocation functions:
7750377
Test: testrunner.py --host
Bug:
34053922
Change-Id: I1ad7aaffccc6527cd4f409ca8fca75bab8d7439a
Nicolas Geoffray [Fri, 21 Apr 2017 08:08:00 +0000 (08:08 +0000)]
Merge "Handle catch phis in code sinking." am:
d1a05c9088
am:
7a717284ab
Change-Id: I8169f02159771093821441cf774eb75ec107a77f
Nicolas Geoffray [Fri, 21 Apr 2017 08:05:31 +0000 (08:05 +0000)]
Merge "Handle catch phis in code sinking."
am:
d1a05c9088
Change-Id: Ic74f2072db754e34874cc30efa1b086db9e8d411
Nicolas Geoffray [Fri, 21 Apr 2017 07:59:53 +0000 (07:59 +0000)]
Merge "Handle catch phis in code sinking."
Alex Light [Fri, 21 Apr 2017 00:57:30 +0000 (00:57 +0000)]
Merge changes If234ff55,I2d83fc46,I5ad78a15 am:
bdbc63b892
am:
8f06eed516
Change-Id: If6bb63d301c977b42762945827daa1befca85611
Alex Light [Fri, 21 Apr 2017 00:54:32 +0000 (00:54 +0000)]
Merge changes If234ff55,I2d83fc46,I5ad78a15
am:
bdbc63b892
Change-Id: Ibeb3ccf9a0d902206b7f5e979eb48df572ec259f
Treehugger Robot [Fri, 21 Apr 2017 00:49:23 +0000 (00:49 +0000)]
Merge changes If234ff55,I2d83fc46,I5ad78a15
* changes:
Be able to run jvmti-stress on RI
Do native method bind in jvmti-stress
Agent libraries need to be searched for JNI functions
Alex Light [Thu, 20 Apr 2017 22:54:25 +0000 (15:54 -0700)]
Be able to run jvmti-stress on RI
This is useful for testing.
When running on RI no class redefinition is performed.
Test: ./test/run-test --dev --jvm --jvmti-stress 001-HelloWorld
Test: ./test/run-test --dev --jvm --jvmti-stress 902
Test: ./test/run-test --dev --jvm --jvmti-stress 986
Change-Id: If234ff553bf136312c5128d03b02b28f4ff94e3d
Mathieu Chartier [Thu, 20 Apr 2017 22:57:53 +0000 (22:57 +0000)]
Merge "Improve VerifyNoFromSpaceRefsObjectVisitor logging" am:
4e34bd1902
am:
d87b7c4797
Change-Id: I6733095249d8ab66492c081d341c143525ddaa2b
Mathieu Chartier [Thu, 20 Apr 2017 22:52:23 +0000 (22:52 +0000)]
Merge "Improve VerifyNoFromSpaceRefsObjectVisitor logging"
am:
4e34bd1902
Change-Id: I448235c47699e613748300e6f42ab36ed56d1fa4
Alex Light [Thu, 20 Apr 2017 20:35:05 +0000 (13:35 -0700)]
Do native method bind in jvmti-stress
Extend the jvmti-stress test suite to intercept the NativeMethodBind
event for every method.
Also fix small issue where we tried to add a local reference to a null
thread in ti_method.cc if we had an event trigger before VMInit.
Test: ./test/testrunner/testrunner.py --host --jvmti-stress -j40
Bug:
37432636
Change-Id: I2d83fc460b18edf035ed7296b8e2b06cff3671e5
Alex Light [Thu, 20 Apr 2017 16:15:08 +0000 (09:15 -0700)]
Agent libraries need to be searched for JNI functions
This makes agent libraries the option of last resort for native
method implementations. This will allow one to not need to manually
link all native methods in an agent library.
Bug:
37522517
Bug:
37432636
Test: ./test.py --host -j40
Change-Id: I5ad78a15e7e2799d2a877c5d603342899e2a1bd1
Treehugger Robot [Thu, 20 Apr 2017 22:43:05 +0000 (22:43 +0000)]
Merge "Improve VerifyNoFromSpaceRefsObjectVisitor logging"
Mathieu Chartier [Thu, 20 Apr 2017 20:31:39 +0000 (13:31 -0700)]
Improve VerifyNoFromSpaceRefsObjectVisitor logging
Remove read barriers in PrettyTypeOf to prevent recursive failures.
Pass down holder and offset information to
VerifyNoFromSpaceRefsFieldVisitor.
Test: test-art-host
Bug:
37531237
Change-Id: I704ec18ebecfc1ca2982b38f67a2f0788e59dfe9
Aart Bik [Thu, 20 Apr 2017 17:41:03 +0000 (17:41 +0000)]
Merge "ARM64: Support MultiplyAccumulate for SIMD." am:
f99f62f8e0
am:
1750304d47
Change-Id: Ibf3de88a36811109bafe5cd9810f5ecff2a593ce
Aart Bik [Thu, 20 Apr 2017 17:37:00 +0000 (17:37 +0000)]
Merge "ARM64: Support MultiplyAccumulate for SIMD."
am:
f99f62f8e0
Change-Id: I581cb93c050d5e0344a2613e81836d57a6665c70
Aart Bik [Thu, 20 Apr 2017 17:28:00 +0000 (17:28 +0000)]
Merge "ARM64: Support MultiplyAccumulate for SIMD."
Mathieu Chartier [Thu, 20 Apr 2017 17:01:57 +0000 (17:01 +0000)]
Merge changes from topic 'partial_tlab' am:
4c408ca726
am:
db1ee01c9b
Change-Id: I5314c4fbd25aa1f6b223c2aa56a9724730a5123d
Mathieu Chartier [Thu, 20 Apr 2017 16:56:58 +0000 (16:56 +0000)]
Merge changes from topic 'partial_tlab'
am:
4c408ca726
Change-Id: I7af86c0bedb0f3c4babd8bba3bd46acf8225d63f
Mathieu Chartier [Thu, 20 Apr 2017 16:47:51 +0000 (16:47 +0000)]
Merge changes from topic 'partial_tlab'
* changes:
Fix some gtests
Use partial TLAB regions
Nicolas Geoffray [Thu, 20 Apr 2017 14:19:46 +0000 (15:19 +0100)]
Handle catch phis in code sinking.
When the user of an instruction we want to sink is a catch
phi, we should not look at predecessors (which don't map 1-1
for catch phis), but can only look at its dominator.
bug:
37247890
Test: 647-sinking-catch
Change-Id: Ib64bd6f95d3ef45c394137e76819fa8d7d3d960a
Vladimir Marko [Thu, 20 Apr 2017 15:25:50 +0000 (15:25 +0000)]
Merge "Add descriptor validation to ClassLinker::FindClass()." am:
38870a8a27
am:
404d562547
Change-Id: I36f5c055a894abae61682ac123a186132d7a5c1a
Vladimir Marko [Thu, 20 Apr 2017 15:23:21 +0000 (15:23 +0000)]
Merge "Add descriptor validation to ClassLinker::FindClass()."
am:
38870a8a27
Change-Id: Iffc3aed0a5fc54dac5a36518faf416724a03266f
Treehugger Robot [Thu, 20 Apr 2017 15:16:44 +0000 (15:16 +0000)]
Merge "Add descriptor validation to ClassLinker::FindClass()."
Vladimir Marko [Thu, 20 Apr 2017 10:26:03 +0000 (11:26 +0100)]
Add descriptor validation to ClassLinker::FindClass().
And add tests for odd signatures passed to JNI GetFieldID().
Previously, passing the signature "java/lang/String" instead
of "Ljava/lang/String;" would call the class loader with the
dot name java.lang.String and the class loader would find
that class only to fail the DescriptorEquals() check back
in ClassLinker::FindClass().
Test: 647-jni-get-field-id
Bug:
33577836
Bug:
37156832
Change-Id: I6612a272ec24b0d54b728fd35003e9c24a7e2e95
Nicolas Geoffray [Thu, 20 Apr 2017 12:39:08 +0000 (12:39 +0000)]
Merge "Fix fault_handler with heap poisoning." am:
aa03f6fa38
am:
92f47fb522
Change-Id: I4ea97ec3c2ba52dd274e1e3e85738d0bb7b740c3
Nicolas Geoffray [Thu, 20 Apr 2017 12:36:09 +0000 (12:36 +0000)]
Merge "Fix fault_handler with heap poisoning."
am:
aa03f6fa38
Change-Id: I8acd9d6f7129c1034c34e1722ac35e5a14d3f3df
Nicolas Geoffray [Thu, 20 Apr 2017 12:32:48 +0000 (12:32 +0000)]
Merge "Fix fault_handler with heap poisoning."
Nicolas Geoffray [Thu, 20 Apr 2017 11:50:13 +0000 (12:50 +0100)]
Fix fault_handler with heap poisoning.
test: test-art-host
Change-Id: Ifeb3d5ff4cfdcb703d5874bca90c9c1438d86f08
Nicolas Geoffray [Thu, 20 Apr 2017 11:10:33 +0000 (11:10 +0000)]
Merge "Vdex: Workaround arrays with erroneous component type." am:
de9e54abcf
am:
a629563348
Change-Id: I7d1021243fe0f45cb9428976bee077cc85925ccc
Nicolas Geoffray [Thu, 20 Apr 2017 11:08:03 +0000 (11:08 +0000)]
Merge "Vdex: Workaround arrays with erroneous component type."
am:
de9e54abcf
Change-Id: Ide0f8c117fc1f7406966bea73e88009eca21bc3d
Treehugger Robot [Thu, 20 Apr 2017 11:01:32 +0000 (11:01 +0000)]
Merge "Vdex: Workaround arrays with erroneous component type."
Nicolas Geoffray [Wed, 19 Apr 2017 12:50:34 +0000 (13:50 +0100)]
Vdex: Workaround arrays with erroneous component type.
The assignability DCHECK is only reliable when classes are not
erroneous. For arrays whose component type could be erroneous,
the verifier can join types even if they're not assignable.
bug:
33770646
Test: verifier_deps_test
Change-Id: I4ec1b12b2e2c7d5b57b51a64aea381f951a38dcd
Mathieu Chartier [Thu, 20 Apr 2017 06:54:33 +0000 (23:54 -0700)]
Fix some gtests
Forgot to retest.
Test: test-art-host-gtest
Change-Id: I72b07c3872079452a3a01db4fbd2c4ee0060f294
Mathieu Chartier [Wed, 19 Apr 2017 00:46:23 +0000 (17:46 -0700)]
Use partial TLAB regions
Instead of having 256K TLAB regions, have 256K TLABs split into
16K regions. This fixes pathological cases with multithreaded
allocation that caused many GCs since each thread reserving
256K would often bump the counter past the GC start threshold. Now
threads only bump the counter every 16K.
System wide results (average of 5 samples on N6P):
Total GC time 60s after starting shell: 45s -> 24s
Average .Heap PSS 60s after starting shell: 57900k -> 58682k
BinaryTrees gets around 5% slower, numbers are noisy.
Boot time: 13.302 -> 12.899 (average of 100 runs)
Bug:
35872915
Bug:
36216292
Test: test-art-host
(cherry picked from commit
bf48003fa32d2845f2213c0ba31af6677715662d)
Change-Id: I5ab22420124eeadc0a53519c70112274101dfb39
Josh Gao [Thu, 20 Apr 2017 03:11:28 +0000 (03:11 +0000)]
Merge "base: make SafeCopy work on older Linux kernels." am:
8d0f3aaf28
am:
f97911fa01
Change-Id: I35f86968f1d44e28dcd74e6b00d4d22d11da6b3b
Josh Gao [Thu, 20 Apr 2017 03:09:00 +0000 (03:09 +0000)]
Merge "base: make SafeCopy work on older Linux kernels."
am:
8d0f3aaf28
Change-Id: I6542a492d60208b37f4880dc0d92d8ac3e61857d
Treehugger Robot [Thu, 20 Apr 2017 03:04:32 +0000 (03:04 +0000)]
Merge "base: make SafeCopy work on older Linux kernels."
Josh Gao [Wed, 19 Apr 2017 22:44:20 +0000 (15:44 -0700)]
base: make SafeCopy work on older Linux kernels.
process_vm_readv is documented to not split transfer across a single
iovec element, but this appears to not be the case for the newer
kernels we have on our workstations.
Split up transfers across page boundaries, to avoid this. This has the
side effect of limiting the maximum size of a transfer, but 64 pages
ought to be enough for anybody.
Test: safe_copy_test on 3.13.0-101-generic (failing before)
Test: safe_copy_test on 4.4.0-66-generic (still passing)
Change-Id: I6a6dbf0cd2aeaa7eab39f6d41285d46ebd760e30
Artem Serov [Mon, 10 Apr 2017 16:41:46 +0000 (17:41 +0100)]
ARM64: Support MultiplyAccumulate for SIMD.
Test: test-art-host, test-art-target.
Change-Id: I06af8415e15352d09d176cae828163cbe99ae7a7
Colin Cross [Wed, 19 Apr 2017 23:00:12 +0000 (23:00 +0000)]
Merge "Remove obsolete rules to build runtests" am:
6c99499c8a
am:
c55ed0c843
Change-Id: Iff78a4f014c0a6d8888301c3c8455dc220ceeec5
Colin Cross [Wed, 19 Apr 2017 22:58:42 +0000 (22:58 +0000)]
Merge "Remove obsolete rules to build runtests"
am:
6c99499c8a
Change-Id: I5e10478e2ffadec2c0ccad151c49c24e24e05a96
Andreas Gampe [Wed, 19 Apr 2017 22:58:42 +0000 (22:58 +0000)]
Merge changes from topic 'art_run_test_912_cts_refactor' am:
afcec28403
am:
ccaac1364d
Change-Id: I01b0db54a7556a0619b301f8dd8d0c24b823aa57
Andreas Gampe [Wed, 19 Apr 2017 22:56:47 +0000 (22:56 +0000)]
Merge changes from topic 'art_run_test_912_cts_refactor'
am:
afcec28403
Change-Id: Ibda516ad39de9a931e3b4ddc3ecfbeaba01dc719
Colin Cross [Wed, 19 Apr 2017 22:54:19 +0000 (22:54 +0000)]
Merge "Remove obsolete rules to build runtests"
Treehugger Robot [Wed, 19 Apr 2017 22:52:57 +0000 (22:52 +0000)]
Merge changes from topic 'art_run_test_912_cts_refactor'
* changes:
ART: Refactor run-test 912 (3/3)
ART: Refactor run-test 912 (2/3)
ART: Refactor run-test 912 (1/3)
Andreas Gampe [Wed, 19 Apr 2017 20:45:25 +0000 (13:45 -0700)]
ART: Refactor run-test 912 (3/3)
Add run-test Main.
Bug:
32072923
Test: m
Test: art/test/testrunner/testrunner.py -b --host -t 912
Change-Id: I4a4bbe587937d9b87eab77af1a5f05fd4df7f0d4
Andreas Gampe [Wed, 19 Apr 2017 20:43:43 +0000 (13:43 -0700)]
ART: Refactor run-test 912 (2/3)
Move the refactored run-test into place.
Bug:
32072923
Test: m
Change-Id: I170cd1465a3afce3f48a9cbad864eaa5d9fdaacc
Andreas Gampe [Wed, 19 Apr 2017 20:37:48 +0000 (13:37 -0700)]
ART: Refactor run-test 912 (1/3)
Refactor the test for CTS. Break out the ART-specific part. Move
the rest into the regular layout. Move class events to their own
thread, and report them on the Java side. Use InMemoryDexClassLoader
for classloaders to avoid explicit files.
Bug:
32072923
Test: none
Change-Id: I80e27cc9c21646bbecd1de1a246f583a0d388e05
Josh Gao [Wed, 19 Apr 2017 20:31:32 +0000 (20:31 +0000)]
Merge "fault_handler: hopefully fix darwin build." am:
1f56cb5c59
am:
b04c235e46
Change-Id: Ida7ba6f4aae320c099a26ebbbea1feac249c02e1
Josh Gao [Wed, 19 Apr 2017 20:29:35 +0000 (20:29 +0000)]
Merge "fault_handler: hopefully fix darwin build."
am:
1f56cb5c59
Change-Id: I9ef55964245472afd412ae0720651bc2fdcdc2e0
Josh Gao [Wed, 19 Apr 2017 20:22:45 +0000 (20:22 +0000)]
Merge "fault_handler: hopefully fix darwin build."
Josh Gao [Wed, 19 Apr 2017 20:20:19 +0000 (13:20 -0700)]
fault_handler: hopefully fix darwin build.
Test: none
Change-Id: I08adf266c6287a289d213a0b1fa854f223fec72d
David Sehr [Wed, 19 Apr 2017 20:06:24 +0000 (20:06 +0000)]
Merge "Revert "Add dexdiag_test"" am:
1cfe8728e0
am:
9206a9a087
Change-Id: I68633122a2e6fa9ded5c445bae84592e79333fa6
Josh Gao [Wed, 19 Apr 2017 20:06:02 +0000 (20:06 +0000)]
Merge changes Ie3d5e176,Ic1fbb885,I10bafcff am:
3955baf83f
am:
398dd33a1e
Change-Id: I5d7d7231784cd6cc6908b926377e67c93423b097
David Sehr [Wed, 19 Apr 2017 20:04:28 +0000 (20:04 +0000)]
Merge "Revert "Add dexdiag_test""
am:
1cfe8728e0
Change-Id: I705ab54f2a7386373be5fbb469ca1e1dfde670fe
Josh Gao [Wed, 19 Apr 2017 20:04:04 +0000 (20:04 +0000)]
Merge changes Ie3d5e176,Ic1fbb885,I10bafcff
am:
3955baf83f
Change-Id: I449e532cd4061667213fea7a999278f7a52f6b9f
David Sehr [Wed, 19 Apr 2017 20:00:50 +0000 (20:00 +0000)]
Merge "Revert "Add dexdiag_test""
Treehugger Robot [Wed, 19 Apr 2017 19:57:35 +0000 (19:57 +0000)]
Merge changes Ie3d5e176,Ic1fbb885,I10bafcff
* changes:
fault_handler: use SafeCopy to verify the validity of ArtMethod.
fault_handler: use SafeCopy to decode x86 instruction length.
base: add SafeCopy.
David Sehr [Wed, 19 Apr 2017 19:44:08 +0000 (19:44 +0000)]
Revert "Add dexdiag_test"
This reverts commit
2120ad43acc0ab0fa74c151069948ef9698c009f.
Change-Id: Icdb42e47eb2f099cbfbd302477ad6614bb8524f1
Alex Light [Wed, 19 Apr 2017 19:38:29 +0000 (19:38 +0000)]
Merge "Implement can_generate_native_method_bind capability" am:
9088df87d9
am:
be94b3b662
Change-Id: Ib82b927d7f4d5b8b54eeb7d99bba180edf13168f
Alex Light [Wed, 19 Apr 2017 19:35:59 +0000 (19:35 +0000)]
Merge "Implement can_generate_native_method_bind capability"
am:
9088df87d9
Change-Id: I7be5238299d959c2d7bdabffe436fd7469cbd1e7
Treehugger Robot [Wed, 19 Apr 2017 19:31:06 +0000 (19:31 +0000)]
Merge "Implement can_generate_native_method_bind capability"
Aart Bik [Wed, 19 Apr 2017 19:26:28 +0000 (19:26 +0000)]
Merge "Implement halving add idiom (with checker tests)." am:
ed5d0ee21e
am:
d9928c6d46
Change-Id: Ibcc7372b669d9e0872dbb267245bf43341db3f8b
Aart Bik [Wed, 19 Apr 2017 19:24:27 +0000 (19:24 +0000)]
Merge "Implement halving add idiom (with checker tests)."
am:
ed5d0ee21e
Change-Id: Ibc118d3cad5b7563426a9fee07e1082e750da552
Treehugger Robot [Wed, 19 Apr 2017 19:19:00 +0000 (19:19 +0000)]
Merge "Implement halving add idiom (with checker tests)."
Chris Larsen [Wed, 19 Apr 2017 18:24:22 +0000 (18:24 +0000)]
Merge "MIPS64: java.lang.System.arraycopy() for copying char[] to char[]." am:
88b7c37163
am:
ca6b4d94db
Change-Id: I3ab7a9f62284f8c23074f9a7d226affff234186f
Chris Larsen [Wed, 19 Apr 2017 18:21:52 +0000 (18:21 +0000)]
Merge "MIPS64: java.lang.System.arraycopy() for copying char[] to char[]."
am:
88b7c37163
Change-Id: Iae649dc92794bee44aec59b000a1ae312d2093c7
Treehugger Robot [Wed, 19 Apr 2017 18:15:58 +0000 (18:15 +0000)]
Merge "MIPS64: java.lang.System.arraycopy() for copying char[] to char[]."
Mingyao Yang [Wed, 19 Apr 2017 18:05:20 +0000 (18:05 +0000)]
Merge "Fix CHA test failures under some configurations." am:
59715029ae
am:
2566578b70
Change-Id: I73941a7f22d70380a7239c78e1f6628e0d456470
Mingyao Yang [Wed, 19 Apr 2017 18:03:51 +0000 (18:03 +0000)]
Merge "Fix CHA test failures under some configurations."
am:
59715029ae
Change-Id: I2b3f997173ad4a99470333b2d1c7c5dc4ec15b6f
Mingyao Yang [Wed, 19 Apr 2017 17:59:32 +0000 (17:59 +0000)]
Merge "Fix CHA test failures under some configurations."
Josh Gao [Tue, 18 Apr 2017 03:10:29 +0000 (20:10 -0700)]
fault_handler: use SafeCopy to verify the validity of ArtMethod.
Reimplement ArtMethod::GetDeclaringClassUnchecked and VerifyClassClass
in terms of SafeCopy, to be able to safely verify the validity of
putative ArtMethods in FaultManager::IsInGeneratedCode.
Bug: http://b/
30836730
Test: m test-art-host
Change-Id: Ie3d5e176ea569cedcefd320e2480a1e1e496a53a
Aart Bik [Thu, 13 Apr 2017 00:09:20 +0000 (17:09 -0700)]
Implement halving add idiom (with checker tests).
Rationale:
First of several idioms that map to very efficient SIMD instructions.
Note that the is-zero-ext and is-sign-ext are general-purpose utilities
that will be widely used in the vectorizer to detect low precision
idioms, so expect that code to be shared with many CLs to come.
Test: test-art-host, test-art-target
Change-Id: If7dc2926c72a2e4b5cea15c44ef68cf5503e9be9
Jeff Hao [Wed, 19 Apr 2017 17:29:01 +0000 (17:29 +0000)]
Merge "Allow dex2oat to handle relative paths." am:
72fdec3928
am:
678ac3e24a
Change-Id: I0e9e9ffb6c83f1e95ad0cf36ffa0899bf7037071
Jeff Hao [Wed, 19 Apr 2017 17:20:31 +0000 (17:20 +0000)]
Merge "Allow dex2oat to handle relative paths."
am:
72fdec3928
Change-Id: I4daab86a70cde8e9d99b4e49d21e59879d2bec70
Treehugger Robot [Wed, 19 Apr 2017 17:13:11 +0000 (17:13 +0000)]
Merge "Allow dex2oat to handle relative paths."
Alex Light [Tue, 18 Apr 2017 22:20:38 +0000 (15:20 -0700)]
Implement can_generate_native_method_bind capability
This capability lets one observe and even replace the implementations
of native methods when they are bound.
Test: ./test.py --host -j40
Bug:
37432636
Change-Id: I2432a8e4da1a677e8011ce495296f4ab9f42eb3e
David Sehr [Wed, 19 Apr 2017 16:43:47 +0000 (16:43 +0000)]
Merge "Add dexdiag_test" am:
ad70f8f997
am:
a2d4447e34
Change-Id: I773c7c41e25268a99445428d4cb3369dc66d70bb
David Sehr [Wed, 19 Apr 2017 16:41:45 +0000 (16:41 +0000)]
Merge "Add dexdiag_test"
am:
ad70f8f997
Change-Id: Ib0b515f78bf12a1c8c2aaa2394b7c9bd2eae3181
David Sehr [Wed, 19 Apr 2017 16:37:46 +0000 (16:37 +0000)]
Merge "Add dexdiag_test"
Andreas Gampe [Wed, 19 Apr 2017 16:21:58 +0000 (16:21 +0000)]
Merge "ART: Refactor run-test 924" am:
70d9cf92f6
am:
414977a488
Change-Id: Idaffab17f11b5527f289f925b159064145898a35
Andreas Gampe [Wed, 19 Apr 2017 16:21:42 +0000 (16:21 +0000)]
Merge "ART: Filter more thread roots" am:
5e2c2894dc
am:
a93ccfb3fd
Change-Id: I80d7076b65b28c99cf692554c03f59191b5a77fc
Andreas Gampe [Wed, 19 Apr 2017 16:18:33 +0000 (16:18 +0000)]
Merge "ART: Refactor run-test 924"
am:
70d9cf92f6
Change-Id: I805ddab8a1b96f53ba0f9dc67b0df98a429e088f
Andreas Gampe [Wed, 19 Apr 2017 16:18:13 +0000 (16:18 +0000)]
Merge "ART: Filter more thread roots"
am:
5e2c2894dc
Change-Id: Iabef998fd43ff59b586dc86516b6ee449781b3d4
Treehugger Robot [Wed, 19 Apr 2017 16:14:17 +0000 (16:14 +0000)]
Merge "ART: Refactor run-test 924"