OSDN Git Service
Colin Cross [Mon, 22 Aug 2016 20:35:01 +0000 (20:35 +0000)]
Merge "Add define needed by new vixl" am:
621a27ed21 am:
57de217dac
am:
3ad6461077
Change-Id: Ie0ac8eb6605e1ccadb1b572c74fbbb0e5c6dcd21
Colin Cross [Mon, 22 Aug 2016 20:31:06 +0000 (20:31 +0000)]
Merge "Add define needed by new vixl" am:
621a27ed21
am:
57de217dac
Change-Id: Iac9a94aa09eacc2cbbc176de609ffb310326a36c
Colin Cross [Mon, 22 Aug 2016 20:27:02 +0000 (20:27 +0000)]
Merge "Add define needed by new vixl"
am:
621a27ed21
Change-Id: If7d59f6d9bc859b88e333b5316ffbd275bc2a49a
Treehugger Robot [Mon, 22 Aug 2016 20:19:06 +0000 (20:19 +0000)]
Merge "Add define needed by new vixl"
Christina Wadsworth [Mon, 22 Aug 2016 18:20:47 +0000 (18:20 +0000)]
Merge "ART: Adding asm support for string dex cache" am:
82a4c22ef4 am:
f6167363d3
am:
3bc4dfa103
Change-Id: I6e9fe84941e75fadf7732e5fc30393fd3a83868e
Christina Wadsworth [Mon, 22 Aug 2016 18:17:18 +0000 (18:17 +0000)]
Merge "ART: Adding asm support for string dex cache" am:
82a4c22ef4
am:
f6167363d3
Change-Id: Ib20b17e586c59538656938cdb05f3633d5a01989
Christina Wadsworth [Mon, 22 Aug 2016 18:12:50 +0000 (18:12 +0000)]
Merge "ART: Adding asm support for string dex cache"
am:
82a4c22ef4
Change-Id: Ic81762140ae52b21cf52df69c39fba903346293f
Treehugger Robot [Mon, 22 Aug 2016 18:09:06 +0000 (18:09 +0000)]
Merge "ART: Adding asm support for string dex cache"
Christina Wadsworth [Fri, 19 Aug 2016 18:23:48 +0000 (11:23 -0700)]
ART: Adding asm support for string dex cache
Added constants and offsets for the string dex cache fast paths that
will be introduced into entrypoints in subsequent commits.
Test: test-art-host
Change-Id: I19f97526e06cbedc782d5ef11359796731cdad82
Colin Cross [Sat, 20 Aug 2016 05:35:58 +0000 (22:35 -0700)]
Add define needed by new vixl
vixl now requires -DVIXL_INCLUDE_SIMULATOR_AARCH64 when including
simulator-aarch64.h.
Tests: mmma -j art, m -j build-art-tests
Change-Id: I9b9bb7ca618ccbb505de943825f5e9517542fa1b
Jeff Hao [Mon, 22 Aug 2016 17:01:12 +0000 (17:01 +0000)]
Merge "Fix debugger calling new String()." am:
786bce8aec am:
a16a4d59c8
am:
2cb0722847
Change-Id: I96521476ee06ac195b67a4851451ea799f1f7e18
Jeff Hao [Mon, 22 Aug 2016 16:57:42 +0000 (16:57 +0000)]
Merge "Fix debugger calling new String()." am:
786bce8aec
am:
a16a4d59c8
Change-Id: I943ed7899118d76db916603c13e4c3de01fb31f8
Vladimir Marko [Mon, 22 Aug 2016 16:57:11 +0000 (16:57 +0000)]
Merge "ARM/ARM64: Improve comments for kSaveEverything assembly." am:
c97bfd4512 am:
b1f90d499e
am:
58596e79a4
Change-Id: I5d711a74110479f623d3582322dc85bae3f61ef3
Jeff Hao [Mon, 22 Aug 2016 16:53:32 +0000 (16:53 +0000)]
Merge "Fix debugger calling new String()."
am:
786bce8aec
Change-Id: I16f869c85b1db84ca6aaa6a77437a23445203a56
Vladimir Marko [Mon, 22 Aug 2016 16:53:11 +0000 (16:53 +0000)]
Merge "ARM/ARM64: Improve comments for kSaveEverything assembly." am:
c97bfd4512
am:
b1f90d499e
Change-Id: Iba2a6f578b8ba291e447bb7c3fd6d543912444ed
Vladimir Marko [Mon, 22 Aug 2016 16:49:17 +0000 (16:49 +0000)]
Merge "ARM/ARM64: Improve comments for kSaveEverything assembly."
am:
c97bfd4512
Change-Id: If51fb9cf83ff6a3a5f51d88d7bc20880649f67dd
Jeff Hao [Mon, 22 Aug 2016 16:47:43 +0000 (16:47 +0000)]
Merge "Fix debugger calling new String()."
Treehugger Robot [Mon, 22 Aug 2016 16:39:20 +0000 (16:39 +0000)]
Merge "ARM/ARM64: Improve comments for kSaveEverything assembly."
Vladimir Marko [Mon, 22 Aug 2016 15:02:12 +0000 (16:02 +0100)]
ARM/ARM64: Improve comments for kSaveEverything assembly.
Addresses post-submit comments for
https://android-review.googlesource.com/255290
Test: Rely on TreeHugger (just adds comments).
Bug:
30212852
Change-Id: I6ccc004774e18bbd83e3940e908cfc6c521142db
Andreas Gampe [Mon, 22 Aug 2016 15:14:06 +0000 (15:14 +0000)]
Merge "ART: Add thread offset printing hook to disassembler" am:
792c98bb77 am:
455b5cb525
am:
8f919d3fd8
Change-Id: I0fe49ef77f6333836935f65aa9abdb09714ebe9b
Roland Levillain [Mon, 22 Aug 2016 15:14:06 +0000 (15:14 +0000)]
Merge "Do not run 537-checker-arraycopy on non-Baker read barrier configs." am:
449fe8790c am:
a0f30d50d6
am:
4983defb10
Change-Id: I54700a4ad91d6b2e819a4cfa1270dd7ec19b7731
Andreas Gampe [Mon, 22 Aug 2016 15:10:35 +0000 (15:10 +0000)]
Merge "ART: Add thread offset printing hook to disassembler" am:
792c98bb77
am:
455b5cb525
Change-Id: Ie76d32d4d57d61691272f676653f081bf9ac7bbf
Roland Levillain [Mon, 22 Aug 2016 15:10:34 +0000 (15:10 +0000)]
Merge "Do not run 537-checker-arraycopy on non-Baker read barrier configs." am:
449fe8790c
am:
a0f30d50d6
Change-Id: I87f76181682d2769b36c3886266ba3ee83ed4393
Andreas Gampe [Mon, 22 Aug 2016 15:06:40 +0000 (15:06 +0000)]
Merge "ART: Add thread offset printing hook to disassembler"
am:
792c98bb77
Change-Id: Icb25b5da5df28bef2324bcc0542abbf30abf3ea2
Roland Levillain [Mon, 22 Aug 2016 15:06:38 +0000 (15:06 +0000)]
Merge "Do not run 537-checker-arraycopy on non-Baker read barrier configs."
am:
449fe8790c
Change-Id: I1279844e28564d9e70771e9d366f683d7af9e5ea
Treehugger Robot [Mon, 22 Aug 2016 15:01:24 +0000 (15:01 +0000)]
Merge "ART: Add thread offset printing hook to disassembler"
Roland Levillain [Mon, 22 Aug 2016 14:58:05 +0000 (14:58 +0000)]
Merge "Do not run 537-checker-arraycopy on non-Baker read barrier configs."
Roland Levillain [Mon, 22 Aug 2016 12:59:21 +0000 (13:59 +0100)]
Do not run 537-checker-arraycopy on non-Baker read barrier configs.
Test: ART_USE_READ_BARRIER=true ART_READ_BARRIER_TYPE=TABLELOOKUP make test-art-host-run-test-537-checker-arraycopy
Bug:
29516905
Bug:
12687968
Change-Id: Ie77f3a7ce19f3ff78d2132ca70fb10b595eb54d5
Andreas Gampe [Sat, 20 Aug 2016 05:45:16 +0000 (05:45 +0000)]
Merge "ART: Enforce arena alignment in Realloc" am:
ce999e7c8a am:
b82a56c486
am:
a71ccc7aec
Change-Id: I5c1f6e79d16e51028fa0eb12b15c0b699438a956
Andreas Gampe [Sat, 20 Aug 2016 05:41:16 +0000 (05:41 +0000)]
Merge "ART: Enforce arena alignment in Realloc" am:
ce999e7c8a
am:
b82a56c486
Change-Id: I0e0cfe4987f71292e08e230e14a59c5f88e0474c
Andreas Gampe [Sat, 20 Aug 2016 05:31:27 +0000 (05:31 +0000)]
Merge "ART: Enforce arena alignment in Realloc"
am:
ce999e7c8a
Change-Id: I5203de97e4b74bc854f13d83c4fee35a69df49bf
Treehugger Robot [Sat, 20 Aug 2016 05:19:15 +0000 (05:19 +0000)]
Merge "ART: Enforce arena alignment in Realloc"
Andreas Gampe [Sat, 20 Aug 2016 03:22:19 +0000 (20:22 -0700)]
ART: Enforce arena alignment in Realloc
Enforce the expected alignment in Realloc when the given buffer
can be expanded.
Add debug checks to prove alignment guarantees.
Change-Id: I7dbaf3ca0896f714cff07ff08f067a7c088a6c8d
Test: m test-art-host
Jeff Hao [Sat, 20 Aug 2016 01:31:39 +0000 (18:31 -0700)]
Fix debugger calling new String().
Used to return an empty string instead of the newly created String.
Requires accompanying jdwp test fix to test String contents.
Bug:
30951794
Change-Id: I27a8e0afcbe7e32a14dd3c394e44b6cd4d3c58f6
Test: mm -j24 run-jdwp-tests-host
Christina Wadsworth [Sat, 20 Aug 2016 00:42:39 +0000 (00:42 +0000)]
Merge "ART: Added DCHECKS to find alignment breakage." am:
da0f5e72cc am:
966c9dbcbe
am:
0d1a104ccb
Change-Id: I1619a9bbb659ba66a5ae50c6a2adafb97b36bccc
Christina Wadsworth [Sat, 20 Aug 2016 00:39:57 +0000 (00:39 +0000)]
Merge "ART: Added DCHECKS to find alignment breakage." am:
da0f5e72cc
am:
966c9dbcbe
Change-Id: Iaad545eeba7e6f3c9447c7c6d5ae0c9ee06ef59e
Christina Wadsworth [Sat, 20 Aug 2016 00:35:45 +0000 (00:35 +0000)]
Merge "ART: Added DCHECKS to find alignment breakage."
am:
da0f5e72cc
Change-Id: I53087c9339afe916c86a1af8efc430069c4a0104
Treehugger Robot [Sat, 20 Aug 2016 00:26:36 +0000 (00:26 +0000)]
Merge "ART: Added DCHECKS to find alignment breakage."
Andreas Gampe [Fri, 19 Aug 2016 17:49:06 +0000 (10:49 -0700)]
ART: Add thread offset printing hook to disassembler
To prepare separation of disassembler from libart, add a function
hook to the disassembler options for thread offset name printing.
Bug:
15436106
Change-Id: I9e9b7e565ae923952c64026f675ac527b560f51b
Christina Wadsworth [Fri, 19 Aug 2016 22:58:05 +0000 (15:58 -0700)]
ART: Added DCHECKS to find alignment breakage.
Change-Id: I47aed866ec3c3858dc3ee27cb84cfaddf44009d1
Hiroshi Yamauchi [Fri, 19 Aug 2016 22:25:55 +0000 (22:25 +0000)]
Merge "Revert "Improve the thread flip."" am:
bf042503dc am:
ec70e9623e
am:
f8e9417043
Change-Id: I035d086f005588f44f7bc2e7084dcfcc03cb8e6c
Hiroshi Yamauchi [Fri, 19 Aug 2016 22:22:30 +0000 (22:22 +0000)]
Merge "Revert "Improve the thread flip."" am:
bf042503dc
am:
ec70e9623e
Change-Id: Ie70c3bf9bc64aac2940a30a8831c69246ef46c0f
Hiroshi Yamauchi [Fri, 19 Aug 2016 22:18:36 +0000 (22:18 +0000)]
Merge "Revert "Improve the thread flip.""
am:
bf042503dc
Change-Id: I12000152e9c2752b64d75297328f9521bb26b56a
Treehugger Robot [Fri, 19 Aug 2016 22:12:40 +0000 (22:12 +0000)]
Merge "Revert "Improve the thread flip.""
Mathieu Chartier [Fri, 19 Aug 2016 22:07:33 +0000 (22:07 +0000)]
Merge "ART: Fixing build breakage (sharpening DCHECK)." am:
7a687680e2 am:
bbcb1f7d7a
am:
5a6405a5cb
Change-Id: Ie7a6ea333b68535ffdc876641fdcae2ca7285def
Mathieu Chartier [Fri, 19 Aug 2016 22:07:31 +0000 (22:07 +0000)]
Merge "ART: Fixing build breakage." am:
679e38bad5 am:
6224dbfe06
am:
f002bf3c98
Change-Id: Ib1d95a4f3854d41233b4ad7a08105ea8929ec842
Mathieu Chartier [Fri, 19 Aug 2016 22:03:54 +0000 (22:03 +0000)]
Merge "ART: Fixing build breakage (sharpening DCHECK)." am:
7a687680e2
am:
bbcb1f7d7a
Change-Id: I6471b76be166cd7d7ed26d1f927f6f3eea0a280f
Mathieu Chartier [Fri, 19 Aug 2016 22:03:53 +0000 (22:03 +0000)]
Merge "ART: Fixing build breakage." am:
679e38bad5
am:
6224dbfe06
Change-Id: Ib5d26d2060754ece4cbed7506b1ce653c6b27e9e
Mathieu Chartier [Fri, 19 Aug 2016 22:00:43 +0000 (22:00 +0000)]
Merge "ART: Fixing build breakage (sharpening DCHECK)."
am:
7a687680e2
Change-Id: I8ffbe21a473ea575e27c5f3ec8cb1688d5444426
Mathieu Chartier [Fri, 19 Aug 2016 22:00:41 +0000 (22:00 +0000)]
Merge "ART: Fixing build breakage."
am:
679e38bad5
Change-Id: I306da202445fc3d6755f764f0de202b5b0101da4
Mathieu Chartier [Fri, 19 Aug 2016 21:53:57 +0000 (21:53 +0000)]
Merge "ART: Fixing build breakage (sharpening DCHECK)."
Mathieu Chartier [Fri, 19 Aug 2016 21:53:20 +0000 (21:53 +0000)]
Merge "ART: Fixing build breakage."
Christina Wadsworth [Fri, 19 Aug 2016 21:38:01 +0000 (14:38 -0700)]
ART: Fixing build breakage (sharpening DCHECK).
Change-Id: I7ba19808dde0712739a278075da57f724166a233
Christina Wadsworth [Fri, 19 Aug 2016 20:28:19 +0000 (13:28 -0700)]
ART: Fixing build breakage.
Caused by Ic654a1fb9c1ae127dde59290bf36a23edb55ca8e.
Change-Id: Ia0c0fbcb6c8b141c5ee30a89ab6bc1c653916698
Colin Cross [Fri, 19 Aug 2016 20:25:51 +0000 (20:25 +0000)]
Merge "Fix building tests with partial arch codegen support" am:
7521483357 am:
22e6924147
am:
c928d65e53
Change-Id: I1dd2912290d549df575d5a090633d2ae8952444d
Aart Bik [Fri, 19 Aug 2016 20:25:50 +0000 (20:25 +0000)]
Merge "Implemented first version of java fuzz testing script." am:
ca1d99f530 am:
02c9badcaf
am:
6fde5959d7
Change-Id: I812fed882a03abac92294defefb67e231fb6dc4c
Colin Cross [Fri, 19 Aug 2016 20:22:50 +0000 (20:22 +0000)]
Merge "Fix building tests with partial arch codegen support" am:
7521483357
am:
22e6924147
Change-Id: I14ea6d1ed473e86b51fcce9f2e78f7dcb47c0510
Aart Bik [Fri, 19 Aug 2016 20:22:49 +0000 (20:22 +0000)]
Merge "Implemented first version of java fuzz testing script." am:
ca1d99f530
am:
02c9badcaf
Change-Id: I7951e8e2628d86048af1affabf8f8bc9bdf9a2c0
Colin Cross [Fri, 19 Aug 2016 20:19:26 +0000 (20:19 +0000)]
Merge "Fix building tests with partial arch codegen support"
am:
7521483357
Change-Id: Ifff7cd9a7fb13411423eba703b45361890158be0
Aart Bik [Fri, 19 Aug 2016 20:19:23 +0000 (20:19 +0000)]
Merge "Implemented first version of java fuzz testing script."
am:
ca1d99f530
Change-Id: I2b364a160ff1536060bb0c1b161219a052e0769a
Colin Cross [Fri, 19 Aug 2016 20:16:29 +0000 (20:16 +0000)]
Merge "Fix building tests with partial arch codegen support"
Treehugger Robot [Fri, 19 Aug 2016 20:15:03 +0000 (20:15 +0000)]
Merge "Implemented first version of java fuzz testing script."
Aart Bik [Wed, 17 Aug 2016 23:51:12 +0000 (16:51 -0700)]
Implemented first version of java fuzz testing script.
Test: run_java_fuzz_test.py
BUG=
30610121
Change-Id: I2a802476bcb0986e2891748ad85f8feac21656a8
Mathieu Chartier [Fri, 19 Aug 2016 17:57:39 +0000 (17:57 +0000)]
Merge "ART: Implement a fixed size string dex cache" am:
9c07ab332b am:
3e40f6097f
am:
f8bbf4f124
Change-Id: I4bfbd861c3395991f5ecbaea9b4b0df986510021
Hiroshi Yamauchi [Fri, 19 Aug 2016 17:56:11 +0000 (17:56 +0000)]
Revert "Improve the thread flip."
This reverts commit
e61e6fdd404b8f04bd33fc3ea49e38e92e31ad69.
ThreadStress failing.
Bug:
29517059
Bug:
12687968
Change-Id: I0ee8ef04f77c5f9378e4bd21c5dedb4e435a2dc6
Mathieu Chartier [Fri, 19 Aug 2016 17:50:40 +0000 (17:50 +0000)]
Merge "ART: Implement a fixed size string dex cache" am:
9c07ab332b
am:
3e40f6097f
Change-Id: I7a2d24f6a740ece00bd9b43d31f498229856fd3c
Colin Cross [Thu, 18 Aug 2016 20:45:24 +0000 (13:45 -0700)]
Fix building tests with partial arch codegen support
Add conditionals around more code that is only used for codegen for
specific architectures, and move a few more files into the
architecture-specific codegen lists.
Tests: ART_HOST_CODEGEN_ARCHS="x86_64 mips" m -j ART_TARGET_CODEGEN_ARCHS=svelte test-art-host
Bug:
30928847
Change-Id: I0444d15e1cafe4c9b13ff78718c3b13b544270e7
Mathieu Chartier [Fri, 19 Aug 2016 17:47:10 +0000 (17:47 +0000)]
Merge "ART: Implement a fixed size string dex cache"
am:
9c07ab332b
Change-Id: I4911322c2d0294a78f0e86abf07ecc4dfb734c9f
Mathieu Chartier [Fri, 19 Aug 2016 17:33:03 +0000 (17:33 +0000)]
Merge "ART: Implement a fixed size string dex cache"
Roland Levillain [Fri, 19 Aug 2016 15:20:55 +0000 (15:20 +0000)]
Merge "Add support for Baker read barriers in SystemArrayCopy intrinsics." am:
6670bd2098 am:
9834fb855d
am:
5bba514075
Change-Id: I286c240faeb3ff2670dfbd8ce10b3e488b05cdb9
Roland Levillain [Fri, 19 Aug 2016 15:17:25 +0000 (15:17 +0000)]
Merge "Add support for Baker read barriers in SystemArrayCopy intrinsics." am:
6670bd2098
am:
9834fb855d
Change-Id: Ifa19125f8b3f2b8ea43b435d73b73273d6cdd2f1
Roland Levillain [Fri, 19 Aug 2016 15:14:29 +0000 (15:14 +0000)]
Merge "Add support for Baker read barriers in SystemArrayCopy intrinsics."
am:
6670bd2098
Change-Id: Ic796cba890a32feeb9ad7d7fbb661b9880252cb4
Roland Levillain [Fri, 19 Aug 2016 15:07:31 +0000 (15:07 +0000)]
Merge "Add support for Baker read barriers in SystemArrayCopy intrinsics."
Roland Levillain [Fri, 19 Aug 2016 11:02:34 +0000 (12:02 +0100)]
Add support for Baker read barriers in SystemArrayCopy intrinsics.
Benchmarks (ARM64) score variations on Nexus 5X with CPU
cores clamped at 960000 Hz (aosp_bullhead-userdebug build):
- Ritzperf - average (lower is better): -3.03% (slightly better)
- CaffeineMark - average (higher is better): +1.26% (slightly better)
- DeltaBlue (lower is better): -10.50% (better)
- Richards - average (lower is better): -3.36% (slightly better)
- SciMark2 - average (higher is better): +0.26% (virtually unchanged)
Details about Ritzperf benchmarks with meaningful variations
(lower is better):
- FormulaEvaluationActions.EvaluateAndApplyChanges: -13.26% (better)
- FormulaEvaluationActions.EvaluateCascadingSums: -10.94% (better)
- FormulaEvaluationActions.EvaluateComplexFormulas: -15.50% (better)
- FormulaEvaluationActions.EvaluateFibonacci: -10.41% (better)
- FormulaEvaluationActions.EvaluateLargeSums: +6.02% (worse)
Boot image code size variation on Nexus 5X
(aosp_bullhead-userdebug build):
- total ARM64 framework Oat files size change:
107047632 bytes ->
107154128 bytes (+0.10%)
- total ARM framework Oat files size change:
90932028 bytes ->
91009852 bytes (+0.09%)
Test: ART host and target (ARM, ARM64) tests + Nexus 5X boot.
Bug:
29516905
Bug:
29506760
Bug:
12687968
Change-Id: I85431368d09965687a0301ae2eb3c991f276ce5d
Hiroshi Yamauchi [Fri, 19 Aug 2016 01:42:04 +0000 (01:42 +0000)]
Merge "Improve the thread flip." am:
f606c3a687 am:
0fcddda9e6
am:
d4caf034c6
Change-Id: Ia9a4d441d30651faa14e20fc3484557d82ee7c4e
Hiroshi Yamauchi [Fri, 19 Aug 2016 01:39:02 +0000 (01:39 +0000)]
Merge "Improve the thread flip." am:
f606c3a687
am:
0fcddda9e6
Change-Id: I5af1c512800aaa15375306a36a416b09e8a4ba96
Hiroshi Yamauchi [Fri, 19 Aug 2016 01:36:35 +0000 (01:36 +0000)]
Merge "Improve the thread flip."
am:
f606c3a687
Change-Id: I93770b75a2d9e3ae3f3d53f37985d031425efe98
Treehugger Robot [Fri, 19 Aug 2016 01:29:50 +0000 (01:29 +0000)]
Merge "Improve the thread flip."
Matthew Gharrity [Fri, 19 Aug 2016 00:40:29 +0000 (00:40 +0000)]
Merge "Color spill slots in gc regalloc" am:
96954301ee am:
9ffb2dbdc3
am:
3166018285
Change-Id: I71039fa23696c90db832420b0204b66292999437
Matthew Gharrity [Fri, 19 Aug 2016 00:37:28 +0000 (00:37 +0000)]
Merge "Color spill slots in gc regalloc" am:
96954301ee
am:
9ffb2dbdc3
Change-Id: I9e61a5e089a7a427937b571d8d70964c5b97a80b
Matthew Gharrity [Fri, 19 Aug 2016 00:34:31 +0000 (00:34 +0000)]
Merge "Color spill slots in gc regalloc"
am:
96954301ee
Change-Id: Ibeafcda9441236cddcc2c1ce239ee5c260848a13
Treehugger Robot [Fri, 19 Aug 2016 00:30:44 +0000 (00:30 +0000)]
Merge "Color spill slots in gc regalloc"
Aart Bik [Thu, 18 Aug 2016 23:47:55 +0000 (23:47 +0000)]
Merge "Log optimization passes in verbose mode" am:
35938f90ef am:
162a5bcc73
am:
0ba24d8884
Change-Id: Id9c1bd0f9cb8b78a8d3ffaee867b1694f37bb0e3
Aart Bik [Thu, 18 Aug 2016 23:44:55 +0000 (23:44 +0000)]
Merge "Log optimization passes in verbose mode" am:
35938f90ef
am:
162a5bcc73
Change-Id: I6c8d9504af6b2383707d851cc13f1f93cdac0fb9
Aart Bik [Thu, 18 Aug 2016 23:41:57 +0000 (23:41 +0000)]
Merge "Log optimization passes in verbose mode"
am:
35938f90ef
Change-Id: I71332e121fe7a2deca1932b76281ca8a79427141
Aart Bik [Thu, 18 Aug 2016 23:35:09 +0000 (23:35 +0000)]
Merge "Log optimization passes in verbose mode"
Christina Wadsworth [Thu, 18 Aug 2016 17:37:42 +0000 (10:37 -0700)]
ART: Implement a fixed size string dex cache
Previously, the string dex cache was dex_file->NumStringIds() size, and
@ruhler found that only ~1% of that cache was ever getting filled. Since
many of these string dex caches were previously 100,000+ indices in
length, we're wasting a few hundred KB per app by storing null pointers.
The intent of this project was to reduce the space the string dex cache
is using, while not regressing on time that much. This is the first of a
few CLs, which implements the new fixed size array and disables the
compiled code so it always goes slow path. In four other CLs, I
implemented a "medium path" that regresses from the previous "fast path"
only a bit in assembly in the entrypoints. @vmarko will introduce new
compiled code in the future so that we ultimately won't be regressing on
time at all. Overall, space savings have been confirmed as on the order
of 100 KB per application.
A 4-5% slow down in art-opt on Golem, and no noticeable slow down in the
interpreter. The opt slow down should be diminished once the new
compiled code is introduced.
Test: m test-art-host
Bug:
20323084
Change-Id: Ic654a1fb9c1ae127dde59290bf36a23edb55ca8e
Narayan Kamath [Thu, 18 Aug 2016 11:05:33 +0000 (11:05 +0000)]
Merge "dex_instruction: k45cc HasVarArgs" am:
3049b2a54b am:
11cfcd9784
am:
ce799e83ad
Change-Id: I64ed204db33a00096d6be27b9bb10da3f9b6258f
Narayan Kamath [Thu, 18 Aug 2016 11:02:33 +0000 (11:02 +0000)]
Merge "dex_instruction: k45cc HasVarArgs" am:
3049b2a54b
am:
11cfcd9784
Change-Id: I998122f07d43ff87b365b2650800552a92c8d0fe
Narayan Kamath [Thu, 18 Aug 2016 10:59:36 +0000 (10:59 +0000)]
Merge "dex_instruction: k45cc HasVarArgs"
am:
3049b2a54b
Change-Id: I46dd32227166260b1832f974256d654269ac18bb
Treehugger Robot [Thu, 18 Aug 2016 10:56:54 +0000 (10:56 +0000)]
Merge "dex_instruction: k45cc HasVarArgs"
Narayan Kamath [Mon, 15 Aug 2016 15:08:18 +0000 (16:08 +0100)]
dex_instruction: k45cc HasVarArgs
Change-Id: I3be92269bb78c96ec41ab533c5792bd369c02178
Test: make test-art-host
bug:
30550796
Wojciech Staszkiewicz [Thu, 18 Aug 2016 06:17:16 +0000 (06:17 +0000)]
Merge "Fix optimizing compiler not building for svelte" am:
1a3fd4a646 am:
b24860d0e7
am:
81e8b5a7f2
Change-Id: I5bb4cdfff810bd1846fe5d1b590b67c2c9da30ce
Wojciech Staszkiewicz [Thu, 18 Aug 2016 06:14:45 +0000 (06:14 +0000)]
Merge "Fix optimizing compiler not building for svelte" am:
1a3fd4a646
am:
b24860d0e7
Change-Id: I1603bc10fb0816116f032690a4edee3201e55b0e
Wojciech Staszkiewicz [Thu, 18 Aug 2016 06:12:19 +0000 (06:12 +0000)]
Merge "Fix optimizing compiler not building for svelte"
am:
1a3fd4a646
Change-Id: Ib90de25574f62cad2aa967a5a287ac91e21325c5
Treehugger Robot [Thu, 18 Aug 2016 06:07:42 +0000 (06:07 +0000)]
Merge "Fix optimizing compiler not building for svelte"
Dmitriy Filchenko [Thu, 18 Aug 2016 03:27:06 +0000 (03:27 +0000)]
Merge "Remove unused include." am:
16f7008195 am:
90b09b210a
am:
29d5637b5c
Change-Id: I2f26fc6858fd5558c23f2e6c531edcb991cead13
Hiroshi Yamauchi [Tue, 2 Aug 2016 23:03:06 +0000 (16:03 -0700)]
Improve the thread flip.
- In addition to the threads that are suspended in FullSuspendCheck(),
prioritize the resume of threads that are blocking for the thread
flip at the JNI critical section entry and threads are about to
transition to runnable (eg. blocking at the SOA entry from JNI).
- Shorten the length of the thread flip critical
section (ThreadFlipBegin/End).
- Add some systrace scopes.
Bug:
29517059
Bug:
12687968
Test: test-art-host, Ritz EAAC, N9 libartd boot.
Change-Id: Idecec9936ae432c23d5f83321ba13339852018df
Dmitriy Filchenko [Thu, 18 Aug 2016 03:23:35 +0000 (03:23 +0000)]
Merge "Remove unused include." am:
16f7008195
am:
90b09b210a
Change-Id: Iff60da238ce17ca34954aea91a5580a956009e95
Dmitriy Filchenko [Thu, 18 Aug 2016 03:21:08 +0000 (03:21 +0000)]
Merge "Remove unused include."
am:
16f7008195
Change-Id: Ibf7fdc4a8adda45daa41b93c44b2c86716285f52