OSDN Git Service
Roland Levillain [Mon, 15 Aug 2016 14:52:27 +0000 (14:52 +0000)]
Merge "Revert "Enable IntermediateAddress for primitive arrays with read barriers."" am:
554b6fb875 am:
c753c44fa9
am:
28c9cfaf75
Change-Id: I550fb4206ad9d9fd8bb3b6a8417249049d1e920b
Roland Levillain [Mon, 15 Aug 2016 14:48:27 +0000 (14:48 +0000)]
Merge "Revert "Enable IntermediateAddress for primitive arrays with read barriers."" am:
554b6fb875
am:
c753c44fa9
Change-Id: I0be89231f0fb7d4318d1e107488aebaf5c9fecfd
Roland Levillain [Mon, 15 Aug 2016 14:44:29 +0000 (14:44 +0000)]
Merge "Revert "Enable IntermediateAddress for primitive arrays with read barriers.""
am:
554b6fb875
Change-Id: Iebee937e50aa7943afc7fcfc3acbc3f2414c666d
Treehugger Robot [Mon, 15 Aug 2016 14:35:48 +0000 (14:35 +0000)]
Merge "Revert "Enable IntermediateAddress for primitive arrays with read barriers.""
Roland Levillain [Mon, 15 Aug 2016 13:17:06 +0000 (13:17 +0000)]
Revert "Enable IntermediateAddress for primitive arrays with read barriers."
This CL breaks the angler-userdebug build with
`ART_USE_READ_BARRIER=true`.
Test: Build angler-userdebug with `ART_USE_READ_BARRIER=true`.
Bug:
30762467
Bug:
26601270
Bug:
12687968
This reverts commit
12ecf0800d465acdaa3deccd383ff8ed3428a183.
Change-Id: Ia2069ac9436d2336311dd8d0f183c02e587586ae
Roland Levillain [Mon, 15 Aug 2016 10:17:12 +0000 (10:17 +0000)]
Merge "ARM64: VIXL: Support a newer version of VIXL." am:
fe74ba9ea6 am:
f13e9b37dc
am:
cc1bc87a38
Change-Id: I76351bc1c14451e7d7f1624e74132c321c8bc065
Roland Levillain [Mon, 15 Aug 2016 10:13:11 +0000 (10:13 +0000)]
Merge "ARM64: VIXL: Support a newer version of VIXL." am:
fe74ba9ea6
am:
f13e9b37dc
Change-Id: If736bd3fe27be66e7450b4bdaa20d2a17c5c94f0
Roland Levillain [Mon, 15 Aug 2016 10:08:44 +0000 (10:08 +0000)]
Merge "ARM64: VIXL: Support a newer version of VIXL."
am:
fe74ba9ea6
Change-Id: I5ff0142506107668ea9010a34c4e21f1b0e0533d
Roland Levillain [Mon, 15 Aug 2016 10:03:32 +0000 (10:03 +0000)]
Merge "ARM64: VIXL: Support a newer version of VIXL."
Mathieu Chartier [Sat, 13 Aug 2016 00:23:28 +0000 (00:23 +0000)]
Merge "Fix heap poisoning" am:
85b1811f0d am:
18b4a7bba4
am:
db370419a2
Change-Id: I79f81b6efe99b949eb3ae5f3d68f3209f06e54e4
Mathieu Chartier [Sat, 13 Aug 2016 00:18:58 +0000 (00:18 +0000)]
Merge "Fix heap poisoning" am:
85b1811f0d
am:
18b4a7bba4
Change-Id: I15d27cab255a3f91940cee39852b064d6be33bc9
Mathieu Chartier [Sat, 13 Aug 2016 00:15:30 +0000 (00:15 +0000)]
Merge "Fix heap poisoning"
am:
85b1811f0d
Change-Id: Icaa40d52acfe3899e16da0b0713c97fa0e1e288e
Mathieu Chartier [Sat, 13 Aug 2016 00:06:30 +0000 (00:06 +0000)]
Merge "Fix heap poisoning"
Alex Light [Fri, 12 Aug 2016 23:33:25 +0000 (23:33 +0000)]
Merge "Make test work when running ndebug." am:
3469575a63 am:
30f56fc576
am:
e24587590e
Change-Id: I03a1c0b35d6deeba6eef65730f24e2d0fb52a90a
Alex Light [Fri, 12 Aug 2016 23:29:55 +0000 (23:29 +0000)]
Merge "Make test work when running ndebug." am:
3469575a63
am:
30f56fc576
Change-Id: Idd8f21195d1f3e930894a7a0fac9352cab59c3da
Alex Light [Fri, 12 Aug 2016 23:26:26 +0000 (23:26 +0000)]
Merge "Make test work when running ndebug."
am:
3469575a63
Change-Id: I7280780d2580ad9a3dc1ca78e5399a26730263ec
Treehugger Robot [Fri, 12 Aug 2016 23:16:45 +0000 (23:16 +0000)]
Merge "Make test work when running ndebug."
Mathieu Chartier [Fri, 12 Aug 2016 22:44:44 +0000 (15:44 -0700)]
Fix heap poisoning
Was wrong register.
Test: test-art-host-run-test CC table lookup + poisoning.
Bug:
30162165
Change-Id: If347a40963bcc2fb9e21c54b5405c852bcd3af08
Matthew Gharrity [Fri, 12 Aug 2016 22:18:50 +0000 (22:18 +0000)]
Merge "Revert "Revert "Iterative move coalescing for gc regalloc""" am:
912cc4aad3 am:
958834b4f3
am:
844517a559
Change-Id: I043d604f54d36e3ccd847de7b2aa30d0d25b80bd
Matthew Gharrity [Fri, 12 Aug 2016 22:15:21 +0000 (22:15 +0000)]
Merge "Revert "Revert "Iterative move coalescing for gc regalloc""" am:
912cc4aad3
am:
958834b4f3
Change-Id: I90adf52539b3170a452e5e09bfeaad04b5f956bd
Matthew Gharrity [Fri, 12 Aug 2016 22:11:53 +0000 (22:11 +0000)]
Merge "Revert "Revert "Iterative move coalescing for gc regalloc"""
am:
912cc4aad3
Change-Id: Iccbd0bd4eea87a1682ec11a16f2c428d90887771
Andreas Gampe [Fri, 12 Aug 2016 22:11:50 +0000 (22:11 +0000)]
Merge "ART: Remove zygote OTA code" am:
ef1a3209ab am:
a421078d3b
am:
4ed5e4bb09
Change-Id: I3646e5fc93971245defe80c3aa3f460c86ec24e2
Andreas Gampe [Fri, 12 Aug 2016 22:08:21 +0000 (22:08 +0000)]
Merge "ART: Remove zygote OTA code" am:
ef1a3209ab
am:
a421078d3b
Change-Id: Ica36da629d673967b53524a8b3e134e039a276c3
Treehugger Robot [Fri, 12 Aug 2016 22:07:41 +0000 (22:07 +0000)]
Merge "Revert "Revert "Iterative move coalescing for gc regalloc"""
Andreas Gampe [Fri, 12 Aug 2016 22:04:52 +0000 (22:04 +0000)]
Merge "ART: Remove zygote OTA code"
am:
ef1a3209ab
Change-Id: I7f52590e1818b3deb8e188b7c4ad13e1d613c8f6
Treehugger Robot [Fri, 12 Aug 2016 21:58:25 +0000 (21:58 +0000)]
Merge "ART: Remove zygote OTA code"
Alex Light [Fri, 12 Aug 2016 21:43:48 +0000 (14:43 -0700)]
Make test work when running ndebug.
Change-Id: Iea58ccef51fddaeae4b1fb7084a7956400a81dfe
Test: ART_TEST_RUN_TEST_NDEBUG=true mma -j40 test-art-host-run-test-900-hello-plugin
Matthew Gharrity [Fri, 12 Aug 2016 21:14:48 +0000 (21:14 +0000)]
Merge "Use TestCodeGeneratorX86 in codegen unit tests" am:
ba1642dec6 am:
f3a2327d9c
am:
8e4d9fb2b1
Change-Id: I4b7fdcdf91d99d0852e152f9636ff31dd5655160
Matthew Gharrity [Fri, 12 Aug 2016 21:10:46 +0000 (21:10 +0000)]
Merge "Use TestCodeGeneratorX86 in codegen unit tests" am:
ba1642dec6
am:
f3a2327d9c
Change-Id: Ib81eaa4a94b704b4c85e0da74811a2165f5d2788
Matthew Gharrity [Fri, 12 Aug 2016 21:07:27 +0000 (21:07 +0000)]
Merge "Use TestCodeGeneratorX86 in codegen unit tests"
am:
ba1642dec6
Change-Id: I2bdb9b704f019e035593faa7a8c66498c947c491
Treehugger Robot [Fri, 12 Aug 2016 20:54:05 +0000 (20:54 +0000)]
Merge "Use TestCodeGeneratorX86 in codegen unit tests"
Matthew Gharrity [Fri, 12 Aug 2016 16:10:45 +0000 (16:10 +0000)]
Revert "Revert "Iterative move coalescing for gc regalloc""
This reverts commit
6f61ee5623a676ce983ccfa1aba9b2ae1237e163,
and fixes the arena allocator issues in the original CL.
Functionality from the original CL has not changed.
Test: m valgrind-test-art-host-gtest-register_allocator_test
Test: ART_TEST_OPTIMIZING_GRAPH_COLOR=true m test-art-host-run-test
Change-Id: Idd979f4e03f0c2800e0c07a0a7d392c8a4230aab
Andreas Gampe [Sat, 9 Jul 2016 17:51:12 +0000 (10:51 -0700)]
ART: Remove zygote OTA code
The renaming and relabeling of the A/B artifacts is now done in
a special-purpose script started by init, so as to not complicate
the logic here (e.g., name of the current slot).
Partially reverts commit
754479f7aa056602de8282f4f03718b42c20b89b.
Bug:
25612095
Bug:
28069686
Change-Id: I4d965361000fd448e199c9af059b6d18bfe928bb
(cherry picked from commit
ff2a8ef2ed6b3f21da26f85197170d7d2a9f5134)
Andreas Gampe [Fri, 12 Aug 2016 18:34:07 +0000 (18:34 +0000)]
Merge "ART: Reduce stack frame size limit on host" am:
82d33b295f am:
45d1085f45
am:
7c015b3a96
Change-Id: Ib6cd1373e8200a91ad6b4140c24f940cbecf6352
Andreas Gampe [Fri, 12 Aug 2016 18:30:34 +0000 (18:30 +0000)]
Merge "ART: Reduce stack frame size limit on host" am:
82d33b295f
am:
45d1085f45
Change-Id: Ib9e43b6cee8d919f34fa8ae560729dc598c83e9e
Andreas Gampe [Fri, 12 Aug 2016 18:29:02 +0000 (18:29 +0000)]
Merge "ART: Reduce stack frame size limit on host"
am:
82d33b295f
Change-Id: I08214c2d5a737be9a64948d9cce500b6abf42b75
Treehugger Robot [Fri, 12 Aug 2016 18:19:54 +0000 (18:19 +0000)]
Merge "ART: Reduce stack frame size limit on host"
Mathieu Chartier [Fri, 12 Aug 2016 17:49:03 +0000 (17:49 +0000)]
Merge "Optimize x86_64 TLAB allocation speed" am:
29daeb62da am:
99cd5e5010
am:
a9adc6dde7
Change-Id: Ie847c78a5f8bedf31ddc38b5e3580d91b1e10464
Alex Light [Fri, 12 Aug 2016 17:49:02 +0000 (17:49 +0000)]
Merge changes I852b4daf,Id648eaed am:
346285b558 am:
4610ec68b5
am:
45c7d15543
Change-Id: I0c314d46e7343643915c0d10e824cb4bd21e241e
Mathieu Chartier [Fri, 12 Aug 2016 17:45:32 +0000 (17:45 +0000)]
Merge "Optimize x86_64 TLAB allocation speed" am:
29daeb62da
am:
99cd5e5010
Change-Id: I1a8ddb61b65e263d1f7b3457289b0d2e0659e10a
Alex Light [Fri, 12 Aug 2016 17:45:31 +0000 (17:45 +0000)]
Merge changes I852b4daf,Id648eaed am:
346285b558
am:
4610ec68b5
Change-Id: I4d3419ec5ee63648607d2d82a8b223c0f7899906
Mathieu Chartier [Fri, 12 Aug 2016 17:42:44 +0000 (17:42 +0000)]
Merge "Optimize x86_64 TLAB allocation speed"
am:
29daeb62da
Change-Id: I2bee7d069403c3a8a3a1756672b6bac6b0f82705
Alex Light [Fri, 12 Aug 2016 17:42:32 +0000 (17:42 +0000)]
Merge changes I852b4daf,Id648eaed
am:
346285b558
Change-Id: Id1c7bc956e0c64620a030edd72a3a8bb3831a712
Mathieu Chartier [Fri, 12 Aug 2016 17:34:56 +0000 (17:34 +0000)]
Merge "Optimize x86_64 TLAB allocation speed"
Treehugger Robot [Fri, 12 Aug 2016 17:33:34 +0000 (17:33 +0000)]
Merge changes I852b4daf,Id648eaed
* changes:
Add basic runtime-plugins support.
Create a basic agent loading framework.
Andreas Gampe [Fri, 12 Aug 2016 17:25:30 +0000 (17:25 +0000)]
Merge "ART: Configure stack guard size in the Makefile" am:
635ba0cbce am:
d8452dbf57
am:
e2b2447293
Change-Id: Id238ab3f66136e0ac7fddaef1dcdacd6b420ee33
Andreas Gampe [Fri, 12 Aug 2016 17:21:59 +0000 (17:21 +0000)]
Merge "ART: Configure stack guard size in the Makefile" am:
635ba0cbce
am:
d8452dbf57
Change-Id: If570f499b4391a542ff0599d74ccbeb1867ce70f
Andreas Gampe [Fri, 12 Aug 2016 17:18:31 +0000 (17:18 +0000)]
Merge "ART: Configure stack guard size in the Makefile"
am:
635ba0cbce
Change-Id: I7fff2a9146dd9b17624996e77fddaad2cb7e85cc
Treehugger Robot [Fri, 12 Aug 2016 17:11:01 +0000 (17:11 +0000)]
Merge "ART: Configure stack guard size in the Makefile"
Vladimir Marko [Fri, 12 Aug 2016 15:29:22 +0000 (15:29 +0000)]
Merge "Fix duplicate checks in JNI macro assemblers." am:
2af1aa066e am:
ad1b62a8d1
am:
d78c212248
Change-Id: Idce3fb5ac8c7d061c940a879b7cd8264584cd004
Vladimir Marko [Fri, 12 Aug 2016 15:26:22 +0000 (15:26 +0000)]
Merge "Fix duplicate checks in JNI macro assemblers." am:
2af1aa066e
am:
ad1b62a8d1
Change-Id: I82cb3710153ff60775b8c00dc9bdf5485df2b533
Vladimir Marko [Fri, 12 Aug 2016 15:22:54 +0000 (15:22 +0000)]
Merge "Fix duplicate checks in JNI macro assemblers."
am:
2af1aa066e
Change-Id: I658e24a12a0086257acfa5ec88ffb91d2d25f03d
Treehugger Robot [Fri, 12 Aug 2016 15:14:44 +0000 (15:14 +0000)]
Merge "Fix duplicate checks in JNI macro assemblers."
Roland Levillain [Fri, 12 Aug 2016 13:59:47 +0000 (13:59 +0000)]
Merge "Adjust spacing before NOLINT comments in ART." am:
c17d21d442 am:
512ee1d788
am:
7fe76c3742
Change-Id: I02a8127ff8d98b0246b3d020707e84d3b78cfcec
Roland Levillain [Fri, 12 Aug 2016 13:56:16 +0000 (13:56 +0000)]
Merge "Adjust spacing before NOLINT comments in ART." am:
c17d21d442
am:
512ee1d788
Change-Id: I88b169e012970709801ef16558d67989d4fbe27b
Roland Levillain [Fri, 12 Aug 2016 13:52:49 +0000 (13:52 +0000)]
Merge "Adjust spacing before NOLINT comments in ART."
am:
c17d21d442
Change-Id: Ic44e4396616b9f8e692b6c530553e9f98305e479
Roland Levillain [Fri, 12 Aug 2016 13:45:57 +0000 (13:45 +0000)]
Merge "Adjust spacing before NOLINT comments in ART."
Vladimir Marko [Fri, 12 Aug 2016 13:26:15 +0000 (14:26 +0100)]
Fix duplicate checks in JNI macro assemblers.
Instead of checking one register twice, check the other
register passed to the function.
Test: Run ART test suite on host and Nexus 5.
Bug:
30739460
Change-Id: If868ea14f5c192982488ed065b279a019b5b7cf4
Artem Serov [Mon, 8 Aug 2016 14:11:24 +0000 (15:11 +0100)]
ARM64: VIXL: Support a newer version of VIXL.
Please note that compiling VIXL with -Wshadow is a known VIXL issue.
This will be resolved in a later version of VIXL, when we can drop
the deprecated API for getters and setters.
For more info take a look at VIXL_DEPRECATED in the VIXL source code.
Change-Id: Iea30b1a7b065f9b16a92c6cc7ebdc50ef068b348
Roland Levillain [Thu, 11 Aug 2016 22:53:33 +0000 (23:53 +0100)]
Adjust spacing before NOLINT comments in ART.
Note that neither clang-tidy nor cpplint.py complain about
these style "issues", precisely because of the NOLINT
comments.
Test: WITH_TIDY=1 WITH_TIDY_CHECKS='-*,misc-macro-parentheses' mmma art
Change-Id: Id692fd394ffbd4fe208cbbe4407b4d5e208462bb
Vladimir Marko [Fri, 12 Aug 2016 11:37:37 +0000 (11:37 +0000)]
Merge "ARM: Add vldm/vstm assembler support." am:
dce74be0c4 am:
63c395397d
am:
98f7bee0f7
Change-Id: Icc854c488fd2ff531d9c4957360415d7c3ab71dd
Vladimir Marko [Fri, 12 Aug 2016 11:34:08 +0000 (11:34 +0000)]
Merge "ARM: Add vldm/vstm assembler support." am:
dce74be0c4
am:
63c395397d
Change-Id: Ie60bf90a6df7cb0eef6e4900970bb86760240b56
Vladimir Marko [Fri, 12 Aug 2016 11:30:40 +0000 (11:30 +0000)]
Merge "ARM: Add vldm/vstm assembler support."
am:
dce74be0c4
Change-Id: Ibb492f8477f8552b30967ab89f0b633b29b52959
Vladimir Marko [Fri, 12 Aug 2016 11:23:40 +0000 (11:23 +0000)]
Merge "ARM: Add vldm/vstm assembler support."
Vladimir Marko [Fri, 12 Aug 2016 10:37:05 +0000 (10:37 +0000)]
Merge "Initialize Heap's collector pointers to null." am:
3d1d18d74d am:
e309ea5013
am:
63bf505b87
Change-Id: I3a80a6d220a7f165253ff26737095758aec3672e
Vladimir Marko [Fri, 12 Aug 2016 10:33:34 +0000 (10:33 +0000)]
Merge "Initialize Heap's collector pointers to null." am:
3d1d18d74d
am:
e309ea5013
Change-Id: Iee98c89847020cb3c6d0bb8dd549870a9d667d60
Vladimir Marko [Fri, 12 Aug 2016 10:30:06 +0000 (10:30 +0000)]
Merge "Initialize Heap's collector pointers to null."
am:
3d1d18d74d
Change-Id: I043cf61f87dc57402e836433340084b3fec03058
Treehugger Robot [Fri, 12 Aug 2016 10:22:57 +0000 (10:22 +0000)]
Merge "Initialize Heap's collector pointers to null."
Andreas Gampe [Fri, 12 Aug 2016 08:15:25 +0000 (08:15 +0000)]
Merge "Revert "Iterative move coalescing for gc regalloc"" am:
0c283627c0 am:
54d3bcee82
am:
a54fca94e4
Change-Id: I3e8df35b2d3d4147f7642b3d784d7f72ff4d8b04
Andreas Gampe [Fri, 12 Aug 2016 08:12:25 +0000 (08:12 +0000)]
Merge "Revert "Iterative move coalescing for gc regalloc"" am:
0c283627c0
am:
54d3bcee82
Change-Id: Ia3c3c5fe9ee9f473434a8a052f6cddf123d24beb
Andreas Gampe [Fri, 12 Aug 2016 08:08:57 +0000 (08:08 +0000)]
Merge "Revert "Iterative move coalescing for gc regalloc""
am:
0c283627c0
Change-Id: I25700c95e5c7e35325636192bb8a494d6d425830
Treehugger Robot [Fri, 12 Aug 2016 08:01:43 +0000 (08:01 +0000)]
Merge "Revert "Iterative move coalescing for gc regalloc""
Wojciech Staszkiewicz [Fri, 12 Aug 2016 06:39:20 +0000 (06:39 +0000)]
Merge "Remove kRestrictCompilationFiltersToImage" am:
eef560e257 am:
c83e315346
am:
5563e5010a
Change-Id: I23fbf9d51801a25518fb1c0a645c1b0404af845c
Wojciech Staszkiewicz [Fri, 12 Aug 2016 06:36:20 +0000 (06:36 +0000)]
Merge "Remove kRestrictCompilationFiltersToImage" am:
eef560e257
am:
c83e315346
Change-Id: I4693f22487dff863bdc70453c5dae68182dfc951
Andreas Gampe [Fri, 12 Aug 2016 06:33:15 +0000 (06:33 +0000)]
Revert "Iterative move coalescing for gc regalloc"
There are lifetime issues with allocators and coloring
iterations that got flagged by valgrind.
This reverts commit
465ed699e810868fe5bb39730e6d149a4734372d.
Change-Id: I9e08172321af61d109c116a4f0742fa809e8094b
Test: m test-art-host
Wojciech Staszkiewicz [Fri, 12 Aug 2016 06:32:53 +0000 (06:32 +0000)]
Merge "Remove kRestrictCompilationFiltersToImage"
am:
eef560e257
Change-Id: Ib645687b2f18dc58a8f9a0891baeff8a653acb45
Wojciech Staszkiewicz [Fri, 12 Aug 2016 06:29:20 +0000 (06:29 +0000)]
Merge "Enable compiled-methods= dex2oat switch" am:
8be74495ac am:
32204583eb
am:
cc73c1a4a5
Change-Id: I53e482110d88d235a8f4430d97afd1b78cb94272
Treehugger Robot [Fri, 12 Aug 2016 06:28:56 +0000 (06:28 +0000)]
Merge "Remove kRestrictCompilationFiltersToImage"
Wojciech Staszkiewicz [Fri, 12 Aug 2016 06:26:20 +0000 (06:26 +0000)]
Merge "Enable compiled-methods= dex2oat switch" am:
8be74495ac
am:
32204583eb
Change-Id: I3fbee7dcce8ca963417188a5a0ceafb2d0ed1e66
Wojciech Staszkiewicz [Fri, 12 Aug 2016 06:22:51 +0000 (06:22 +0000)]
Merge "Enable compiled-methods= dex2oat switch"
am:
8be74495ac
Change-Id: I64c6fb97997642108337463054428c48ff9a4d28
Treehugger Robot [Fri, 12 Aug 2016 06:16:40 +0000 (06:16 +0000)]
Merge "Enable compiled-methods= dex2oat switch"
Andreas Gampe [Fri, 12 Aug 2016 04:11:59 +0000 (21:11 -0700)]
ART: Reduce stack frame size limit on host
Clang isn't that bad anymore.
Change-Id: Id9f3e3e34a743b43c6b535d2757be7869a8cf7ea
Andreas Gampe [Fri, 12 Aug 2016 01:35:58 +0000 (18:35 -0700)]
ART: Configure stack guard size in the Makefile
Configure the stack guard reserved size through defines set in
the Makefile. This can be used to increase the gap depending on
the configuration, which may be required to safely support Java
stack overflows in instrumented builds.
Bug:
30766843
Change-Id: Icdd3209e3a261ea8383ef8eab38153255339b04a
Test: m test-art-host
Andreas Gampe [Fri, 12 Aug 2016 01:55:34 +0000 (01:55 +0000)]
Merge "Iterative move coalescing for gc regalloc" am:
592c9bd2ad am:
ff72c79f93
am:
f12eb51f39
Change-Id: I229bbf6381bc7247869e905cae4f592902ba0140
Andreas Gampe [Fri, 12 Aug 2016 01:52:03 +0000 (01:52 +0000)]
Merge "Iterative move coalescing for gc regalloc" am:
592c9bd2ad
am:
ff72c79f93
Change-Id: I5a98c894bb3433d6f9825f970159b0804c770e8d
Andreas Gampe [Fri, 12 Aug 2016 01:48:36 +0000 (01:48 +0000)]
Merge "Iterative move coalescing for gc regalloc"
am:
592c9bd2ad
Change-Id: I0001020989745ff605d82a712bc57da88c0295b0
Andreas Gampe [Fri, 12 Aug 2016 01:43:26 +0000 (01:43 +0000)]
Merge "Iterative move coalescing for gc regalloc"
Mathieu Chartier [Wed, 10 Aug 2016 01:37:09 +0000 (18:37 -0700)]
Optimize x86_64 TLAB allocation speed
Added assembly fast path code for resolved and initialized object
region TLAB allocations. Removed 3 instructions from TLAB fast path.
Added assembly fast path for array TLAB region allocators.
Should have more speedups for read barrier fast paths during
resolved and initialized alloc entrypoints.
Bug:
30162165
Test: test-art-host CC baker
Change-Id: I64dd06be5f18c8d6a5de0f15f0e2e7d488e99f18
Matthew Gharrity [Fri, 12 Aug 2016 00:20:05 +0000 (17:20 -0700)]
Use TestCodeGeneratorX86 in codegen unit tests
The codegen unit tests are supposed to use special "test" code
generators when targeting ARM and x86 (due to differing calling
conventions between the C++ source code and the generated code),
yet TestCodeGeneratorX86 was not being used. This fixes that.
(The tests were only succeeding because the register allocator happened
to not assign the EBX register.)
Test: m test-art-host-gtest-codegen_test
Change-Id: Ia3dd6998c38e9ff27b8c2734457f86b3fed44ab4
Alex Light [Thu, 11 Aug 2016 17:48:03 +0000 (10:48 -0700)]
Add basic runtime-plugins support.
This allows one to pass shared-libraries on the command line that the
runtime will load as plugins. They have access to runtime code and can
install hooks to add functionality. Currently the only hook they can
touch is JavaVMExt::AddEnvironmentHook to register a callback for
GetEnv(). More hooks might be added in the future.
Test: ./test/run-test 900
Change-Id: I852b4daf5a3fa71e9888722bc07794632c0e5010
Alex Light [Thu, 28 Jul 2016 17:07:45 +0000 (10:07 -0700)]
Create a basic agent loading framework.
Currently we only allow agents to be loaded at runtime startup, though
this is expected to change soon.
Test: ./test/run-test --host 900
Change-Id: Id648eaed4bbbe6fdef41d64922d023a4db0bfa54
Matthew Gharrity [Fri, 22 Jul 2016 15:52:13 +0000 (08:52 -0700)]
Iterative move coalescing for gc regalloc
Implement iterative move coalescing for graph coloring
register allocation. Based on Andrew Appel's implementation
in "Modern Compiler Implementation in Java", modified to
support constraints such as pair intervals.
Test: ART_TEST_OPTIMIZING_GRAPH_COLOR=true m test-art-host
Change-Id: I8642297d3bd798a4fc4de4b356ac3304098471a5
Vladimir Marko [Thu, 11 Aug 2016 17:25:53 +0000 (18:25 +0100)]
Initialize Heap's collector pointers to null.
Test: Run ART test suite on host.
Bug:
30807718
Change-Id: I9b83b44df250b00af48dc1aa653d78aea84d0874
Vladimir Marko [Thu, 11 Aug 2016 18:51:35 +0000 (18:51 +0000)]
Merge "x86/x86-64: Shorter fast-path for read barrier field load." am:
9d32586b52 am:
b7928f7f72
am:
a13ba150ff
Change-Id: Id0ecbc521f0a9d1916999a40e3e7beb14a42da5e
Alexandre Rames [Thu, 11 Aug 2016 18:48:13 +0000 (18:48 +0000)]
Merge "ARM64: Use libvixld when compiling for debug mode." am:
0c7972c6c2 am:
8ea9860579
am:
2e20031f0b
Change-Id: I4924e8f51e896378b99101fecc488780dad7b591
Vladimir Marko [Thu, 11 Aug 2016 18:48:06 +0000 (18:48 +0000)]
Merge "x86/x86-64: Shorter fast-path for read barrier field load." am:
9d32586b52
am:
b7928f7f72
Change-Id: I0a7fd93f0981a95214d7bf3644c68b3c7fcd3ac4
Vladimir Marko [Thu, 11 Aug 2016 18:45:06 +0000 (18:45 +0000)]
Merge "x86/x86-64: Shorter fast-path for read barrier field load."
am:
9d32586b52
Change-Id: I817da2e93d1cc5e0198c1ed2edab7b21951227e8
Alexandre Rames [Thu, 11 Aug 2016 18:45:05 +0000 (18:45 +0000)]
Merge "ARM64: Use libvixld when compiling for debug mode." am:
0c7972c6c2
am:
8ea9860579
Change-Id: Iec23f784aac5ae47f3db50e4c601604e95b69bc6
Alexandre Rames [Thu, 11 Aug 2016 18:42:10 +0000 (18:42 +0000)]
Merge "ARM64: Use libvixld when compiling for debug mode."
am:
0c7972c6c2
Change-Id: I8853f50c9c542104183ddbcf4bf36c2baa1d9e77
Treehugger Robot [Thu, 11 Aug 2016 18:41:55 +0000 (18:41 +0000)]
Merge "x86/x86-64: Shorter fast-path for read barrier field load."