OSDN Git Service
Bill Buzbee [Tue, 26 Jan 2016 12:47:51 +0000 (12:47 +0000)]
Merge "[WIP] ART Mterp: fix for hidden gc roots"
David Srbecky [Tue, 26 Jan 2016 11:54:46 +0000 (11:54 +0000)]
Merge "Generate DWARF line numbers only for points with dex register map."
Roland Levillain [Tue, 26 Jan 2016 11:40:41 +0000 (11:40 +0000)]
Merge "Disable run-tests causing occasional timeouts with CC."
Roland Levillain [Tue, 26 Jan 2016 10:47:42 +0000 (10:47 +0000)]
Disable run-tests causing occasional timeouts with CC.
These tests sometimes time out on the concurrent collector
configurations:
- 004-ThreadStress
- 496-checker-inlining-and-class-loader
Disable them while we investigate.
Bug:
26786154
Bug:
26786304
Bug:
12687968
Change-Id: I169766eac656cd1281a169337c2205a9592c32a1
Roland Levillain [Tue, 26 Jan 2016 10:27:20 +0000 (10:27 +0000)]
Merge "Fix non-Linux builds."
Roland Levillain [Tue, 26 Jan 2016 10:22:14 +0000 (10:22 +0000)]
Fix non-Linux builds.
Do no expose a constant only used in Linux builds in
runtime/jdwp/jdwp_socket.cc.
Change-Id: I0f1de4fd36a9013b46b1393ea0cded41bae2b751
Roland Levillain [Tue, 26 Jan 2016 10:05:29 +0000 (10:05 +0000)]
Merge "Improve gethostbyname_r use in art::JDWP::JdwpSocketState::Establish."
buzbee [Mon, 25 Jan 2016 23:41:24 +0000 (15:41 -0800)]
[WIP] ART Mterp: fix for hidden gc roots
To support moving gc, we must not hold onto any references solely
in registers across potential gc points. This was happening during
returns, instance-of and check-cast.
[testing in progress]
Change-Id: I367750658c5716960737f0666e46800240fd392d
Mathieu Chartier [Tue, 26 Jan 2016 04:32:06 +0000 (04:32 +0000)]
Merge "Reduce app image log spam"
Mathieu Chartier [Tue, 26 Jan 2016 04:11:28 +0000 (20:11 -0800)]
Reduce app image log spam
Change to VLOG or file exists.
Bug:
26782386
Bug:
22858531
Change-Id: Ic73d110d44216c2846e4ea789070bea2af8043a3
Mathieu Chartier [Mon, 25 Jan 2016 22:29:54 +0000 (22:29 +0000)]
Merge "Revert "Revert "Load app images"""
Mathieu Chartier [Sun, 24 Jan 2016 19:59:56 +0000 (11:59 -0800)]
Revert "Revert "Load app images""
This reverts commit
1bc977cf2f8199311a97f2ba9431a184540e3e9c.
Bug:
22858531
Change-Id: Ide00bf3a73a02cba3bb364177204ad1b13f70295
Mathieu Chartier [Mon, 25 Jan 2016 21:07:07 +0000 (21:07 +0000)]
Merge "Only create non-moving space at fixed address if zygote"
Mathieu Chartier [Mon, 25 Jan 2016 20:53:03 +0000 (12:53 -0800)]
Only create non-moving space at fixed address if zygote
Pulled from app image CL, hopefully fixes dex2oat asan failure.
Change-Id: I022f7509b534679e5a4ef99ec7a0c622472cf740
Roland Levillain [Mon, 25 Jan 2016 19:17:14 +0000 (19:17 +0000)]
Improve gethostbyname_r use in art::JDWP::JdwpSocketState::Establish.
Try a range of values for the work buffer size, instead of
using a fixed size.
Also, turn a couple of constants defined as macros into
constexprs.
Change-Id: I2354bfb51935bb0cad775c13d6cae06902b4a934
Josh Gao [Mon, 25 Jan 2016 18:42:55 +0000 (18:42 +0000)]
Merge "Use dlmalloc from external/dlmalloc instead of bionic/."
David Srbecky [Mon, 25 Jan 2016 17:32:28 +0000 (17:32 +0000)]
Merge "Revert "Add option to generate compressed backtrace info.""
David Srbecky [Mon, 25 Jan 2016 17:31:49 +0000 (17:31 +0000)]
Revert "Add option to generate compressed backtrace info."
This reverts commit
5fdcc3c931b70204fd8c491afa66f57f8428490f.
Change-Id: I9c1f5aad6933a46af6717e3a90a51f76111f9c8a
David Srbecky [Mon, 25 Jan 2016 17:00:24 +0000 (17:00 +0000)]
Generate DWARF line numbers only for points with dex register map.
Stackmaps without dex register map are useful to the runtime,
but they are not a reasonable stopping point for the debugger.
Change-Id: I393d2d293e6faf339c7560b250bcf3dad39d54cd
Vladimir Marko [Mon, 25 Jan 2016 15:39:05 +0000 (15:39 +0000)]
Merge "Fix MIPS64 booting problem"
David Srbecky [Mon, 25 Jan 2016 13:33:52 +0000 (13:33 +0000)]
Merge "Add option to generate compressed backtrace info."
Nicolas Geoffray [Mon, 25 Jan 2016 10:18:17 +0000 (10:18 +0000)]
Merge "Revert "Optimizing: double-negated bitwise operations simplifications""
Nicolas Geoffray [Mon, 25 Jan 2016 10:17:57 +0000 (10:17 +0000)]
Revert "Optimizing: double-negated bitwise operations simplifications"
Fails compiling the Wallet.apk with:
dex2oatd F 40736 41007 art/compiler/optimizing/optimizing_compiler.cc:194] Error after instruction_simplifier: art::SSAChecker: Instruction Add:59 in block 4 does not dominate use Or:153 in block 4.
This reverts commit
96798493170521691d709be50dd2102ead47b083.
Change-Id: Ia4b02e62e6133aa104f5db12ba82d5561b6fc090
Nicolas Geoffray [Mon, 25 Jan 2016 09:44:00 +0000 (09:44 +0000)]
Merge "Revert "X86: Use the constant area for more operations.""
Nicolas Geoffray [Mon, 25 Jan 2016 09:43:30 +0000 (09:43 +0000)]
Revert "X86: Use the constant area for more operations."
Hits a DCHECK:
dex2oatd F 19461 20411 art/compiler/optimizing/pc_relative_fixups_x86.cc:196] Check failed: !invoke_static_or_direct->HasCurrentMethodInput()
This reverts commit
dc00454f0b9a134f01f79b419200f4044c2af5c6.
Change-Id: Idfcacf12eb9e1dd7e68d95e880fda0f76f90e9ed
Nicolas Geoffray [Mon, 25 Jan 2016 09:11:39 +0000 (09:11 +0000)]
Merge "Optimizing: double-negated bitwise operations simplifications"
Nicolas Geoffray [Mon, 25 Jan 2016 08:45:40 +0000 (08:45 +0000)]
Merge "X86: Use the constant area for more operations."
Nicolas Geoffray [Sat, 23 Jan 2016 14:16:58 +0000 (14:16 +0000)]
Merge "Revert "Load app images""
Nicolas Geoffray [Sat, 23 Jan 2016 14:15:49 +0000 (14:15 +0000)]
Revert "Load app images"
Fails when a method is duplicated (see test 097-duplicate-method)
Bug:
22858531
This reverts commit
f7fd970244f143b1abb956e29794c446e4d57f46.
Change-Id: Ib30ae5be00cc568e799290be6b3c8f29cbbe4c20
Hiroshi Yamauchi [Sat, 23 Jan 2016 01:26:23 +0000 (01:26 +0000)]
Merge "Disable the CC collector verbose log."
Hiroshi Yamauchi [Sat, 23 Jan 2016 01:26:12 +0000 (01:26 +0000)]
Merge "Temporarily disable some libcore tests for the CC collector."
Hiroshi Yamauchi [Sat, 23 Jan 2016 00:26:50 +0000 (16:26 -0800)]
Disable the CC collector verbose log.
To reduce the amount of buildbot libcore test logs.
Bug:
12687968
Change-Id: Idadca6622c745ef12629ccb26dcbdc9ebc379a00
Hiroshi Yamauchi [Sat, 23 Jan 2016 00:18:21 +0000 (16:18 -0800)]
Temporarily disable some libcore tests for the CC collector.
Bug:
26711853
Bug:
12687968
Change-Id: Id791ac14afd7aff74f92aff88adefe4dcad7a20f
Mathieu Chartier [Fri, 22 Jan 2016 23:24:19 +0000 (23:24 +0000)]
Merge "Bump image version"
Mathieu Chartier [Fri, 22 Jan 2016 23:20:23 +0000 (15:20 -0800)]
Bump image version
Version bump in previous CL was rebased out.
Change-Id: Ifcd76b852716cc2a6c08287e83b9861621df7605
Mathieu Chartier [Fri, 22 Jan 2016 23:18:18 +0000 (23:18 +0000)]
Merge "Load app images"
Mathieu Chartier [Mon, 9 Nov 2015 19:16:49 +0000 (11:16 -0800)]
Load app images
Support in-place patching of the app image based on boot image
location and app oat location. Only loads for art run test so far
since we do not automatically generate app images for app installs.
N5 maps launch time (~200 runs):
Before: 930ms
After: 878.18ms
After + image class table: 864.57ms
TODO:
Oatdump support.
Store class loaders as class roots in image.
Bug:
22858531
Change-Id: I9cbc645645e62ea2ed1ad8e139e91af7d88514c1
Mark Mendell [Fri, 30 Oct 2015 13:45:03 +0000 (09:45 -0400)]
X86: Use the constant area for more operations.
Allow FP HNeg to use the constant area to hold the constant to flip the
sign bit.
Enhance some math intrinsics to allow the use of the constant
area: Abs{Float,Double}, {Min,Max}{FloatFloat,DoubleDouble}.
Allow compares of floats/doubles to constants using the constant area.
These eliminate almost all uses of loading constants from the stack.
Change-Id: Ic4b831565825cbe9f0801b1b53c1013be7c87ae4
Signed-off-by: Mark Mendell <mark.p.mendell@intel.com>
Alex Light [Fri, 22 Jan 2016 19:12:18 +0000 (19:12 +0000)]
Merge "Raise ulimit for run-test 961."
Josh Gao [Fri, 22 Jan 2016 19:00:27 +0000 (11:00 -0800)]
Use dlmalloc from external/dlmalloc instead of bionic/.
Bug: http://b/
17207577
Change-Id: I86d731e5236947c2cc21cbd17de29bd310a60a5b
Alex Light [Fri, 22 Jan 2016 18:09:40 +0000 (10:09 -0800)]
Raise ulimit for run-test 961.
Run-test 961 was rubbing against the ulimit, causing spurious
failures. This raises the ulimit the test runs under.
Bug:
26733951
Change-Id: I43f7c5f8e5e9e23ed139bd1fcc6bf24c526c546b
David Srbecky [Tue, 19 Jan 2016 14:33:43 +0000 (14:33 +0000)]
Add option to generate compressed backtrace info.
Add flag --generate-mini-debug-info which generates
LZMA compressed .symtab and .debug_frame, which are
sufficient to print java backtraces in libunwind.
If enabled, it increases the size of boot.oat by about 3.5%.
Change-Id: Ic3c2ef7704c05fa328720c6781ca2a9b8e3935a3
Roland Levillain [Fri, 22 Jan 2016 17:34:14 +0000 (17:34 +0000)]
Merge "Improve documentation and assertions of read barrier instrumentation."
Aart Bik [Fri, 22 Jan 2016 17:21:31 +0000 (17:21 +0000)]
Merge "Allow x86 memory operands for 64-bit popcnt on x86."
David Srbecky [Fri, 22 Jan 2016 15:04:21 +0000 (15:04 +0000)]
Merge "Generate unique ID for each type during native debugging."
David Srbecky [Thu, 14 Jan 2016 18:15:54 +0000 (18:15 +0000)]
Generate unique ID for each type during native debugging.
This allows the native debugger to find dynamic types of variables.
Change-Id: I901022b7db7d3c1db9f4b678ebafcb4eefed4ba7
David Srbecky [Fri, 22 Jan 2016 15:02:12 +0000 (15:02 +0000)]
Merge "Create helper class for DWARF expressions."
Kevin Brodsky [Fri, 15 Jan 2016 09:49:20 +0000 (09:49 +0000)]
Optimizing: double-negated bitwise operations simplifications
Generic instruction simplifications applying to bitwise operations when
both inputs are Not's. And and Or are handled by De Morgan's laws,
removing one instruction:
~a & ~b -> ~(a | b)
~a | ~b -> ~(a & b)
Xor is handled by this trivial relation, removing two instructions:
~a ^ ~b = a ^ b
The simplifications only happen when neither Not is used by other
instructions.
Change-Id: I5d5187af2f625c475c3e49466af6bc3e87595f8f
David Srbecky [Fri, 15 Jan 2016 13:47:59 +0000 (13:47 +0000)]
Create helper class for DWARF expressions.
This ensures we generate valid DWARF opcodes and
it slightly simplifies the debug info writer.
Change-Id: I2ef8a9222c9a129c58f500741acd209b67e2ecff
Roland Levillain [Fri, 22 Jan 2016 14:20:37 +0000 (14:20 +0000)]
Merge "Revert "Revert "ARM64 Baker's read barrier fast path implementation."""
Goran Jakovljevic [Fri, 22 Jan 2016 12:01:00 +0000 (13:01 +0100)]
Fix MIPS64 booting problem
Add missing MarkGCCard in compareAndSwapObject intinsic.
Additionaly, don't do a null test in MarkGCCard if the value
cannot be null for MIPS64.
Change-Id: Iad50f9e6be8cd27fedb31abb00d5829498941696
Bill Buzbee [Fri, 22 Jan 2016 14:18:14 +0000 (14:18 +0000)]
Merge "Revert "Revert "Fast ART x86 interpreter"""
Nicolas Geoffray [Fri, 22 Jan 2016 13:35:19 +0000 (13:35 +0000)]
Merge "Revert "Revert "Inline methods with loops."""
Nicolas Geoffray [Fri, 22 Jan 2016 12:41:38 +0000 (12:41 +0000)]
Revert "Revert "Inline methods with loops.""
Bug:
26689526
This reverts commit
451ad8d1be9a1949ea3c3e3a713a9e76198a8b2d.
Change-Id: If484fe4c0744254dd7568fd5006e574d621a1855
Nicolas Geoffray [Fri, 22 Jan 2016 12:36:39 +0000 (12:36 +0000)]
Merge "Revert "Revert "Revert "Change condition to opposite if lhs is constant""""
Nicolas Geoffray [Fri, 22 Jan 2016 12:35:26 +0000 (12:35 +0000)]
Revert "Revert "Revert "Change condition to opposite if lhs is constant"""
Fails two checker tests:
458-checker-instruction-simplification
537-checker-jump-over-jump
This reverts commit
884e54c8a45e49b58cb1127c8ed890f79f382601.
Change-Id: I22553e4e77662736b8b453d911a2f4e601f3a27e
Roland Levillain [Fri, 22 Jan 2016 11:57:25 +0000 (11:57 +0000)]
Improve documentation and assertions of read barrier instrumentation.
For ARM, x86, x86-64 back ends. The case of the ARM64 back
end is already handled in
https://android-review.googlesource.com/#/c/197870/.
Bug:
12687968
Change-Id: I6df1128cc100cbdb89020876e1a54de719508be3
Roland Levillain [Fri, 22 Jan 2016 11:47:17 +0000 (11:47 +0000)]
Revert "Revert "ARM64 Baker's read barrier fast path implementation.""
This reverts commit
28a2ff0bd6c30549f3f6465d8316f5707b1d072f.
Bug:
12687968
Change-Id: I6e25c70f303368629cdb1084f1d7039261cbb79a
Nicolas Geoffray [Fri, 22 Jan 2016 11:46:50 +0000 (11:46 +0000)]
Merge "With irreducible loops, we can have a null destination."
Nicolas Geoffray [Thu, 21 Jan 2016 18:22:23 +0000 (18:22 +0000)]
With irreducible loops, we can have a null destination.
bug:
26684047
Change-Id: I23d1c74caec4aaebc05362a588f6cfec2132bdc8
Nicolas Geoffray [Fri, 22 Jan 2016 10:59:20 +0000 (10:59 +0000)]
Merge "Disable flaky test."
Nicolas Geoffray [Fri, 22 Jan 2016 10:57:59 +0000 (10:57 +0000)]
Disable flaky test.
Change-Id: I003c2ab9ed0b0629a4b44c42a2139a99b05f40ae
Nicolas Geoffray [Fri, 22 Jan 2016 10:44:39 +0000 (10:44 +0000)]
Merge "Revert "Revert "Change condition to opposite if lhs is constant"""
Nicolas Geoffray [Fri, 22 Jan 2016 10:43:57 +0000 (10:43 +0000)]
Merge "Revert "Some minor simplifications in code and tests.""
Nicolas Geoffray [Fri, 22 Jan 2016 10:43:39 +0000 (10:43 +0000)]
Revert "Some minor simplifications in code and tests."
Fails 530-checker-loops on arm
This reverts commit
bf03fcd10a3ffa15468d335f26697b0473e45b36.
Change-Id: I739aaaccd0509d02a62ef01e797a6d45bfe941df
Nicolas Geoffray [Fri, 22 Jan 2016 09:32:30 +0000 (09:32 +0000)]
Merge "Revert "ARM/ARM64: Extend support of instruction combining.""
Nicolas Geoffray [Fri, 22 Jan 2016 09:31:52 +0000 (09:31 +0000)]
Revert "ARM/ARM64: Extend support of instruction combining."
The test fails its checker parts.
This reverts commit
debeb98aaa8950caf1a19df490f2ac9bf563075b.
Change-Id: I49929e15950c7814da6c411ecd2b640d12de80df
Nicolas Geoffray [Fri, 22 Jan 2016 08:59:04 +0000 (08:59 +0000)]
Revert "Revert "Change condition to opposite if lhs is constant""
This reverts commit
a05cacc11fa075246c38497c01b949745fadc54b.
Change-Id: Ifdc261fd4dfb2c538017fe1d69af723aafd4afef
Nicolas Geoffray [Fri, 22 Jan 2016 08:53:31 +0000 (08:53 +0000)]
Merge "Update to INFO to not confuse adb logcat readers."
Aart Bik [Fri, 22 Jan 2016 00:45:31 +0000 (00:45 +0000)]
Merge "Fix cpu-info/cpp-defines mismatch."
Aart Bik [Thu, 21 Jan 2016 23:52:58 +0000 (15:52 -0800)]
Fix cpu-info/cpp-defines mismatch.
Rationale:
__POPCNT__ is the right way to cpp-test for popcnt support
Change-Id: I3dac215f862701e04519e89ca97c159b1e4385c8
Mathieu Chartier [Thu, 21 Jan 2016 22:35:05 +0000 (22:35 +0000)]
Merge "Disable Homogeneous space for dex2oat"
Alex Light [Thu, 21 Jan 2016 22:22:39 +0000 (22:22 +0000)]
Merge "Revert "Revert "run-test: Add tests for 1.8 reflection implementations"""
Christopher Ferris [Thu, 21 Jan 2016 21:01:29 +0000 (21:01 +0000)]
Merge "Use current pid not tid to create a backtrace map."
Aart Bik [Thu, 21 Jan 2016 20:49:00 +0000 (12:49 -0800)]
Allow x86 memory operands for 64-bit popcnt on x86.
By Mark's request.
This allows:
popcnt edx, [esp + 16]
popcnt ebx, [esp + 20]
add ebx, edx
.....
instead of the more elaborate
mov edx, [ecx + 16]
mov ebx, [ecx + 20]
popcnt eax, edx
popcnt ebp, ebx
add ebp, eax
Change-Id: Iea30ad7b9a1aba8591e3dbb72e24ef12e81cc2ce
Aart Bik [Thu, 21 Jan 2016 19:46:20 +0000 (19:46 +0000)]
Merge "Support for x86 popcnt."
Bill Buzbee [Wed, 20 Jan 2016 20:46:01 +0000 (20:46 +0000)]
Revert "Revert "Fast ART x86 interpreter""
This reverts commit
2d093a1213cc2f85b5e5e02782332657c479eb94.
Disable x86 mterp compilation on Mac host builds (but keep enabled
for all target builds).
Change-Id: Ie355279f166d2964a786646ee53f065b7e0f5ede
Aart Bik [Thu, 21 Jan 2016 16:59:48 +0000 (08:59 -0800)]
Support for x86 popcnt.
Change-Id: I0fc4e745764f1749a6437a199a594f3d8ea53eef
Alex Light [Thu, 21 Jan 2016 18:48:12 +0000 (18:48 +0000)]
Merge "Add a METHOD_SUPER to the MethodType enum."
Mathieu Chartier [Thu, 21 Jan 2016 18:24:58 +0000 (18:24 +0000)]
Merge "Revert "ARM64 Baker's read barrier fast path implementation.""
Mathieu Chartier [Thu, 21 Jan 2016 18:21:59 +0000 (18:21 +0000)]
Revert "ARM64 Baker's read barrier fast path implementation."
This reverts commit
c8f1df9965ca7f97ba9e6289f8c7a717765a59a9.
This breaks master.
Change-Id: Ic07f602af8732e2835bd11f65e3b9e766d3349c7
Alex Light [Thu, 21 Jan 2016 18:10:03 +0000 (10:10 -0800)]
Revert "Revert "run-test: Add tests for 1.8 reflection implementations""
This reverts commit
6a52d29eadb9d0a882439202303e8eae9f13bd26.
Change-Id: I05310a6e07ddcc9b2777b7df8f23e02498775256
Aart Bik [Thu, 21 Jan 2016 16:11:17 +0000 (16:11 +0000)]
Merge "Implemented BitCount as an intrinsic. With unit test."
Aart Bik [Thu, 21 Jan 2016 16:10:43 +0000 (16:10 +0000)]
Merge "Some minor simplifications in code and tests."
Nicolas Geoffray [Thu, 21 Jan 2016 15:50:01 +0000 (15:50 +0000)]
Merge "Add attribute to fix build."
Nicolas Geoffray [Thu, 21 Jan 2016 15:47:37 +0000 (15:47 +0000)]
Add attribute to fix build.
Change-Id: I833b2e55ae7cc312404bd07b98ddf89a357bc786
Nicolas Geoffray [Thu, 21 Jan 2016 15:23:29 +0000 (15:23 +0000)]
Merge "Move backward branch instrumentation to all branch."
Roland Levillain [Thu, 21 Jan 2016 15:19:05 +0000 (15:19 +0000)]
Merge "ARM64 Baker's read barrier fast path implementation."
Roland Levillain [Thu, 21 Jan 2016 15:16:47 +0000 (15:16 +0000)]
Merge "Improves recent changes to art::JDWP::JdwpSocketState::Establish."
Nicolas Geoffray [Thu, 21 Jan 2016 14:48:12 +0000 (14:48 +0000)]
Merge "ARM/ARM64: Extend support of instruction combining."
Nicolas Geoffray [Wed, 20 Jan 2016 16:25:19 +0000 (16:25 +0000)]
Move backward branch instrumentation to all branch.
This is in preparation for osr, and later dead branch profiling.
Change-Id: I4597c0784c894c310f295dd534967d67dcefa419
Roland Levillain [Thu, 21 Jan 2016 14:01:10 +0000 (14:01 +0000)]
Improves recent changes to art::JDWP::JdwpSocketState::Establish.
(This is a follow-up CL to
https://android-review.googlesource.com/#/c/197630.)
Capture the size of the work buffer passed to
gethostbyname_r in a constant and document it.
Also wrap long lines in runtime/jdwp/jdwp_socket.cc.
Change-Id: Ieb0694c56611a491c5f949ce8ed22ab3795f1883
Vladimir Marko [Thu, 21 Jan 2016 13:53:02 +0000 (13:53 +0000)]
Merge "Revert "Revert "Write dex files to oat file early."""
Nicolas Geoffray [Thu, 21 Jan 2016 13:26:29 +0000 (13:26 +0000)]
Merge "Revert "run-test: Add tests for 1.8 reflection implementations""
Nicolas Geoffray [Thu, 21 Jan 2016 13:26:08 +0000 (13:26 +0000)]
Revert "run-test: Add tests for 1.8 reflection implementations"
Bug:
24618811
Too many failures on goto/ab
This reverts commit
54c4e0d7adbf9179df04f5ed5d8d5a3ff69add84.
Change-Id: Ic6305c14d78b38e5c13ea42e1777ad197ff2f45c
Vladimir Marko [Thu, 21 Jan 2016 12:15:52 +0000 (12:15 +0000)]
Revert "Revert "Write dex files to oat file early.""
This reverts commit
919f5536182890d2e03f59b961acf8f7c836ff61.
Fix linker error (Mac build):
Replace inline definition of art::ZipArchive::~ZipArchive()
with an out-of-line definition in zip_archive.cc to avoid
direct reference to CloseArchive() from libart-compiler due
to inlining. Note that libart is linked against -lziparchive
but libart-compiler is not.
Change-Id: I92620ea0200282ca7ba9b7f61a592cb6468d90d8
Roland Levillain [Thu, 21 Jan 2016 12:07:50 +0000 (12:07 +0000)]
Merge "Fix JDWP host tests on Trusty."
Roland Levillain [Thu, 21 Jan 2016 11:19:51 +0000 (11:19 +0000)]
Fix JDWP host tests on Trusty.
The buffer passed by art::JDWP::JdwpSocketState::Establish
to gethostbyname_r on Trusty was too small, leading to the
following error message during JDWP host testing:
art/runtime/jdwp/jdwp_socket.cc:283] gethostbyname_r('localhost') failed: Resolver internal error
This CL doubles the size of this buffer to avoid this
failure.
Change-Id: Ie7bb1ea8c755d869f2cc50cc2f6cc82828499706
Yohann Roussel [Thu, 21 Jan 2016 08:54:26 +0000 (08:54 +0000)]
Merge "Let Art tests use the default jack version"
Ilmir Usmanov [Fri, 11 Dec 2015 08:39:44 +0000 (11:39 +0300)]
ARM/ARM64: Extend support of instruction combining.
Combine multiply instructions in the following way:
ARM64:
MUL/NEG -> MNEG
ARM32 (32-bit integers only):
MUL/ADD -> MLA
MUL/SUB -> MLS
Change-Id: If20f2d8fb060145ab6fbceeb5a8f1a3d02e0ecdb