OSDN Git Service
Treehugger Robot [Wed, 29 Mar 2017 21:56:07 +0000 (21:56 +0000)]
Merge "Undo dex2dex compilation before invoking LoadHook"
Mathieu Chartier [Wed, 29 Mar 2017 21:44:43 +0000 (21:44 +0000)]
Merge "Layout string data"
Treehugger Robot [Wed, 29 Mar 2017 19:37:40 +0000 (19:37 +0000)]
Merge "Change Ti::Agent collection from vector to List"
Alex Light [Tue, 28 Mar 2017 16:07:36 +0000 (09:07 -0700)]
Undo dex2dex compilation before invoking LoadHook
We need to undo any dex_to_dex compilation that might have taken place
before passing a dex file to any registered ClassFileLoadHooks to
ensure that no internal opcodes are present in any methods.
Test: ./test.py --host -j40
Bug:
36653594
Change-Id: Ia42c77312e685d69f6b3ea764fad01710b10ab45
Calin Juravle [Wed, 29 Mar 2017 18:17:04 +0000 (18:17 +0000)]
Merge "Gracefully handle bogus profiling info for inline caches."
Calin Juravle [Wed, 29 Mar 2017 18:12:39 +0000 (18:12 +0000)]
Merge "Fix profile merges in profman"
Mathieu Chartier [Mon, 27 Mar 2017 22:43:54 +0000 (15:43 -0700)]
Layout string data
Inspect dex code in class initializers and hot methods to find out
what const strings are likely to be resolved. Along with these,
look at static field accesses and group the field name and type with
other hot strings.
Group method shorties together.
Maps vdex PSS: 7478k -> 6900k
No change in odex PSS.
Changed dexlayout_test to use -v instead of comparing to a hex
output.
Bug:
36457259
Bug:
35800981
Test: test-art-host
Change-Id: Iaa5de649c5b2b1d9f178525d2f42fe00e3fb879f
Alex Light [Wed, 29 Mar 2017 17:40:15 +0000 (10:40 -0700)]
Change Ti::Agent collection from vector to List
We want these to be in a list to avoid the need for moving them
around, which would introduce the need to perform annoying accounting.
Test: ./test.py --host -j40
Bug:
36716572
Bug:
31455788
Change-Id: Ie16523f4e7d79934fa7844fb9b9a26e125cfa9eb
Treehugger Robot [Wed, 29 Mar 2017 16:33:34 +0000 (16:33 +0000)]
Merge "ART: Fix ObjectFree reporting"
Treehugger Robot [Wed, 29 Mar 2017 14:57:48 +0000 (14:57 +0000)]
Merge "ART: Fix GetThreadInfo"
Orion Hodson [Wed, 29 Mar 2017 14:03:19 +0000 (14:03 +0000)]
Merge "Performance improvements in invoke-polymorphic runtime support"
Orion Hodson [Tue, 21 Mar 2017 10:04:12 +0000 (10:04 +0000)]
Performance improvements in invoke-polymorphic runtime support
Fineses the runtime support for invoke-polymorphic to improve
MethodHandle benchmark measurements by an average of 14%.
- Faster conversion checks for non-exact invokes.
- Avoid conversion checks for CallerTransformers and Transforms.
- Fast path for exact invokes avoiding conversion checks.
- Use cheaper constructs where possible.
Most of these changes are driven by simulation in callgrind.
Bug:
30550796
Test: m test-art-host
Change-Id: I38722b0d41db8e528f2730a826b1710b9fd1f6a9
Treehugger Robot [Wed, 29 Mar 2017 11:11:52 +0000 (11:11 +0000)]
Merge "MIPS: Implement read barriers."
Alexey Frunze [Fri, 10 Feb 2017 03:08:30 +0000 (19:08 -0800)]
MIPS: Implement read barriers.
This is the core functionality. Further improvements
will be done separately.
This also adds/moves memory barriers where they belong and
removes the UnsafeGetLongVolatile and UnsafePutLongVolatile
MIPS32 intrinsics as they need to load/store a pair of
registers atomically, which is not supported directly by
the CPU.
Test: booted MIPS32R2 in QEMU
Test: test-art-target-run-test
Test: booted MIPS64 (with 2nd arch MIPS32R6) in QEMU
Test: "testrunner.py --target --optimizing -j1"
Test: same MIPS64 boot/test with ART_READ_BARRIER_TYPE=TABLELOOKUP
Test: "testrunner.py --target --optimizing --32 -j2" on CI20
Test: same CI20 test with ART_READ_BARRIER_TYPE=TABLELOOKUP
Change-Id: I0ff91525fefba3ec1cc019f50316478a888acced
Andreas Gampe [Wed, 29 Mar 2017 03:12:13 +0000 (20:12 -0700)]
ART: Fix ObjectFree reporting
Free events should not be dispatched to all registered envs. They
are specific to the env that the tag came from.
Add a DispatchEvent that takes an env, add an env field to the
tagging table, and connect the two.
Update the stress test. Make it actually work with a tagging
function for the second env.
Bug:
36648696
Test: ./test.py --host -r -t 905
Change-Id: I485ef1a6a57e233a2c2128b30cae93532676b3bf
Treehugger Robot [Wed, 29 Mar 2017 00:48:35 +0000 (00:48 +0000)]
Merge "Incorporate random profile tests into run-test."
Andreas Gampe [Wed, 29 Mar 2017 00:28:32 +0000 (17:28 -0700)]
ART: Fix GetThreadInfo
Fix the retrieval of the context classloader. Make sure to have
the field from the Thread class, don't look into a subclass.
Add caching for the field. Also fix the usage restriction of the
function, which is only valid during the Live phase.
Bug:
36654185
Test: ./test.py --host -r -t 924
Change-Id: I5cce41b31c32e59c80bb7c3afa03e8b0975ec54e
Calin Juravle [Fri, 24 Mar 2017 02:04:59 +0000 (19:04 -0700)]
Fix profile merges in profman
profman used ProfileCompilationInfo::Load() which was not preserving the
correct order of the dex files (in a multidex profile).
The CL fixes profman to use ProfileCompilationInfo::MergeWith which
guarantees the right dex order and redesigns profile storage to avoid
such mistakes in the future. Instead of keeping data in a map indexed by
the profile key, store it in a vector whose index match profile_index.
This way, any iteration over profile info becomes deterministic with
respect to the profile index of the dex files.
Test: m test-art-host-gtest-profile_assistant_test
m test-art-host-gtest-profile_compilation_info_test
profile YouTube.apk and compile it based on the reference profile
(failing before)
Bug:
36371709
Change-Id: Ideda1336e5aff59a7c5560429da645fe02c804c9
Mathieu Chartier [Tue, 28 Mar 2017 23:41:08 +0000 (23:41 +0000)]
Merge "Fix lock order for jvmti kTaggingLockLevel"
Nicolas Geoffray [Fri, 17 Mar 2017 13:08:26 +0000 (13:08 +0000)]
Gracefully handle bogus profiling info for inline caches.
Test: 643-checker-bogus-ic
Bug:
36371709
Change-Id: I2a52ac67a45a6bb5ddefb053a35e6edf5bc2da2f
Calin Juravle [Tue, 28 Mar 2017 21:35:32 +0000 (21:35 +0000)]
Merge "Add --profile mode to the art script"
Mathieu Chartier [Tue, 28 Mar 2017 19:59:38 +0000 (12:59 -0700)]
Fix lock order for jvmti kTaggingLockLevel
Add test for duplicate env free order.
Bug:
36648696
Test: ./test.py --host
Change-Id: I76fc8187b29f5e66cc29674320e887dbc508fe19
Jeff Hao [Mon, 27 Mar 2017 23:23:08 +0000 (16:23 -0700)]
Incorporate random profile tests into run-test.
Uses profman to generate random profiles to pass into run-test.
Adds a new COMPILER_TYPE "speed-profile" to the build.
Bug:
36107940
Test: mm test-art-host
Change-Id: I00463f59ccbd9ffa4ddff097314374aede0d47c7
Treehugger Robot [Tue, 28 Mar 2017 19:39:16 +0000 (19:39 +0000)]
Merge "Add profman option to generate a random profile based on dex files."
Calin Juravle [Fri, 17 Mar 2017 02:58:26 +0000 (19:58 -0700)]
Add --profile mode to the art script
--profile will run dalvikmvm twice. The first run records the profile by
replacing the compiler filter with interpret-only and enabling profile
saving. The second run will pass the recorded profile to dex2oat using
'-Xcompiler-option --profile-file=...'.
Test: ./out/host/linux-x86/bin/art --profile --64 -Ximage:$PWD/out/host/linux-x86/framework/core.art -Xusejit:true -Xcompiler-option --compiler-filter=speed -Xcompiler-option --compiler-backend=Optimizing -verbose:oat -Djava.library.path=$PWD/out/x86_64/host/linux-x86/lib64 -cp $PWD/generated/benchmarks.dex benchmarks.ExoPlayerBench.java.ExoPlayerBench
Bug:
36032648
Change-Id: I2dbcae43dd2972273511df9e01ebcbdfb1d84372
Treehugger Robot [Tue, 28 Mar 2017 18:30:39 +0000 (18:30 +0000)]
Merge "Add test to verify dex file passed to agent"
Jeff Hao [Mon, 27 Mar 2017 22:50:37 +0000 (15:50 -0700)]
Add profman option to generate a random profile based on dex files.
Extends --generate-test-profile to make a randomized profile based on a
set of dex files. Will randomly incorporate classes and methods from all
the dex files given. Can be given a random seed for reproducibility.
Bug:
36107940
Test: mm test-art-host-gtest-profile_assistant_test
Change-Id: Ib0e54bde5317439516a39afa41c3c9980834fa54
Calin Juravle [Tue, 28 Mar 2017 17:47:55 +0000 (17:47 +0000)]
Merge "Close the right fd in native_stack_dump"
Calin Juravle [Tue, 28 Mar 2017 17:47:43 +0000 (17:47 +0000)]
Merge "Fix return value of AtomicMethodRefMap::Get()"
Calin Juravle [Tue, 28 Mar 2017 17:47:25 +0000 (17:47 +0000)]
Merge "Fix arm64 and x86_64 code generator assertion"
Aart Bik [Tue, 28 Mar 2017 17:09:28 +0000 (17:09 +0000)]
Merge "MIPS64: Add vector registers to Mips64ManagedRegister class"
Alex Light [Mon, 27 Mar 2017 20:02:41 +0000 (13:02 -0700)]
Add test to verify dex file passed to agent
Bug:
31455788
Test: ./test.py --host -j40
Change-Id: Ibd75e21d6d9f19d9bb125a43a0f54262724e894c
Nicolas Geoffray [Tue, 28 Mar 2017 12:46:53 +0000 (12:46 +0000)]
Merge "Math.round float intrinsic for ARM."
xueliang.zhong [Thu, 16 Feb 2017 15:18:03 +0000 (15:18 +0000)]
Math.round float intrinsic for ARM.
Test: m test-art-target
Test: m 082-inline-execute
Change-Id: I1b384e388b9959eca662922bffa8675cdbfe6e6b
Nicolas Geoffray [Tue, 28 Mar 2017 07:55:30 +0000 (07:55 +0000)]
Merge "Make data dependency around HDeoptimize correct."
Richard Uhler [Tue, 28 Mar 2017 07:18:49 +0000 (07:18 +0000)]
Merge "Remove unreachable code in DexLocationToOdexFilename."
Treehugger Robot [Tue, 28 Mar 2017 02:01:24 +0000 (02:01 +0000)]
Merge "ART: Fix some tidy warnings"
Calin Juravle [Tue, 28 Mar 2017 01:12:05 +0000 (18:12 -0700)]
Close the right fd in native_stack_dump
Test: m test-art-host
Change-Id: I7edbeba699f3e957b915c5fcd52337ee64b878e2
Calin Juravle [Tue, 28 Mar 2017 01:10:47 +0000 (18:10 -0700)]
Fix return value of AtomicMethodRefMap::Get()
Test: m test-art-host
Change-Id: I3f0841af081194f56b5f5004f9bd86fa2ab34238
Calin Juravle [Tue, 28 Mar 2017 01:10:04 +0000 (18:10 -0700)]
Fix arm64 and x86_64 code generator assertion
Test: m test-art-host
Change-Id: I273d2dab079b60707a8ffb72227cac5788d1a3bc
Andreas Gampe [Tue, 28 Mar 2017 00:56:35 +0000 (00:56 +0000)]
Merge "ART: Clean up field initialization"
Treehugger Robot [Tue, 28 Mar 2017 00:17:01 +0000 (00:17 +0000)]
Merge "ART: Remove unused DexToDex level."
Treehugger Robot [Mon, 27 Mar 2017 23:10:36 +0000 (23:10 +0000)]
Merge changes I45940d2d,I100b6246,Ie0ba58b3,I7943e7a6,I172cef38, ...
* changes:
Remove signal mask checks from native bridge tests.
sigchain: fix sigaction(signal, nullptr, &sa).
sigchain: make SIG_DFL handling less broken.
sigchain: allow use of sigprocmask inside handlers.
sigchainlib: hopefully fix darwin build breakage.
Revert^2: "Make sigchain actually own the signal chain.""
Treehugger Robot [Mon, 27 Mar 2017 22:40:38 +0000 (22:40 +0000)]
Merge "Testrunner: Fix output parsing issue"
Andreas Gampe [Mon, 27 Mar 2017 22:14:27 +0000 (15:14 -0700)]
ART: Fix some tidy warnings
Fix some tidy warnings for macros and references.
Test: m test-art-host
Change-Id: I2f8ed2174634263d4784c08e637f60ed70977b73
Andreas Gampe [Mon, 27 Mar 2017 21:57:30 +0000 (14:57 -0700)]
ART: Remove unused DexToDex level.
There is only "skip" and "optimize." We no longer have a required
tier, as constructor fencing is now elision-based.
Bug:
36653594
Test: m test-art-host
Change-Id: Ide874a581fc5f887d020b3d32507e3973e7fd9a4
Josh Gao [Mon, 27 Mar 2017 20:56:23 +0000 (13:56 -0700)]
Remove signal mask checks from native bridge tests.
Bug: http://b/
36205469
Bug: http://b/
36262089
Change-Id: I45940d2d189b6e144eb2f6ebb6d24fd70e3bd206
Andreas Gampe [Mon, 27 Mar 2017 20:27:24 +0000 (13:27 -0700)]
ART: Clean up field initialization
Add explicit field initialization to default value where necessary.
Also clean up interpreter intrinsics header.
Test: m
Change-Id: I7a850ac30dcccfb523a5569fb8400b9ac892c8e5
Nicolas Geoffray [Mon, 27 Mar 2017 20:10:35 +0000 (20:10 +0000)]
Merge "One more test to disable for CHA."
Treehugger Robot [Mon, 27 Mar 2017 19:40:19 +0000 (19:40 +0000)]
Merge "Ensure 'modified' field of ArtClassDefinition is always initialized."
Nicolas Geoffray [Mon, 27 Mar 2017 19:34:56 +0000 (20:34 +0100)]
One more test to disable for CHA.
bug:
36344221
Change-Id: I03f6a3d9c6da9c3cd7e838a0c34a2cca0ab29f26
Treehugger Robot [Mon, 27 Mar 2017 19:02:08 +0000 (19:02 +0000)]
Merge "Testrunner: Temporarily fix long Dex File name issue"
Treehugger Robot [Mon, 27 Mar 2017 18:27:38 +0000 (18:27 +0000)]
Merge "Ensure jvmtiCapabilities structs are initialized."
Shubham Ajmera [Fri, 24 Mar 2017 23:19:48 +0000 (16:19 -0700)]
Testrunner: Fix output parsing issue
Android build system determines failure info in the build log
by looking for a line starting with "FAILED: ".
The new format of the testrunner makes sure that the build system
is able to parse the error from the log.
Test: ./art/test.py -r -t 00
Change-Id: Iab29f254f600d4c3ee74cae2675da3a624e724ef
Alex Light [Sat, 25 Mar 2017 00:28:30 +0000 (17:28 -0700)]
Ensure 'modified' field of ArtClassDefinition is always initialized.
This field was not always being initialized due to the use of a
default constructor. This meant we would go down unintended code paths
in some circumstances.
Test: ./test.py --host -j40
Bug:
36602266
Change-Id: Iba3521d4a2fa752a7ba59dcbcbbd30e0c09869ff
Alex Light [Mon, 27 Mar 2017 16:50:36 +0000 (09:50 -0700)]
Ensure jvmtiCapabilities structs are initialized.
We were not zero-ing a handful of jvmtiCapabilities structs.
Bug:
31455788
Test: ./test.py --host -j40
Change-Id: Ia8c67a10e3b9068bb198392d48831b36290953bf
Treehugger Robot [Mon, 27 Mar 2017 16:22:16 +0000 (16:22 +0000)]
Merge "Check for unattached threads in JVMTI functions"
Richard Uhler [Mon, 27 Mar 2017 15:53:39 +0000 (16:53 +0100)]
Remove unreachable code in DexLocationToOdexFilename.
Test: test-art-host
Change-Id: I855a58e18fba66555576cc663f4c0631b9dc4ac6
Orion Hodson [Mon, 27 Mar 2017 14:54:52 +0000 (14:54 +0000)]
Merge "Revert "Improve user-friendliness of art script.""
Orion Hodson [Mon, 27 Mar 2017 14:44:43 +0000 (14:44 +0000)]
Revert "Improve user-friendliness of art script."
Breaks jdwp test on device.
This reverts commit
35710a024c487c9e12a9a3ad72f22b10056e1a82.
Change-Id: Ib693e8588eef297495c1d55e4f55cd2ec8ef2bf3
Nicolas Geoffray [Thu, 23 Mar 2017 14:37:26 +0000 (14:37 +0000)]
Make data dependency around HDeoptimize correct.
We use HDeoptimize in a few places, but when it comes to data
dependency we either:
- don't have any (BCE, CHA), in which case we should make sure no
code that the deoptimzation guards moves before the HDeoptimize
- have one on the receiver (inline cache), in which case we can
update the dominated users with the HDeoptimize to get the data
dependency correct.
bug:
35661819
bug:
36371709
test: 644-checker-deopt
Change-Id: I4820c6710b06939e7f5a59606971693e995fb958
Treehugger Robot [Mon, 27 Mar 2017 13:50:43 +0000 (13:50 +0000)]
Merge "Initialize art_method_ in HGraph."
Nicolas Geoffray [Mon, 27 Mar 2017 11:56:16 +0000 (12:56 +0100)]
Initialize art_method_ in HGraph.
Spotted by Ivan Maidanski!
Benign as HGraph is allocated on the arena, and arenas
are always zero initialized.
test: test-art-host
Change-Id: Id8abe421e732dcf7a760f118b16b85fe1fac7c78
Treehugger Robot [Mon, 27 Mar 2017 10:59:44 +0000 (10:59 +0000)]
Merge "MIPS64: Improve method entry/exit code"
Nicolas Geoffray [Mon, 27 Mar 2017 10:53:39 +0000 (10:53 +0000)]
Merge ""Revert^6 "CHA for interface method.""""
Treehugger Robot [Mon, 27 Mar 2017 09:35:04 +0000 (09:35 +0000)]
Merge "Revert "Revert "Make original dex file be more deduplicated"""
Nicolas Geoffray [Mon, 27 Mar 2017 09:08:04 +0000 (09:08 +0000)]
Merge "Add 'dist' to gtest targets to avoid jack issues."
Nicolas Geoffray [Mon, 27 Mar 2017 09:06:14 +0000 (10:06 +0100)]
Add 'dist' to gtest targets to avoid jack issues.
Change-Id: Ibde8ba3e64817859b2bd61e575ea45057c96cd8e
Nicolas Geoffray [Mon, 27 Mar 2017 08:10:13 +0000 (08:10 +0000)]
Merge "ARM: Reduce the number of branches generated for HCondition and HSelect"
Nicolas Geoffray [Mon, 27 Mar 2017 08:09:43 +0000 (08:09 +0000)]
Merge "ARM: Improve the code generated for HInstanceOf"
Orion Hodson [Mon, 27 Mar 2017 08:08:53 +0000 (08:08 +0000)]
Merge "Improve user-friendliness of art script."
Nicolas Geoffray [Mon, 27 Mar 2017 08:00:18 +0000 (08:00 +0000)]
"Revert^6 "CHA for interface method."""
Update test expectations for CHA tests flaking on no-dex2oat.
bug:
36344221
This reverts commit
27ef25f084017421ca05508208f436b5fc11df73.
Change-Id: Ie92adc7a2ec3b3081a1c57d71f8c89247e58cd46
Nicolas Geoffray [Mon, 27 Mar 2017 07:57:46 +0000 (07:57 +0000)]
Merge "Improvements in the Inliner."
Nicolas Geoffray [Sat, 25 Mar 2017 14:10:03 +0000 (14:10 +0000)]
Merge "Makefile cleanup/fix after refactoring."
Nicolas Geoffray [Sat, 25 Mar 2017 14:05:28 +0000 (14:05 +0000)]
Makefile cleanup/fix after refactoring.
1) Put hprof-conf in ART_TEST_HOST_RUN_TEST_DEPENDENCIES
2) Remove duplicated code.
Change-Id: I11d141a13e94292f5a2bfefe1016be39aaece019
Nicolas Geoffray [Sat, 25 Mar 2017 12:45:22 +0000 (12:45 +0000)]
Merge "Fix issue with Android.run-test.mk"
Shubham Ajmera [Fri, 24 Mar 2017 21:44:10 +0000 (14:44 -0700)]
Testrunner: Temporarily fix long Dex File name issue
Instead of passing long test names, it passes a directory with shorter name.
Bug:
36039166
Test: TMPDIR=/usr/local/google/home/shubhamajmera/aosp/tmp1 \
TEMP=/usr/local/google/home/shubhamajmera/aosp/tmp1 \
TMP=/usr/local/google/home/shubhamajmera/aosp/tmp1 \
./art/test.py \
-t test-art-host-run-test-debug-prebuild-interpreter-relocate-npatchoat-ntrace-cms-checkjni-picimage-npictest-ndebuggable-201-built-in-except-detail-messages64 \
-r
Change-Id: Id361e130301a23cd0c0d10a16cdd0dc48882c22b
Alex Light [Fri, 24 Mar 2017 21:22:56 +0000 (14:22 -0700)]
Check for unattached threads in JVMTI functions
Calling the JVMTI functions with an unattached thread is required to
return JVMTI_ERROR_UNATTACHED_THREAD.
Test: ./test.py --host -j40
Bug:
36576873
Change-Id: I312b4e0a5e5fb66961f6efcc36d9480626c3461f
Alex Light [Fri, 24 Mar 2017 22:23:27 +0000 (15:23 -0700)]
Fix issue with Android.run-test.mk
We were clearing 2 makefile variables that was needed for our
buildbots to run correctly.
Test: m clean && ./test.py --target -j8
Test: m clean && ./test.py --host -j40
Change-Id: Ic15ccf6701bf12b7ee5aeddf940e0c343677c8b0
Alex Light [Fri, 24 Mar 2017 15:21:34 +0000 (15:21 +0000)]
Revert "Revert "Make original dex file be more deduplicated""
This reverts commit
a7c04c4fe6623985ba2d0cca942d5e1e584f4358.
Reason for revert: Issue with target buildbots was fixed
Test: m clean && ./test.py --target -j8
Bug:
31455788
Change-Id: If00ef9433a9308810a40ea4e0d809987c934cef8
Mathieu Chartier [Fri, 24 Mar 2017 18:52:17 +0000 (18:52 +0000)]
Merge "Move backtrace logic to backtrace_helper.h"
Josh Gao [Fri, 24 Mar 2017 03:04:58 +0000 (20:04 -0700)]
sigchain: fix sigaction(signal, nullptr, &sa).
Previously, our wrapped sigaction would forward to the actual sigaction
if new_action was null.
Test: ./test.py -r --host -t 004-SignalTest
Change-Id: I100b6246c58f331a44b9201cf61405251b85111d
Joachim Sauer [Fri, 24 Mar 2017 17:36:21 +0000 (17:36 +0000)]
Merge "Remove TimeZoneTest.testAllDisplayNames() failure"
Aart Bik [Fri, 24 Mar 2017 17:29:03 +0000 (17:29 +0000)]
Merge "MIPS64: Check for MSA presence in each MSA instruction"
Aart Bik [Fri, 24 Mar 2017 17:02:49 +0000 (17:02 +0000)]
Merge "Implement a SIMD spilling slot."
Orion Hodson [Fri, 24 Mar 2017 16:48:44 +0000 (16:48 +0000)]
Merge "Silence ulimit in run-test"
Mathieu Chartier [Fri, 24 Mar 2017 06:51:34 +0000 (23:51 -0700)]
Move backtrace logic to backtrace_helper.h
Refactor this out so we can use it other places.
Test: test/run-test --host --gcstress --dev --64 048
Change-Id: I1c357714badd417a67a34cd5d371ddbf1282a179
Vladimir Marko [Fri, 24 Mar 2017 15:57:02 +0000 (15:57 +0000)]
Merge "Deterministic DexCache in heap images."
Joachim Sauer [Fri, 24 Mar 2017 15:15:28 +0000 (15:15 +0000)]
Remove TimeZoneTest.testAllDisplayNames() failure
The test is being removed.
Bug:
22786792
Test: m checkbuild
Change-Id: Ie96a4088985b39bd15ea506830a394da79d5f624
Shubham Ajmera [Fri, 24 Mar 2017 15:16:20 +0000 (15:16 +0000)]
Merge "Testrunner: Print colored text only when printing on terminal"
Orion Hodson [Fri, 24 Mar 2017 11:24:10 +0000 (11:24 +0000)]
Silence ulimit in run-test
Test: m test-art-host
Change-Id: I13d03ae6cfba2d747e1538f61c78b83910b41a85
Nicolas Geoffray [Tue, 28 Feb 2017 17:41:45 +0000 (17:41 +0000)]
Improvements in the Inliner.
- Change from a depth limit to a total number of HInstructions
inlined limit. Remove the dex2oat depth limit argument.
- Add more stats to diagnose reasons for not inlining.
- Clean up logging to easily parse output.
Individual Ritz benchmarks improve from 3 to 10%.
No change in other heuristics. There was already an instruction budget.
Note that the instruction budget is rarely hit in the "apps" I've tried
with.
Compile-times improve from 5 to 15%.
Code size go from 4% increase (Gms) to 1% decrease (Docs).
bug:
35724239
test: test-art-host test-art-target
Change-Id: I5a35c4bd826cf21fead77859709553c5b57608d6
Orion Hodson [Wed, 22 Mar 2017 13:16:40 +0000 (13:16 +0000)]
Improve user-friendliness of art script.
o Add --help and usage.
o Document common user errors.
o Add flags for gdb and callgrind.
Test: art/tools/run-jdwp-tests.sh --host & manual testing
Change-Id: Ie40b53f31df17c439daf5f6425d5315dcdbe785f
Treehugger Robot [Fri, 24 Mar 2017 11:49:55 +0000 (11:49 +0000)]
Merge "MIPS64: Remove memcpy() from java.lang.String.getChars intrinsic."
Treehugger Robot [Fri, 24 Mar 2017 11:46:55 +0000 (11:46 +0000)]
Merge "MIPS32: Remove memcpy() from java.lang.String.getChars intrinsic."
Goran Jakovljevic [Wed, 22 Mar 2017 06:37:26 +0000 (07:37 +0100)]
MIPS64: Add vector registers to Mips64ManagedRegister class
Also created managed_register_mips64_test.
Test: mma test-art-host-gtest
Change-Id: I3996691c8cc8bbc73f5d7ea294a31668905f6e8a
Nicolas Geoffray [Fri, 24 Mar 2017 08:59:45 +0000 (08:59 +0000)]
Merge "Revert "Revert^4 "CHA for interface method."""
Nicolas Geoffray [Fri, 24 Mar 2017 08:59:22 +0000 (08:59 +0000)]
Revert "Revert^4 "CHA for interface method.""
Still failing on the bots.
This reverts commit
fb185130f35bbfe2ba1875974ed39ef0b3c7a77f.
Change-Id: I1629e237dd41ce4784ccadbfc346352dfcbdb137
Nicolas Geoffray [Fri, 24 Mar 2017 08:57:02 +0000 (08:57 +0000)]
Merge "Revert "Make original dex file be more deduplicated""
Nicolas Geoffray [Fri, 24 Mar 2017 08:55:08 +0000 (08:55 +0000)]
Revert "Make original dex file be more deduplicated"
Bug:
31455788
This reverts commit
9556cb2bfc6788656d53a9ddb2159ca2040f6e38.
Change-Id: If22f2bd9d1b788c2a784dbe0e7f0c2304d8e4a59