OSDN Git Service
Wojciech Staszkiewicz [Thu, 15 Sep 2016 01:31:20 +0000 (01:31 +0000)]
Merge "Log PPID when running dex2oat"
am:
dfcfc5458a
Change-Id: Ica56371926a32cea3784797d44196a965ee33c23
Treehugger Robot [Thu, 15 Sep 2016 01:23:13 +0000 (01:23 +0000)]
Merge "Log PPID when running dex2oat"
Wojciech Staszkiewicz [Tue, 13 Sep 2016 19:06:36 +0000 (12:06 -0700)]
Log PPID when running dex2oat
Log parent's pid in dex2oat. Logging happens only in verbose
compiler mode.
This can be used to find out which process executed a dex2oat
instance.
Test: m test-art-host
Change-Id: I49a139ed39a2454649f21275d6be860cbab96f55
Aart Bik [Wed, 14 Sep 2016 22:53:19 +0000 (22:53 +0000)]
Merge "Make LinearizeGraph() public (and move it to nodes files)"
am:
32772cbdbc
Change-Id: Idb70fd87a2049a02f88a7b66de9e40025d9349ff
Igor Murashkin [Wed, 14 Sep 2016 22:47:49 +0000 (22:47 +0000)]
Merge "jni: Update VIXL macro assembler to have vmovdrr/vmovsr support"
am:
8dae910bb8
Change-Id: Ib0f877b0be99b23dc71259369ad8ffd939dd18c0
Treehugger Robot [Wed, 14 Sep 2016 22:46:56 +0000 (22:46 +0000)]
Merge "Make LinearizeGraph() public (and move it to nodes files)"
Treehugger Robot [Wed, 14 Sep 2016 22:29:19 +0000 (22:29 +0000)]
Merge "jni: Update VIXL macro assembler to have vmovdrr/vmovsr support"
Aart Bik [Wed, 14 Sep 2016 17:52:13 +0000 (10:52 -0700)]
Make LinearizeGraph() public (and move it to nodes files)
Rationale:
It is strange that HLinearOrderIterator is defined (and visible)
in nodes.h, but clients have no way to build this order. This CL
makes the building available at the usual place.
Change-Id: Ib66f2edf6dfc8edd6b429bd4bea3ac7e37440b28
Tests: m test-art
Igor Murashkin [Wed, 14 Sep 2016 20:36:16 +0000 (13:36 -0700)]
jni: Update VIXL macro assembler to have vmovdrr/vmovsr support
This is sometimes used by @CriticalNative JNI compiler
to avoid spilling the user native function pointer to the stack.
(Also fixes the failing target jni_compiler_test32)
Test: make -j test-art-target-gtest-jni_compiler_test32
Bug:
31469040
Change-Id: I04a5ec20272fe89e613959a37da1cb472c4ebdf9
Mathieu Chartier [Wed, 14 Sep 2016 17:00:16 +0000 (17:00 +0000)]
Merge "Make ScopedAssertNoThreadSuspension no overhead for non-debug"
am:
26ead4975e
Change-Id: I9c109f784cf101efe627cf495c72e7a2604421ed
Mathieu Chartier [Wed, 14 Sep 2016 16:55:56 +0000 (16:55 +0000)]
Merge "Make ScopedAssertNoThreadSuspension no overhead for non-debug"
Colin Cross [Wed, 14 Sep 2016 16:54:47 +0000 (16:54 +0000)]
Merge "Update art to use hooks instead of customizer"
am:
79f6d70618
Change-Id: Id90182aa3018757095b4634fb901dceeb331e23b
Colin Cross [Wed, 14 Sep 2016 16:50:18 +0000 (16:50 +0000)]
Merge "Update art to use hooks instead of customizer"
Vladimir Marko [Wed, 14 Sep 2016 16:43:16 +0000 (16:43 +0000)]
Merge "ARM/ARM64: Fix throwing entrypoints to call runtime handlers."
am:
52a8da639e
Change-Id: Icfd04eee73ee323215cc10d690c9bbba27973ed4
Treehugger Robot [Wed, 14 Sep 2016 16:36:35 +0000 (16:36 +0000)]
Merge "ARM/ARM64: Fix throwing entrypoints to call runtime handlers."
Aart Bik [Wed, 14 Sep 2016 16:00:41 +0000 (16:00 +0000)]
Merge "Separate annotations from dexfile reading."
am:
088efb4cf1
Change-Id: I7f1b5511ad0199a550f6dcd92f5ff695657252a3
Aart Bik [Wed, 14 Sep 2016 15:55:07 +0000 (15:55 +0000)]
Merge "Separate annotations from dexfile reading."
Alexey Frunze [Wed, 14 Sep 2016 15:08:39 +0000 (15:08 +0000)]
Merge "MIPS32: Implement table-based packed switch"
am:
8850c73572
Change-Id: I7583811454efd24862c8cab792855452afe98d82
David Sehr [Tue, 13 Sep 2016 15:58:35 +0000 (08:58 -0700)]
Separate annotations from dexfile reading.
Bug:
22322814
Change-Id: I867d66da407dd80394a10d19903ebbc1ec3986ff
Test: test-art
Treehugger Robot [Wed, 14 Sep 2016 15:01:23 +0000 (15:01 +0000)]
Merge "MIPS32: Implement table-based packed switch"
Vladimir Marko [Wed, 14 Sep 2016 09:29:18 +0000 (10:29 +0100)]
ARM/ARM64: Fix throwing entrypoints to call runtime handlers.
Test: Run ART test suite including gcstress on Nexus 9.
Bug:
31468464
Change-Id: I2521675125d243be3168a2e87b70185791322b42
Vladimir Marko [Wed, 14 Sep 2016 13:48:03 +0000 (13:48 +0000)]
Merge "Remove ThrowNoSuchMethod entrypoint."
am:
58735fbfbb
Change-Id: I0a957e50944dbd690c359c4023673b455359c6ea
Treehugger Robot [Wed, 14 Sep 2016 13:42:12 +0000 (13:42 +0000)]
Merge "Remove ThrowNoSuchMethod entrypoint."
Vladimir Marko [Wed, 14 Sep 2016 11:49:57 +0000 (12:49 +0100)]
Remove ThrowNoSuchMethod entrypoint.
Run ART test suite on host and Nexus 6.
Bug:
31464666
Change-Id: I5aa737726031adae0b132f759cf802a93d581a7f
Vladimir Marko [Wed, 14 Sep 2016 11:22:25 +0000 (11:22 +0000)]
Merge "Revert "Revert "Use implicit null checks inside try blocks."""
am:
e305eaf2c0
Change-Id: Ifd058e63aa920ec9769152c37198c0aabceb8c24
Treehugger Robot [Wed, 14 Sep 2016 11:16:24 +0000 (11:16 +0000)]
Merge "Revert "Revert "Use implicit null checks inside try blocks."""
Vladimir Marko [Tue, 13 Sep 2016 11:56:01 +0000 (11:56 +0000)]
Revert "Revert "Use implicit null checks inside try blocks.""
Fix implicit checks in try blocks to emit stack maps.
Fix arm64 null expection from signal entrypoint to call
the runtime handler instead or simply jumping there.
On Nexus 9, AOSP ToT, the boot.oat size reduction is
prebuilt multi-part boot image:
- 32-bit boot.oat: -448KiB (-1.3%)
- 64-bit boot.oat: -528KiB (-1.2%)
on-device built single boot image:
- 32-bit boot.oat: -448KiB (-1.4%)
- 64-bit boot.oat: -528KiB (-1.3%)
Note that the oat files no longer contain dex files which
have been moved to vdex, so the percentages are not directly
comparable with the those reported in the original commit.
Test: Run ART test suite including gc-stress on host and Nexus 9.
Bug:
30212852
Bug:
31468464
This reverts commit
0719b5b9b458cb3eb9f0823f0dacdfe1a71214dd.
Change-Id: If8a9da8c11adf2aad203e93b6684ce16ed776285
Nicolas Geoffray [Wed, 14 Sep 2016 09:38:19 +0000 (09:38 +0000)]
Merge "Make dex2oat art_cc_binary instead of just cc_binary."
am:
5cfaafbda5
Change-Id: Ib418ba66d3fabea5b852ced1f19ead54199996f9
Nicolas Geoffray [Wed, 14 Sep 2016 09:30:53 +0000 (09:30 +0000)]
Merge "Make dex2oat art_cc_binary instead of just cc_binary."
Nicolas Geoffray [Wed, 14 Sep 2016 09:26:56 +0000 (10:26 +0100)]
Make dex2oat art_cc_binary instead of just cc_binary.
This to get customized properties like CUSTOM_TARGET_LINKER.
Change-Id: Ifa25c52faa40fa6da40b614f664ab24ac1b7356a
Alexey Frunze [Sat, 10 Sep 2016 09:32:44 +0000 (02:32 -0700)]
MIPS32: Implement table-based packed switch
Test: booted MIPS32R2 in QEMU
Test: test-art-target-run-test-optimizing (MIPS32R2) on CI20
Test: booted MIPS64 (with 2nd arch MIPS32R6) in QEMU
Test: test-art-target-run-test-optimizing (MIPS32R6) in QEMU
Test: test-art-host-gtest
Change-Id: I2e1a65ff1ba9406b84351ba7998f853b1ce4aef9
Colin Cross [Wed, 14 Sep 2016 02:02:51 +0000 (02:02 +0000)]
Merge "Fix mac build"
am:
b180b893b5
Change-Id: I6f42ae22e2ceb31612decca689296a44154e5d8a
Colin Cross [Wed, 14 Sep 2016 02:02:50 +0000 (02:02 +0000)]
Merge "Add test dependency on dexlist"
am:
13d4a222f0
Change-Id: I617afe4850b564400f6261ea43f8b510d04a5e15
Treehugger Robot [Wed, 14 Sep 2016 01:57:44 +0000 (01:57 +0000)]
Merge "Fix mac build"
Treehugger Robot [Wed, 14 Sep 2016 01:55:12 +0000 (01:55 +0000)]
Merge "Add test dependency on dexlist"
Colin Cross [Tue, 13 Sep 2016 23:47:02 +0000 (16:47 -0700)]
Add test dependency on dexlist
dexlist_test depends on dexlist, add a new list of non-debuggable
executables for tests to depend on.
Bug:
31469510
Change-Id: I3e8f5798be523753ed8eda6cbbabe3251436877f
Colin Cross [Tue, 13 Sep 2016 23:55:55 +0000 (16:55 -0700)]
Fix mac build
-z muldefs doesn't exist on mac. It is only necessary for dex2oats,
which doesn't build on mac, move it from the defaults to the dex2oats
targets.
Change-Id: I47f35d159fc0602f54412e12ef44798ca4afa4de
Colin Cross [Tue, 13 Sep 2016 22:51:36 +0000 (22:51 +0000)]
Merge "Fix mac build"
am:
979d85df3e
Change-Id: I5a5de81d3cd2dfd48b2042dcf8c1e507110f25be
Treehugger Robot [Tue, 13 Sep 2016 22:44:00 +0000 (22:44 +0000)]
Merge "Fix mac build"
jessicahandojo [Tue, 13 Sep 2016 22:20:35 +0000 (22:20 +0000)]
Merge "String Compression (interpreter only) bug fix"
am:
c72b7d3ca9
Change-Id: Icb8be4c9ade47edaaec23de2afe1838b4e2f0691
Mathieu Chartier [Tue, 13 Sep 2016 19:09:38 +0000 (12:09 -0700)]
Make ScopedAssertNoThreadSuspension no overhead for non-debug
Previously it required Thread::Current() which may not be free.
The plan is to add a lot more ScopedAssertNoThreadSuspension in
the codebase.
Also cleaned up callers.
Bug:
31458474
Change-Id: I5a1621a5435476504d22266cc01a9bf26aab7568
Treehugger Robot [Tue, 13 Sep 2016 22:14:24 +0000 (22:14 +0000)]
Merge "String Compression (interpreter only) bug fix"
Hiroshi Yamauchi [Tue, 13 Sep 2016 21:31:31 +0000 (21:31 +0000)]
Merge "Revert "Re-apply "Cleanup run-test and Makefile around boot image and PIC."""
am:
2048da5f03
Change-Id: I7fa88001227b9904708a9eb55cc11694078a48cd
Treehugger Robot [Tue, 13 Sep 2016 21:20:21 +0000 (21:20 +0000)]
Merge "Revert "Re-apply "Cleanup run-test and Makefile around boot image and PIC."""
Colin Cross [Tue, 13 Sep 2016 21:07:00 +0000 (14:07 -0700)]
Fix mac build
Change-Id: Ic3e74f96645384c0cec3aa5156f4ead8912f3be2
Colin Cross [Tue, 13 Sep 2016 20:55:04 +0000 (20:55 +0000)]
Merge "Convert more of art to Android.bp"
am:
54ec35e429
Change-Id: I07d90ec75feed76106686877342c2fdfd3c85e81
Colin Cross [Tue, 13 Sep 2016 20:41:03 +0000 (13:41 -0700)]
Update art to use hooks instead of customizer
Change-Id: I46de5ea6ffbc0e32a0b306b8fe82b66b986e33cd
Colin Cross [Tue, 13 Sep 2016 20:40:05 +0000 (20:40 +0000)]
Merge "Convert more of art to Android.bp"
Mathieu Chartier [Tue, 13 Sep 2016 20:01:24 +0000 (20:01 +0000)]
Merge "Add more logging for checking in to-space for CC copy"
am:
f8f81ea81d
Change-Id: I63b2c11d45581d974fdb3531e433e2318682ca79
Treehugger Robot [Tue, 13 Sep 2016 19:54:55 +0000 (19:54 +0000)]
Merge "Add more logging for checking in to-space for CC copy"
Hiroshi Yamauchi [Tue, 13 Sep 2016 19:37:22 +0000 (19:37 +0000)]
Revert "Re-apply "Cleanup run-test and Makefile around boot image and PIC.""
This reverts commit
9b5515ebb4502119c44e898b05c69312a45c5f49.
Breaks some gtests.
Change-Id: Ic9c9061b05219f19d5c7713ce0239e60c9d6e287
Andreas Gampe [Tue, 13 Sep 2016 18:08:45 +0000 (18:08 +0000)]
Merge "ART: Rearrange some JVMTI headers"
am:
1261034d85
Change-Id: I118a449b50b16f6d4bbe429a154ea68f1dee2f90
Mathieu Chartier [Tue, 13 Sep 2016 17:02:48 +0000 (10:02 -0700)]
Add more logging for checking in to-space for CC copy
Trying to debug occasionally failing CHECK.
Bug:
31423258
Test: test-art-host CC baker
Change-Id: I00963eb4f529811090e485184bb48a28287e77d3
Treehugger Robot [Tue, 13 Sep 2016 17:59:55 +0000 (17:59 +0000)]
Merge "ART: Rearrange some JVMTI headers"
Andreas Gampe [Tue, 13 Sep 2016 16:05:59 +0000 (09:05 -0700)]
ART: Rearrange some JVMTI headers
Move around pieces to prepare for multiple cc files.
Bug:
31455788
Test: m test-art-host
Change-Id: I4e2dfccbca3b51c72ad8b1f1857d8eebc1ec43a2
Nicolas Geoffray [Tue, 13 Sep 2016 15:41:34 +0000 (15:41 +0000)]
Merge "Re-apply "Cleanup run-test and Makefile around boot image and PIC.""
am:
1f43979c43
Change-Id: If459ddb61d1450662d3d4c94cd2051eb6229b9a2
Andreas Gampe [Tue, 13 Sep 2016 15:39:06 +0000 (15:39 +0000)]
Merge "ART: Remove LogSeverity NONE"
am:
dc0c7e1074
Change-Id: I04bb187a5d2de3adde7f6316fcf012a311b2ec71
Treehugger Robot [Tue, 13 Sep 2016 15:36:26 +0000 (15:36 +0000)]
Merge "Re-apply "Cleanup run-test and Makefile around boot image and PIC.""
Treehugger Robot [Tue, 13 Sep 2016 15:30:49 +0000 (15:30 +0000)]
Merge "ART: Remove LogSeverity NONE"
Nicolas Geoffray [Mon, 12 Sep 2016 15:08:02 +0000 (16:08 +0100)]
Re-apply "Cleanup run-test and Makefile around boot image and PIC."
This reverts commit
1ba223b2e6dab206b02613bc8b523553477fc4a0.
Change-Id: I0048afcefc5b654b62ddaf3c0d45ab201e4d3027
Nicolas Geoffray [Tue, 13 Sep 2016 13:20:56 +0000 (13:20 +0000)]
Merge "New workaround for chromium buildbot."
am:
8fb627442e
Change-Id: I89cdc08219e26ff44439127390b209f24fdb68cb
Nicolas Geoffray [Tue, 13 Sep 2016 13:13:45 +0000 (13:13 +0000)]
Merge "New workaround for chromium buildbot."
Nicolas Geoffray [Tue, 13 Sep 2016 13:08:31 +0000 (14:08 +0100)]
New workaround for chromium buildbot.
Turns out once repo is init, doing a repo init/sync with another
repo version has no effect.
So instead just do the Android specific instructions
that the chromium repo seems to not do.
Change-Id: I0c42c4c2d61af54760a505a63554434f65c381c1
Nicolas Geoffray [Tue, 13 Sep 2016 12:59:54 +0000 (12:59 +0000)]
Merge "Workaround for repo incompatibilities on buildbot."
am:
b83882173d
Change-Id: I0e92845d785edb58a5557e42f9cab5c1f396cf45
Nicolas Geoffray [Tue, 13 Sep 2016 12:53:18 +0000 (12:53 +0000)]
Merge "Workaround for repo incompatibilities on buildbot."
Nicolas Geoffray [Tue, 13 Sep 2016 12:36:32 +0000 (13:36 +0100)]
Workaround for repo incompatibilities on buildbot.
Change-Id: Icd195f423e2e495d19ba35ed1d097e0f7d0a18ba
Roland Levillain [Tue, 13 Sep 2016 09:43:11 +0000 (09:43 +0000)]
Merge "Allow for testing alternative code generators in codegen_test.cc"
am:
c11d1b4282
Change-Id: I7d363492e931d2ff0bb1e91be86f5981eeecb3a6
Roland Levillain [Tue, 13 Sep 2016 09:36:27 +0000 (09:36 +0000)]
Merge "Allow for testing alternative code generators in codegen_test.cc"
Neil Fuller [Tue, 13 Sep 2016 09:07:44 +0000 (09:07 +0000)]
Merge "Track libcore Executable.getParameter() changes"
am:
c9568796e8
Change-Id: Ic2be178a236f81c148e954fa69cbe1f45d764f7f
Neil Fuller [Tue, 13 Sep 2016 09:02:35 +0000 (09:02 +0000)]
Merge "Track libcore Executable.getParameter() changes"
Dan Willemsen [Tue, 13 Sep 2016 03:51:07 +0000 (03:51 +0000)]
Merge "Rename libicuuc-host/libicui18n-host to libicuuc/libicui18n"
am:
9ef68a3ad0
Change-Id: I69652863f469496194ee2f37b6a2a006f7202251
Dan Willemsen [Tue, 13 Sep 2016 03:47:01 +0000 (03:47 +0000)]
Merge "Rename libicuuc-host/libicui18n-host to libicuuc/libicui18n"
Andreas Gampe [Tue, 13 Sep 2016 03:22:19 +0000 (20:22 -0700)]
ART: Remove LogSeverity NONE
Remove non-standard severity, and instead use a new enum to
configure verifier logging.
Partially reverts commit
7fe30233d32a872f5349e921dba65bd767ad994b.
Bug:
31338270
Test: m test-art-host
Change-Id: If52ee23c4902fbf2dabe7b232f6742448764ff8c
Hiroshi Yamauchi [Tue, 13 Sep 2016 03:24:48 +0000 (03:24 +0000)]
Merge "Add a debug check for unsaved callee-save register for diagnosis."
am:
5e49b50589
Change-Id: I7c9ec6db3c7e9d79cb1f9d991f1ee34729dfa4dc
Treehugger Robot [Tue, 13 Sep 2016 03:17:46 +0000 (03:17 +0000)]
Merge "Add a debug check for unsaved callee-save register for diagnosis."
Andreas Gampe [Tue, 13 Sep 2016 02:35:15 +0000 (02:35 +0000)]
Merge "ART: Remove libart from disassembler"
am:
559532d1f2
Change-Id: Ic33c945dd30687edfc58211d2f75c8b3011eb331
Treehugger Robot [Tue, 13 Sep 2016 02:26:49 +0000 (02:26 +0000)]
Merge "ART: Remove libart from disassembler"
Andreas Gampe [Mon, 12 Sep 2016 23:52:36 +0000 (23:52 +0000)]
Merge "ART: Remove unnecessary file from vdex"
am:
6a8c69f9d9
Change-Id: Ia8eb21c750047f939776f2c15e1e36f1f60e69dc
Andreas Gampe [Mon, 12 Sep 2016 23:45:53 +0000 (23:45 +0000)]
Merge "ART: Remove unnecessary file from vdex"
Andreas Gampe [Mon, 12 Sep 2016 23:22:43 +0000 (16:22 -0700)]
ART: Remove libart from disassembler
The disassembler now only requires the headers. Also remove liblog
dependency.
Bug:
15436106
Test: m test-art-host
Test: m test-art-host-gtest-oatdump_test
Test: m test-art-target-gtest-oatdump_test
Change-Id: Iecff5b7f8ffd81c89ea81a4de8bfab77b5c103a7
Colin Cross [Thu, 8 Sep 2016 19:52:18 +0000 (12:52 -0700)]
Convert more of art to Android.bp
Convert dex2oat, imgdiag, patchoat, and profman to Android.bp.
Test: m -j test-art-host
Test: mmma -j art
Change-Id: If2acd47189e5a944732c2c00c2bf31265f887161
Andreas Gampe [Mon, 12 Sep 2016 23:27:02 +0000 (23:27 +0000)]
Merge "ART: Add generic system-weak holder infrastructure"
am:
f9decf915f
Change-Id: Id8c1870367eadcc5582fba8ca1e4c31fedbf6fed
Andreas Gampe [Mon, 12 Sep 2016 22:55:56 +0000 (15:55 -0700)]
ART: Remove unnecessary file from vdex
Don't store the file. The mem-map works without it.
Test: m
Test: m test-art-host
Test: device boots
Bug:
30937355
Bug:
31439377
Change-Id: Ie9579062c20ddd8dcfc612ccb614f0a0553d4fd9
Andreas Gampe [Mon, 12 Sep 2016 23:18:38 +0000 (23:18 +0000)]
Merge "ART: Add generic system-weak holder infrastructure"
Nicolas Geoffray [Mon, 12 Sep 2016 22:13:57 +0000 (22:13 +0000)]
Merge "Revert "Use implicit null checks inside try blocks.""
am:
e204051d3c
Change-Id: I54670c7c973497db733746c10dae8bc4af2cb898
Nicolas Geoffray [Mon, 12 Sep 2016 22:07:09 +0000 (22:07 +0000)]
Merge "Revert "Use implicit null checks inside try blocks.""
Nicolas Geoffray [Mon, 12 Sep 2016 22:05:33 +0000 (22:05 +0000)]
Revert "Use implicit null checks inside try blocks."
Fails gcstress tests.
This reverts commit
7aa7560683626c7893011271c241b3265ded1dc3.
Change-Id: I4f5c89048b9ffddbafa02f3001e329ff87058ca2
Dan Willemsen [Mon, 12 Sep 2016 21:33:43 +0000 (14:33 -0700)]
Rename libicuuc-host/libicui18n-host to libicuuc/libicui18n
These modules can be named the same between the target and host
libraries, which simplifies references to them, particularly in
Soong.
To prevent accidentally loading the system copy of the library,
we still rename the installed name to be libicu*-host.so. But
modules do not need to know that in order to build against them.
Change-Id: Iede535d884a4b230ac511bae0d1687133f5801fe
Vladimir Marko [Mon, 12 Sep 2016 19:55:18 +0000 (19:55 +0000)]
Merge "Remove custom CheckCast slow path caller saves for Baker CC."
am:
f0c41505e1
Change-Id: I84d322d9576db79b521313ab0ff90d9d02e662db
Andreas Gampe [Fri, 9 Sep 2016 03:29:18 +0000 (20:29 -0700)]
ART: Add generic system-weak holder infrastructure
Add an "interface" for a generic system-weak holder that is
integrated with the well-known instances in Runtime. Add a
simple implementation handling synchronization.
Add a test.
Bug:
31385027
Test: m test-art-host-gtest-system_weak_test
Test: m ART_USE_READ_BARRIER=true test-art-host-gtest-system_weak_test
Test: m ART_DEFAULT_GC_TYPE=SS test-art-host-gtest-system_weak_test
Test: m ART_DEFAULT_GC_TYPE=GSS test-art-host-gtest-system_weak_test
Change-Id: I1100e2cbd9ee57860993d0039de73d197681c542
Vladimir Marko [Mon, 12 Sep 2016 19:41:22 +0000 (19:41 +0000)]
Merge "Remove custom CheckCast slow path caller saves for Baker CC."
Hiroshi Yamauchi [Mon, 12 Sep 2016 19:10:08 +0000 (12:10 -0700)]
Add a debug check for unsaved callee-save register for diagnosis.
Bug:
29231980
Bug:
12687968
Test: test-art-host with CC.
Change-Id: I385ce7712e63072a0664d86414605d23ef44401b
David Brazdil [Mon, 12 Sep 2016 18:08:40 +0000 (18:08 +0000)]
Merge "Fix run-test after introduction of VDEX"
am:
47b451546d
Change-Id: I5fa5a85eecf14cbfe697b240d75a8903e524dca2
David Brazdil [Mon, 12 Sep 2016 17:59:03 +0000 (17:59 +0000)]
Merge "Fix run-test after introduction of VDEX"
David Brazdil [Mon, 12 Sep 2016 17:49:58 +0000 (18:49 +0100)]
Fix run-test after introduction of VDEX
Run-test 119-noimage-patchoat used to fail due to a codepath in
OatFile which allows to create an instance of the class from an
existing ElfFile instance. This patch updates the codepath to require
an existing VdexFile as well.
Test: art/test/run-test 119
Bug:
30937355
Change-Id: I8fd0e47f07921aaee999f73711766ada9c35d214
Vladimir Marko [Mon, 12 Sep 2016 17:11:28 +0000 (18:11 +0100)]
Remove custom CheckCast slow path caller saves for Baker CC.
For Baker CC, CheckCast has both a read-barrier marking slow
path and a pCheckCast slow path. When the latter is known to
leave the method, i.e. known to throw outside a try-block,
we do not need to save live registers for retrieval for the
exception delivery and since the read-barrier marking does
not need to save any registers either we were setting the
custom slow path caller saves to empty to avoid reserving
unnecessary spill space. Hovewer, this also leads to marking
live references in caller-save registers in the register
mask and while the read-barrier marking entrypoint doesn't
care, it causes a stack walk for the pCheckCast to try and
retrieve an unsaved register.
For the time being, revert to the default caller saves.
This is a partial revert of
https://android-review.googlesource.com/254920
Test: Run ART test suite on host and Nexus 9.
Bug:
29231980
Bug:
30212852
Change-Id: I4e22125f3d8903c97506aa2e6e66bea8e8e6baef
Vladimir Marko [Mon, 12 Sep 2016 15:52:30 +0000 (15:52 +0000)]
Merge "Use implicit null checks inside try blocks."
am:
6ee9a33355
Change-Id: I8b00b7655480f130a8bbfa3de779d34ace31e6bb
Treehugger Robot [Mon, 12 Sep 2016 15:48:22 +0000 (15:48 +0000)]
Merge "Use implicit null checks inside try blocks."
Vladimir Marko [Mon, 12 Sep 2016 15:05:52 +0000 (15:05 +0000)]
Merge "Try to avoid allocation when interning strings."
am:
a5d718a9f8
Change-Id: I5d4b991e6bd36e3b75aa9126ed71265ba4ad341f
David Brazdil [Mon, 12 Sep 2016 15:05:32 +0000 (15:05 +0000)]
Merge "Introduce VDEX file, use it for DEX files"
am:
935cf1b7a5
Change-Id: I29872a20fb53d47eb17579e5d1f65dd7b5d4e3e0