OSDN Git Service
Andreas Gampe [Wed, 18 Jan 2017 18:03:23 +0000 (18:03 +0000)]
Merge "ART: Add GetJLocationFormat" am:
24e2ded0f9 am:
e0f3ca5461
am:
421d20dd99
Change-Id: Icf0d004ae975b81924f28bdc0a852006c46687f1
Andreas Gampe [Wed, 18 Jan 2017 17:39:21 +0000 (17:39 +0000)]
Merge "ART: Add GetJLocationFormat" am:
24e2ded0f9
am:
e0f3ca5461
Change-Id: Ie2b44b6342d01c3fb415ee5ae3b7c05cdc80edaa
Andreas Gampe [Wed, 18 Jan 2017 17:32:51 +0000 (17:32 +0000)]
Merge "ART: Add GetJLocationFormat"
am:
24e2ded0f9
Change-Id: Idb6bef4d3f6d5f1af10059f11a3f48df5154a408
Treehugger Robot [Wed, 18 Jan 2017 17:15:41 +0000 (17:15 +0000)]
Merge "ART: Add GetJLocationFormat"
Nicolas Geoffray [Wed, 18 Jan 2017 16:17:16 +0000 (16:17 +0000)]
Merge "Load the array class in the compiler for allocations." am:
c3b7bf3bcc am:
77e673a0e3
am:
5efe65c53f
Change-Id: I33a5c547c11681cf9fe82837c9d0376815cca326
Nicolas Geoffray [Wed, 18 Jan 2017 16:17:01 +0000 (16:17 +0000)]
Merge "Fix Mips build." am:
2ee01bff00 am:
37d922f1d8
am:
baf5382870
Change-Id: Iacb55a60454943fe3a874f177b369739bf99bf28
Vladimir Marko [Wed, 18 Jan 2017 16:16:46 +0000 (16:16 +0000)]
Merge "Fix IP register usage in LoadClassSlowPathARMVIXL." am:
404b012061 am:
79d0521127
am:
089c33b7b5
Change-Id: I034839dcd4edc80a40de467b95f518e2f65a800c
Nicolas Geoffray [Wed, 18 Jan 2017 16:00:17 +0000 (16:00 +0000)]
Merge "Load the array class in the compiler for allocations." am:
c3b7bf3bcc
am:
77e673a0e3
Change-Id: If2c045b207d83ad71d989960644ab6c2cdd56522
Nicolas Geoffray [Wed, 18 Jan 2017 15:54:14 +0000 (15:54 +0000)]
Merge "Load the array class in the compiler for allocations."
am:
c3b7bf3bcc
Change-Id: I3fa61cd9e27138c4a6fdbc0aff0fe0959c147bf2
Nicolas Geoffray [Wed, 18 Jan 2017 15:43:07 +0000 (15:43 +0000)]
Merge "Load the array class in the compiler for allocations."
Nicolas Geoffray [Tue, 17 Jan 2017 23:00:24 +0000 (23:00 +0000)]
Load the array class in the compiler for allocations.
Removing one other dependency for needing to pass
the current method, and having dex_cache_resolved_types_
in ArtMethod.
oat file increase:
- x64: 0.25%
- arm32: 0.30%
- x86: 0.28%
test: test-art-host, test-art-target
Change-Id: Ibca4fa00d3e31954db2ccb1f65a584b8c67cb230
Nicolas Geoffray [Wed, 18 Jan 2017 15:05:40 +0000 (15:05 +0000)]
Merge "Fix Mips build." am:
2ee01bff00
am:
37d922f1d8
Change-Id: I8dfbd4b2bd7021e94ed2a98dac132214b2f2ab0d
Nicolas Geoffray [Wed, 18 Jan 2017 15:00:41 +0000 (15:00 +0000)]
Merge "Fix Mips build."
am:
2ee01bff00
Change-Id: I53c80cf9ff1335e7751553e43654768affd584fe
Treehugger Robot [Wed, 18 Jan 2017 14:52:33 +0000 (14:52 +0000)]
Merge "Fix Mips build."
Vladimir Marko [Wed, 18 Jan 2017 14:44:40 +0000 (14:44 +0000)]
Merge "Fix IP register usage in LoadClassSlowPathARMVIXL." am:
404b012061
am:
79d0521127
Change-Id: I8ac26e3a5d09fbe2f96c8f510b322129da69a550
Vladimir Marko [Wed, 18 Jan 2017 14:39:40 +0000 (14:39 +0000)]
Merge "Fix IP register usage in LoadClassSlowPathARMVIXL."
am:
404b012061
Change-Id: Id20492f64e0e41cc083cc1050c5305c4989bf62c
Treehugger Robot [Wed, 18 Jan 2017 14:28:59 +0000 (14:28 +0000)]
Merge "Fix IP register usage in LoadClassSlowPathARMVIXL."
Nicolas Geoffray [Wed, 18 Jan 2017 13:30:00 +0000 (13:30 +0000)]
Fix Mips build.
Test: build mips
Change-Id: Icadff73d6a266bbdfd6cb67a66f04f559f28846d
Vladimir Marko [Wed, 18 Jan 2017 12:54:44 +0000 (12:54 +0000)]
Fix IP register usage in LoadClassSlowPathARMVIXL.
Request a temporary from a UseScratchRegisterScope instead
of explicitly specifying the IP register to avoid assetion
failure in VIXL.
Test: Build aosp_flounder-userdebug with ART_USE_VIXL_ARM_BACKEND=true
Bug:
34340177
Bug:
30627598
Change-Id: Ie39fbbb66165d752634cde8d2963129641558b93
Nicolas Geoffray [Wed, 18 Jan 2017 12:52:03 +0000 (12:52 +0000)]
Merge "Entrypoints cleanup." am:
4507fdcb70 am:
33cced00b3
am:
6396de7ce5
Change-Id: Ide7d612644c36ae7d525b17d144d476de8c30ebe
Nicolas Geoffray [Wed, 18 Jan 2017 12:49:34 +0000 (12:49 +0000)]
Merge "Entrypoints cleanup." am:
4507fdcb70
am:
33cced00b3
Change-Id: I38c2c358556d4c1b9a0ad195b411cc452a7761f4
Nicolas Geoffray [Wed, 18 Jan 2017 12:46:32 +0000 (12:46 +0000)]
Merge "Entrypoints cleanup."
am:
4507fdcb70
Change-Id: I8dcbe8868f6fe7f040d6d72ca4837cec90167586
Nicolas Geoffray [Wed, 18 Jan 2017 12:40:59 +0000 (12:40 +0000)]
Merge "Entrypoints cleanup."
Nicolas Geoffray [Wed, 18 Jan 2017 12:40:31 +0000 (12:40 +0000)]
Merge "Blacklist tests for flaky no-image." am:
419b7f558d am:
40c45cf5e4
am:
be269f1d3a
Change-Id: Iaaeaa53dd665b2d142fc8db51903cc58b2aee351
Nicolas Geoffray [Wed, 18 Jan 2017 12:37:31 +0000 (12:37 +0000)]
Merge "Blacklist tests for flaky no-image." am:
419b7f558d
am:
40c45cf5e4
Change-Id: Id0908b0cb390d3cb39788d6c8410e366d8bd6cdf
Nicolas Geoffray [Wed, 18 Jan 2017 12:34:31 +0000 (12:34 +0000)]
Merge "Blacklist tests for flaky no-image."
am:
419b7f558d
Change-Id: I3452b516b701c8539b682226a96e7075075e20e2
Treehugger Robot [Wed, 18 Jan 2017 12:28:27 +0000 (12:28 +0000)]
Merge "Blacklist tests for flaky no-image."
Nicolas Geoffray [Fri, 13 Jan 2017 16:04:53 +0000 (16:04 +0000)]
Entrypoints cleanup.
Remove unused ones to facilitate the transition to compressed
dex caches.
test: test-art-host, test-art-target
Change-Id: I1d1cb0daffa86dd9dda2eaa3c1ea3650a5c8d9d0
Nicolas Geoffray [Wed, 18 Jan 2017 11:08:02 +0000 (11:08 +0000)]
Blacklist tests for flaky no-image.
bug:
34369284
Change-Id: I09db432db8d99223f4f41e2d7bda7927ad5af9d5
Vladimir Marko [Wed, 18 Jan 2017 11:01:24 +0000 (11:01 +0000)]
Merge "Reduce using ArtMethod's dex_cache_resolved_types_." am:
a397458175 am:
6149b30541
am:
0ba0bed178
Change-Id: I4a39819fe7c4c3f3cb942212194d53573fa47c60
Vladimir Marko [Wed, 18 Jan 2017 10:59:26 +0000 (10:59 +0000)]
Merge "Reduce using ArtMethod's dex_cache_resolved_types_." am:
a397458175
am:
6149b30541
Change-Id: Ie2810e3d7d82e1e0c8f2414bf7a53cabc6d0e83e
Vladimir Marko [Wed, 18 Jan 2017 10:56:55 +0000 (10:56 +0000)]
Merge "Reduce using ArtMethod's dex_cache_resolved_types_."
am:
a397458175
Change-Id: I1cc9a1b85d29af239222779983123acb2efe7d0a
Vladimir Marko [Wed, 18 Jan 2017 10:52:20 +0000 (10:52 +0000)]
Merge "Reduce using ArtMethod's dex_cache_resolved_types_."
Vladimir Marko [Wed, 18 Jan 2017 10:35:56 +0000 (10:35 +0000)]
Merge "MIPS: Fix polymorphic invokes." am:
c66a76f94e am:
5fe9b5b46d
am:
5fcf2aef5a
Change-Id: I52e6861b5ddac54278104b895fe8457281fffe53
Vladimir Marko [Wed, 18 Jan 2017 10:33:25 +0000 (10:33 +0000)]
Merge "MIPS: Fix polymorphic invokes." am:
c66a76f94e
am:
5fe9b5b46d
Change-Id: I42acfc6b53be6ed31f8928a4a8fe1e36e378dda0
Vladimir Marko [Wed, 18 Jan 2017 10:29:54 +0000 (10:29 +0000)]
Merge "MIPS: Fix polymorphic invokes."
am:
c66a76f94e
Change-Id: I018f136295de9af5b0575d092bff1a538768bb57
Vladimir Marko [Wed, 18 Jan 2017 10:25:54 +0000 (10:25 +0000)]
Merge "MIPS: Fix polymorphic invokes."
Alexey Frunze [Tue, 17 Jan 2017 03:03:21 +0000 (19:03 -0800)]
MIPS: Fix polymorphic invokes.
This fixes MIPS-specific optimizing compiler bugs introduced in
commit
ac141397dc29189ad2b2df41f8d4312246beec60.
The below tests still fail in interpreter mode and this will be
addressed separately.
Test: booted MIPS32R2 in QEMU
Test: ./run-test --optimizing 953-invoke-polymorphic-compiler
Test: ./run-test --optimizing 955-methodhandles-smali
Test: ./run-test --optimizing 956-methodhandles
Test: ./run-test --optimizing 957-methodhandle-transforms
Test: ./run-test --optimizing 958-methodhandle-emulated-stackframe
Test: ./run-test --optimizing 959-invoke-polymorphic-accessors
Test: booted MIPS64 (with 2nd arch MIPS32R6) in QEMU
Test: same tests as above and
Test: ./run-test --optimizing --64 953-invoke-polymorphic-compiler
Test: ./run-test --optimizing --64 955-methodhandles-smali
Test: ./run-test --optimizing --64 956-methodhandles
Test: ./run-test --optimizing --64 957-methodhandle-transforms
Test: ./run-test --optimizing --64 958-methodhandle-emulated-stackframe
Test: ./run-test --optimizing --64 959-invoke-polymorphic-accessors
Change-Id: I6119e8b86448e022f68b10cd3a8912a2bd1976c5
Andreas Gampe [Wed, 18 Jan 2017 03:00:27 +0000 (03:00 +0000)]
Merge "Revert "Revert "ART: Add ThreadGroup API support""" am:
a6040d4cca am:
95fadc572a
am:
79e8d9be64
Change-Id: Ibdbcec1cab3c10f5d6bb5e4ad1815f22628b39b2
Andreas Gampe [Wed, 18 Jan 2017 02:57:57 +0000 (02:57 +0000)]
Merge "Revert "Revert "ART: Add ThreadGroup API support""" am:
a6040d4cca
am:
95fadc572a
Change-Id: I6d0aa83dc9fb4b3da9a79597476b4b51818f4f9f
Andreas Gampe [Wed, 18 Jan 2017 02:55:27 +0000 (02:55 +0000)]
Merge "Revert "Revert "ART: Add ThreadGroup API support"""
am:
a6040d4cca
Change-Id: I527259682522c2aea0d49fed7e1ef202197fce25
Andreas Gampe [Wed, 18 Jan 2017 02:51:15 +0000 (02:51 +0000)]
Merge "Revert "Revert "ART: Add ThreadGroup API support"""
Andreas Gampe [Wed, 18 Jan 2017 02:36:56 +0000 (18:36 -0800)]
ART: Add GetJLocationFormat
Add support for GetJLocationFormat. Set the format to bytecode
indices.
Bug:
31455788
Test: m test-art-host
Change-Id: I1e1142686a9187274dd45d6243cdad500d2dc7d1
Mathieu Chartier [Wed, 18 Jan 2017 00:56:49 +0000 (00:56 +0000)]
Merge "Do test_getStackTraces last for test 129" am:
fd5f52b60c am:
6666edfdf7
am:
2d5c19a2ae
Change-Id: Icb70433d83d2ba9e886185e1dc59e7211c8867fc
Mathieu Chartier [Wed, 18 Jan 2017 00:50:49 +0000 (00:50 +0000)]
Merge "Do test_getStackTraces last for test 129" am:
fd5f52b60c
am:
6666edfdf7
Change-Id: I7dd8293b6fdd2153bf153fec573d8c292bd2bb44
Mathieu Chartier [Wed, 18 Jan 2017 00:45:48 +0000 (00:45 +0000)]
Merge "Do test_getStackTraces last for test 129"
am:
fd5f52b60c
Change-Id: I60340d52f9c2b26005a22f3a48d95e8c39f1369a
Mathieu Chartier [Wed, 18 Jan 2017 00:39:08 +0000 (00:39 +0000)]
Merge "Do test_getStackTraces last for test 129"
Andreas Gampe [Tue, 17 Jan 2017 23:52:14 +0000 (23:52 +0000)]
Merge "ART: Disable app images for test 912" am:
3a5e34b657 am:
614771a246
am:
669fd4ae38
Change-Id: I441b1ad5c53ae6bf290ee8fb51e5ff390bd86069
Andreas Gampe [Tue, 17 Jan 2017 23:50:17 +0000 (23:50 +0000)]
Merge "ART: Disable app images for test 912" am:
3a5e34b657
am:
614771a246
Change-Id: I5e692f17d982df832b3177a6e422c2d65e545ddd
Andreas Gampe [Tue, 17 Jan 2017 23:47:44 +0000 (23:47 +0000)]
Merge "ART: Disable app images for test 912"
am:
3a5e34b657
Change-Id: I5e6571ceba95ee5184c804c0590ebadcf7205f41
Andreas Gampe [Tue, 17 Jan 2017 23:44:38 +0000 (23:44 +0000)]
Merge "ART: Disable app images for test 912"
Andreas Gampe [Tue, 17 Jan 2017 23:27:19 +0000 (23:27 +0000)]
Merge "ART: Fix missing CLOCK_MONOTONIC on Mac" am:
442a83a762 am:
d199dafabc
am:
fed07c2894
Change-Id: I2d37b583065688e65b74bc8dcafbe6a9187a8f1b
Andreas Gampe [Tue, 17 Jan 2017 23:24:48 +0000 (23:24 +0000)]
Merge "ART: Fix missing CLOCK_MONOTONIC on Mac" am:
442a83a762
am:
d199dafabc
Change-Id: Ib8665e14bdc3c54959a625f09674b5ac85101707
Andreas Gampe [Tue, 17 Jan 2017 23:23:12 +0000 (23:23 +0000)]
Merge "ART: Fix missing CLOCK_MONOTONIC on Mac"
am:
442a83a762
Change-Id: Id723e233328185c09e5ac41b1d10947fa7747997
Andreas Gampe [Tue, 17 Jan 2017 23:18:05 +0000 (23:18 +0000)]
Merge "ART: Fix missing CLOCK_MONOTONIC on Mac"
Andreas Gampe [Mon, 16 Jan 2017 16:08:45 +0000 (16:08 +0000)]
Revert "Revert "ART: Add ThreadGroup API support""
This reverts commit
87071bfb6c1b708bdfa2a5f91d4744667b3a0443.
Add an ObjectLock, which corresponds to the synchronized(this)
implementation on the Java side. Wait for the expected five
child threads in the root group before running the actual
child test.
Bug:
31455788
Change-Id: Ib7a065d6a11f06f0325e3a8db040629f3ca69407
Test: m test-art-host-run-test-925-threadgroups
Aart Bik [Tue, 17 Jan 2017 22:19:08 +0000 (22:19 +0000)]
Merge "Introduce a number of SIMD extensions for x86/x86_64 (SSE)." am:
55ddcc8fe9 am:
1fd464d235
am:
31ce876f11
Change-Id: Ic9091b8cf9ccfc3f63a5c5f3443b42c35712bf2c
Aart Bik [Tue, 17 Jan 2017 22:17:10 +0000 (22:17 +0000)]
Merge "Introduce a number of SIMD extensions for x86/x86_64 (SSE)." am:
55ddcc8fe9
am:
1fd464d235
Change-Id: I01cedaef082e4059bead00efb0c04db59965ea6e
Aart Bik [Tue, 17 Jan 2017 22:14:37 +0000 (22:14 +0000)]
Merge "Introduce a number of SIMD extensions for x86/x86_64 (SSE)."
am:
55ddcc8fe9
Change-Id: Icf3a6d79bc5b1eee1f0082be881fa6de3feff4aa
Aart Bik [Tue, 17 Jan 2017 22:10:25 +0000 (22:10 +0000)]
Merge "Introduce a number of SIMD extensions for x86/x86_64 (SSE)."
Andreas Gampe [Tue, 17 Jan 2017 22:01:50 +0000 (14:01 -0800)]
ART: Disable app images for test 912
To have precise info for actually loaded classes.
Bug:
31684578
Test: m ART_TEST_INTERPRETER=true test-art-host-run-test-912-classes
Change-Id: I06a9303befab40c619f9d1e3d677024c8f3b0ba3
Andreas Gampe [Tue, 17 Jan 2017 21:32:52 +0000 (13:32 -0800)]
ART: Fix missing CLOCK_MONOTONIC on Mac
Fix the Mac build.
Bug:
31455788
Test: m
Change-Id: I03e927c28fe62abc1b14ea799190d00a081f33f7
Alex Light [Tue, 17 Jan 2017 21:30:36 +0000 (21:30 +0000)]
Merge "Revert "Revert "Try really hard for JIT in test 916""" am:
ce27739a12 am:
00449a97d7
am:
f7ea747ab0
Change-Id: Icc587822c174dde42240fc5a60e8d1bd00ae8d94
Alex Light [Tue, 17 Jan 2017 21:28:34 +0000 (21:28 +0000)]
Merge "Revert "Revert "Try really hard for JIT in test 916""" am:
ce27739a12
am:
00449a97d7
Change-Id: I3638d5549563a1c27f58085126a1c0936d36e443
Alex Light [Tue, 17 Jan 2017 21:26:36 +0000 (21:26 +0000)]
Merge "Revert "Revert "Try really hard for JIT in test 916"""
am:
ce27739a12
Change-Id: I6c67e5b4c26fe9981734b36bffceac611ad7e21a
Nicolas Geoffray [Tue, 17 Jan 2017 21:26:35 +0000 (21:26 +0000)]
Merge "Revert "Remove unused code for patching oat files."" am:
b51dee62cd am:
208c6e8f2f
am:
db48a75168
Change-Id: I5aa9063623feef8fd4b36fcd6b2e0009b92e0913
Nicolas Geoffray [Tue, 17 Jan 2017 21:24:07 +0000 (21:24 +0000)]
Merge "Revert "Remove unused code for patching oat files."" am:
b51dee62cd
am:
208c6e8f2f
Change-Id: If47538bca28aa3d05c29e38eb9cf0323ec95b05c
Treehugger Robot [Tue, 17 Jan 2017 21:23:15 +0000 (21:23 +0000)]
Merge "Revert "Revert "Try really hard for JIT in test 916"""
Nicolas Geoffray [Tue, 17 Jan 2017 21:21:34 +0000 (21:21 +0000)]
Merge "Revert "Remove unused code for patching oat files.""
am:
b51dee62cd
Change-Id: If1354ab4abeeae103cea2d4d97a0e04d44f78eae
Nicolas Geoffray [Tue, 17 Jan 2017 21:19:02 +0000 (21:19 +0000)]
Merge "Revert "Remove unused code for patching oat files.""
Nicolas Geoffray [Tue, 17 Jan 2017 21:18:34 +0000 (21:18 +0000)]
Revert "Remove unused code for patching oat files."
oat_file_assistant_test fails on target.
Bug:
33192586
This reverts commit
c9f76628ce1dc54f852b689ed1722b7e154b2a9d.
Change-Id: Ie3b8900ed16d0f4033a76c7eb60ac8e9ad13f089
Mathieu Chartier [Tue, 17 Jan 2017 19:05:20 +0000 (11:05 -0800)]
Do test_getStackTraces last for test 129
Doing this check last leaves time for the heap task daemon to call
TaskProcessor::RunAllTasks. This should hopefully fix the flakiness
of test 129 during startup.
Test: test-art-host-run-test
Bug:
34342857
Change-Id: I85f8d78083092df802728c59a4c86f63be8d949a
Andreas Gampe [Tue, 17 Jan 2017 20:42:32 +0000 (20:42 +0000)]
Merge "ART: Add three Timer functions" am:
bea5f85f6c am:
0f5a50ac34
am:
81f21e8c33
Change-Id: If1c64ac15ae26a6b9193f4f396dd292a5484547c
Andreas Gampe [Tue, 17 Jan 2017 20:39:36 +0000 (20:39 +0000)]
Merge "ART: Add three Timer functions" am:
bea5f85f6c
am:
0f5a50ac34
Change-Id: I928559433e398be44c9b3cbdcb53f03bc5b9e69d
Andreas Gampe [Tue, 17 Jan 2017 20:37:04 +0000 (20:37 +0000)]
Merge "ART: Add three Timer functions"
am:
bea5f85f6c
Change-Id: I440be88daf832a4dc712d0f48deec02c5a07f354
Treehugger Robot [Tue, 17 Jan 2017 20:32:42 +0000 (20:32 +0000)]
Merge "ART: Add three Timer functions"
Andreas Gampe [Tue, 17 Jan 2017 19:12:41 +0000 (19:12 +0000)]
Merge "ART: Add GetClassLoaderClasses" am:
7ccdf0929f am:
efeff19303
am:
54c16c9492
Change-Id: I72a9ee4396f529a4598f30a68dd0ec1bc73d1e93
Andreas Gampe [Tue, 17 Jan 2017 19:12:28 +0000 (19:12 +0000)]
Merge "ART: Add SetVerboseFlags" am:
c5603b7daa am:
5715993f4a
am:
1004338813
Change-Id: I3cb73ddd9676d16d9842bc28b204a4c10109fd1c
Andreas Gampe [Tue, 17 Jan 2017 19:05:38 +0000 (19:05 +0000)]
Merge "ART: Add GetClassLoaderClasses" am:
7ccdf0929f
am:
efeff19303
Change-Id: I6073ee19b06d347216ae081bebec87bfd9f59bb0
Andreas Gampe [Tue, 17 Jan 2017 19:05:23 +0000 (19:05 +0000)]
Merge "ART: Add SetVerboseFlags" am:
c5603b7daa
am:
5715993f4a
Change-Id: If66cb7956ba99f53a5580603b671f4d2ad9aefa1
Andreas Gampe [Tue, 17 Jan 2017 18:45:46 +0000 (18:45 +0000)]
Merge "ART: Add GetClassLoaderClasses"
am:
7ccdf0929f
Change-Id: Ibf2fe1250b92ed6636f3c072b15a53b04d395c46
Andreas Gampe [Tue, 17 Jan 2017 18:45:32 +0000 (18:45 +0000)]
Merge "ART: Add SetVerboseFlags"
am:
c5603b7daa
Change-Id: I40b2777fabc8c02ad14b6628189fa4719e1f257e
Andreas Gampe [Sat, 14 Jan 2017 00:24:17 +0000 (16:24 -0800)]
ART: Add three Timer functions
Add support for GetAvailableProcessors, GetTimerInfo and GetTime.
Add tests.
Bug:
31455788
Test: m test-art-host-run-test-926-timers
Change-Id: I9629654349787e27dee686284567b5de70e138f2
Treehugger Robot [Tue, 17 Jan 2017 18:15:57 +0000 (18:15 +0000)]
Merge "ART: Add GetClassLoaderClasses"
Treehugger Robot [Tue, 17 Jan 2017 18:15:44 +0000 (18:15 +0000)]
Merge "ART: Add SetVerboseFlags"
Alex Light [Sat, 14 Jan 2017 01:48:01 +0000 (01:48 +0000)]
Revert "Revert "Try really hard for JIT in test 916""
We were looping forever waiting for the entrypoint to be switched
despite the JIT being disabled by the tracing instrumentation.
This reverts commit
ca4feac9484464a858990ca588398fceead55354.
Reason for revert: Problem with ensureJitCompiled fixed
Test: ART_TEST_TRACE=true \
ART_TEST_OPTIMIZING=false \
ART_TEST_INTERPRETER=true \
ART_USE_READ_BARRIER=false \
mma -j40 test-art-host-run-test-916-obsolete-jit
Change-Id: I11f1e3f6cf65f90509a1ba66625a7988f3d94af6
Narayan Kamath [Tue, 17 Jan 2017 18:06:34 +0000 (18:06 +0000)]
Merge "MethodHandles: Remove experimental flag." am:
49a694b84b am:
ee9fe277b6
am:
9d77795ab5
Change-Id: I11c6e22e73b8447473989d7a332d459f0a7f2b6e
Narayan Kamath [Tue, 17 Jan 2017 17:46:30 +0000 (17:46 +0000)]
Merge "MethodHandles: Remove experimental flag." am:
49a694b84b
am:
ee9fe277b6
Change-Id: Id11b33758243e0ce83297af9dd5fb93563feb95c
Narayan Kamath [Tue, 17 Jan 2017 17:26:27 +0000 (17:26 +0000)]
Merge "MethodHandles: Remove experimental flag."
am:
49a694b84b
Change-Id: I944ec7dec6b4924aa2122ba26f2e671a1afb792e
Narayan Kamath [Tue, 17 Jan 2017 17:05:33 +0000 (17:05 +0000)]
Merge "MethodHandles: Remove experimental flag."
Narayan Kamath [Tue, 17 Jan 2017 13:20:55 +0000 (13:20 +0000)]
MethodHandles: Remove experimental flag.
Runtime::IsMethodHandlesEnabled now always returns true.
This change also removes the (now unnecessary) run scripts
for method handle tests.
Note that the --experimental=method-handles flag is left in
place for the test build steps (etc/default-build) because it's still a
convenient way to supply arguments to jack / smali.
Test: make test-art-host
Change-Id: I8475c7b8ac2615ac382a06ce54be39dce3cc7713
Nicolas Geoffray [Tue, 17 Jan 2017 16:46:25 +0000 (16:46 +0000)]
Merge "Acquire the mutator lock before comparing classes/strings." am:
0a384f5beb am:
82bf0a2e43
am:
3e6bc09b5b
Change-Id: I684727d3eff02e7611f7cb6aa6fc8dbcdd620003
Nicolas Geoffray [Tue, 17 Jan 2017 16:27:24 +0000 (16:27 +0000)]
Merge "Acquire the mutator lock before comparing classes/strings." am:
0a384f5beb
am:
82bf0a2e43
Change-Id: Ia69cca66b278726fce605d8d718caec9f280471f
Vladimir Marko [Mon, 16 Jan 2017 20:52:19 +0000 (20:52 +0000)]
Reduce using ArtMethod's dex_cache_resolved_types_.
Avoid using the ArtMethod's dex cache type array shortcut
in runtime, preparing for its removal. We do not completely
remove the shortcut yet because it is still used by array
allocation entrypoints.
Fix ArgArray::BuildArgArrayFromObjectArray in reflection.cc
to not ask for the parameter type to be resolved. It should
have been previously resolved when retrieving the Method.
Also partially revert
https://android-review.googlesource.com/310717
because it relied on the removed AIOOBE check in the removed
ArtMethod::GetDexCacheResolvedType(). The removed check was
simply defensive but it could not be triggered without some
memory corruption.
Test: m test-art-host
Bug:
30627598
Change-Id: Ic45a5ff8c66b79429e440cbc08d67bf22a083682
Nicolas Geoffray [Tue, 17 Jan 2017 16:07:23 +0000 (16:07 +0000)]
Merge "Acquire the mutator lock before comparing classes/strings."
am:
0a384f5beb
Change-Id: I69a0d6cab86d22aa6a2181cb4c8db7a4041adc29
Roland Levillain [Tue, 17 Jan 2017 16:07:22 +0000 (16:07 +0000)]
Merge "Move some fields in art::Thread to reduce maintenance burden." am:
041043021e am:
e5ab4b19ef
am:
0a7bc49893
Change-Id: I31ae82eee807257860f9809aaa1fe40dd9fb4a8d
Nicolas Geoffray [Tue, 17 Jan 2017 15:48:00 +0000 (15:48 +0000)]
Merge "Acquire the mutator lock before comparing classes/strings."
Roland Levillain [Tue, 17 Jan 2017 15:47:53 +0000 (15:47 +0000)]
Merge "Move some fields in art::Thread to reduce maintenance burden." am:
041043021e
am:
e5ab4b19ef
Change-Id: I4262e547ee02061e3b95a53d1e44c85d04bfed82
Roland Levillain [Tue, 17 Jan 2017 15:28:21 +0000 (15:28 +0000)]
Merge "Move some fields in art::Thread to reduce maintenance burden."
am:
041043021e
Change-Id: I74f2ea210589a882a04303cf8cee73b0445410be
Treehugger Robot [Tue, 17 Jan 2017 15:07:48 +0000 (15:07 +0000)]
Merge "Move some fields in art::Thread to reduce maintenance burden."