OSDN Git Service
Andreas Gampe [Mon, 28 Dec 2015 18:41:49 +0000 (10:41 -0800)]
ART: Fix up some multi-image cases
Change the auto-generated multi-image names to include the path
components from the first image, as well as prefix them with the
first image's name to disambiguate. This fixes vogar-style usage.
Fix an out-of-bounds issue in dex2oat when dex files are missing.
Forbid generating or patching multi-image parts when loading images.
Instead just fail loading them.
Remember ImageSpace instances that have been added while trying to
load a multi-image set. Remove all loaded instances when the overall
loading process fails.
Refactor the dex location adaptation into ImageSpace. Reuse the code
in the Runtime path for fallback, so that all dex files can be found
correctly.
Fix an out-of-bounds access in OatFileAssistant in fallback mode.
Partially reverts
d895961d07a1d320b29f2045a48bc5a1944a4d3c. Push an
actual image name, that is, something with an art extension, to
the vogar scripts.
Partially reverts
c525604b313bb77a2077e1fec43dfab76cb1b9b1. Test
119-noimage-patchoat works again.
Bug:
26317072
Bug:
26320300
Change-Id: I3f05fa77f22a2b9ca54c3105ffc53646c1928604
Andreas Gampe [Mon, 28 Dec 2015 17:59:43 +0000 (17:59 +0000)]
Merge changes I00dc6cfc,Iae8f1c88
* changes:
ART: Disable Math.round intrinsics
Revert "Make Math.round consistent on arm64."
Andreas Gampe [Mon, 28 Dec 2015 17:54:29 +0000 (09:54 -0800)]
ART: Disable Math.round intrinsics
The move to OpenJDK means that Android has caught up with the
definition change of Math.round. Disable intrinsics.
Bug:
26327751
Change-Id: I00dc6cfca12bd7c95e56a4ab76ffee707d3822dc
Andreas Gampe [Mon, 28 Dec 2015 17:06:29 +0000 (09:06 -0800)]
Revert "Make Math.round consistent on arm64."
This reverts commit
40041c9a38e3961d8675d117517719458a115520.
Needs to be generalized to all platforms.
Bug:
26327751
Change-Id: Iae8f1c8846d120d8e3e99b6eb87f3760bf793ec5
Nicolas Geoffray [Sun, 27 Dec 2015 23:02:37 +0000 (23:02 +0000)]
Merge "Remove duplicate entry in expectations."
Nicolas Geoffray [Sun, 27 Dec 2015 23:01:28 +0000 (23:01 +0000)]
Remove duplicate entry in expectations.
Change-Id: Ia265787f132ae8a5685fa0a699fa133f6f7f0554
Nicolas Geoffray [Sun, 27 Dec 2015 16:26:40 +0000 (16:26 +0000)]
Merge "Make Math.round consistent on arm64."
Nicolas Geoffray [Sun, 27 Dec 2015 16:20:14 +0000 (16:20 +0000)]
Make Math.round consistent on arm64.
OpenJDK seems to have a different rounding implementation than
libcore. Temporarily disable the intrinsic.
Test that fails:
Assert.assertEquals(StrictMath.round(0.
49999999999999994d), 1l);
Assert.assertEquals(Math.round(0.
49999999999999994d), 1l);
bug:
26327751
Change-Id: Iad2fb847e4a553b8c1f5031f772c81e7e4db9f4c
Nicolas Geoffray [Sun, 27 Dec 2015 15:50:52 +0000 (15:50 +0000)]
Merge "Tweaks to get vogar runs working after enso move."
Nicolas Geoffray [Sun, 27 Dec 2015 15:46:35 +0000 (15:46 +0000)]
Tweaks to get vogar runs working after enso move.
- Use ART_TEST_ANDROID_ROOT for the dex locations, so that
ART can find resources.
- Use the pre-compiled boot image to avoid b/
26320300.
- Add new failures to failures file.
bug:
26320300
Change-Id: I08653b563f837a7ac3a014424951417f6bdd3294
Nicolas Geoffray [Sat, 26 Dec 2015 19:44:09 +0000 (19:44 +0000)]
Merge "Tweaks to get run-test working after enso."
Nicolas Geoffray [Sat, 26 Dec 2015 19:41:37 +0000 (19:41 +0000)]
Tweaks to get run-test working after enso.
- test 119 temporarily disabled
- set java.io.tmpdir in the command line for target
bug:
26320300
Change-Id: I9ddeac4f23f065eea62511f9fa392ea4764d0435
Narayan Kamath [Thu, 24 Dec 2015 11:55:50 +0000 (11:55 +0000)]
Merge internal master into aosp/master.
Calin Juravle [Thu, 24 Dec 2015 10:43:58 +0000 (02:43 -0800)]
Merge "Save profile information in a separate thread." am:
58b2329de7
am:
da6e49016d
* commit '
da6e49016dc37704f45b13217a8c6f8e726ab8e1':
Save profile information in a separate thread.
Calin Juravle [Thu, 24 Dec 2015 10:42:07 +0000 (02:42 -0800)]
Merge "Save profile information in a separate thread."
am:
58b2329de7
* commit '
58b2329de74a73d2f0a7ed001e50cc39df33d9da':
Save profile information in a separate thread.
Calin Juravle [Thu, 24 Dec 2015 10:38:45 +0000 (10:38 +0000)]
Merge "Save profile information in a separate thread."
Calin Juravle [Tue, 1 Dec 2015 18:38:09 +0000 (18:38 +0000)]
Save profile information in a separate thread.
Previously we would save the profiling information only when the app
was sent to background. This missed on an important number of updates
on the jit code cache and it didn't work for background processes.
Bug:
26080105
Change-Id: I84075629870e69b3ed372f00f4806af1e9391e0f
Andreas Gampe [Thu, 24 Dec 2015 05:57:14 +0000 (05:57 +0000)]
Merge "Dex2oat support for multiple oat file and image file outputs."
Jeff Hao [Fri, 4 Dec 2015 22:06:18 +0000 (14:06 -0800)]
Dex2oat support for multiple oat file and image file outputs.
Multiple changes to dex2oat and the runtime to support a --multi-image
option. This generates a separate oat file and image file output for
each dex file input.
Change-Id: Ie1d6f0b8afa8aed5790065b8c2eb177990c60129
Nicolas Geoffray [Thu, 24 Dec 2015 02:25:52 +0000 (18:25 -0800)]
Merge "Optimize HLoadClass when we know the class is in the cache." am:
883ef45b5d am:
bd5a084171
am:
8dac686bc7
* commit '
8dac686bc7f975d098c18614572c4685373792a0':
Nicolas Geoffray [Thu, 24 Dec 2015 02:25:34 +0000 (18:25 -0800)]
Merge "Add backward branch instumentation to the switch interpreter." am:
fca8008f54 am:
3abc5a1b36
am:
05eeb91c08
* commit '
05eeb91c08ae5d81862dc068f54c3c3047f257a2':
Vladimir Marko [Thu, 24 Dec 2015 02:25:25 +0000 (18:25 -0800)]
Merge "ART: Fix SafeMap::Put()/PutBefore() rvalue overloads." am:
dcb07112d1 am:
d8fd461658
am:
586e765022
* commit '
586e7650227f9f7685544540cf99e20d8a931e1b':
Nicolas Geoffray [Thu, 24 Dec 2015 02:25:11 +0000 (18:25 -0800)]
Merge "A few more optimizations on avoiding HClinit." am:
95f7bbcd99 am:
a7386e40c2
am:
dbfe31b53c
* commit '
dbfe31b53c9560d07f4a5960f4eae673dce000eb':
Nicolas Geoffray [Thu, 24 Dec 2015 02:25:03 +0000 (18:25 -0800)]
Merge "MIPS32: Record missing implicit null checks" am:
b110fd6f23 am:
67efef697b
am:
2aaa4ba667
* commit '
2aaa4ba66727d45367a6d88760891789271638a4':
Roland Levillain [Thu, 24 Dec 2015 02:24:55 +0000 (18:24 -0800)]
Merge "Revamp art::CheckEntrypointTypes uses." am:
22c20ef131 am:
f27aa970e6
am:
67ef7262bc
* commit '
67ef7262bc90adde06176d53712bcc385aec574d':
Roland Levillain [Thu, 24 Dec 2015 02:24:46 +0000 (18:24 -0800)]
Merge "MIPS64: Support short and long branches" am:
51a354c747 am:
e73ddd8db1
am:
d75def2278
* commit '
d75def2278fbca3c1c7bd9e5fab3443c63d1aa52':
Nicolas Geoffray [Thu, 24 Dec 2015 02:24:38 +0000 (18:24 -0800)]
Merge "Add another test for wide stores fix in optimizing." am:
7f8275549f am:
03ea981f95
am:
ffeabe2039
* commit '
ffeabe20390d16d6b9c2f04825b42e18c2702342':
Roland Levillain [Thu, 24 Dec 2015 02:24:30 +0000 (18:24 -0800)]
Merge "Clean up read barrier related comments in Optimizing." am:
43922a52eb am:
94d4b661ce
am:
672e6ccc49
* commit '
672e6ccc499a8636ef42106c7eacf36135bb3448':
Nicolas Geoffray [Thu, 24 Dec 2015 02:24:21 +0000 (18:24 -0800)]
Merge "Revert "lambda: Add support for invoke-interface for boxed innate lambdas"" am:
a4bce7141a am:
3928e8ccc3
am:
776db131f3
* commit '
776db131f3755cf4bde7b8b02b9f7d18c0e941b2':
Roland Levillain [Thu, 24 Dec 2015 02:23:02 +0000 (18:23 -0800)]
Merge "Disable JDWP tests with read barriers." am:
0c32fdeaed am:
54c9448680
am:
fcd595a72c
* commit '
fcd595a72c9c5efa8b5d22ce6177667fdd9bedb6':
Alex Light [Thu, 24 Dec 2015 02:22:49 +0000 (18:22 -0800)]
Merge "Make target-sync work with verity." am:
db001ab8d8 am:
9db399ea9a
am:
96667e03b7
* commit '
96667e03b70312d86c23001218c64d0536328fb3':
Vladimir Marko [Thu, 24 Dec 2015 02:22:41 +0000 (18:22 -0800)]
Merge "ARM64: Add support for multiply-accumulate." am:
67e0ad6df9 am:
f6dc22c5d7
am:
1aa98e4182
* commit '
1aa98e41829e7bf378d19d267a5e685999fe33b3':
David Brazdil [Thu, 24 Dec 2015 02:22:28 +0000 (18:22 -0800)]
Merge "ART: Fix wide stores in Optimizing" am:
349106d96c am:
fb601d2eeb
am:
f177c7394a
* commit '
f177c7394abc5ab219cae57820be0125e0f64c1f':
Vladimir Marko [Thu, 24 Dec 2015 02:22:20 +0000 (18:22 -0800)]
Merge "Optimizing: Avoid a PrettyMethod() call per compiled method." am:
eb4955b5aa am:
a5c0a6c6de
am:
6e556435ab
* commit '
6e556435abdb0290883f263d80a4f05872adb243':
Nicolas Geoffray [Thu, 24 Dec 2015 02:22:07 +0000 (18:22 -0800)]
Merge "Do not change to the access check entrypoint when inlined." am:
6d92d59fb0 am:
c61ac2785c
am:
00df6d2bc0
* commit '
00df6d2bc054021c7ea4a45ee440af1c9ba3099d':
Vladimir Marko [Thu, 24 Dec 2015 02:21:59 +0000 (18:21 -0800)]
Merge "Optimizing/ARM: Improve long shifts by 1." am:
f180af0fc0 am:
f2550c7330
am:
bda98bfb15
* commit '
bda98bfb15a5ecfec4128d8cc59eeda02ccce638':
Vladimir Marko [Thu, 24 Dec 2015 02:21:50 +0000 (18:21 -0800)]
Merge "Optimizing/Thumb2: Improve load/store for large offsets." am:
97cd5bb34c am:
7d1e7e8dc4
am:
47c471fd01
* commit '
47c471fd0174c0c8ca840b5271adf78191096bf6':
Nicolas Geoffray [Thu, 24 Dec 2015 02:21:42 +0000 (18:21 -0800)]
David Brazdil [Thu, 24 Dec 2015 02:21:33 +0000 (18:21 -0800)]
David Brazdil [Thu, 24 Dec 2015 02:21:25 +0000 (18:21 -0800)]
Merge "Simplify boolean condition compared to 0" am:
2171e2ab84 am:
0af5e3b30f
am:
6b02362d5f
* commit '
6b02362d5ff05df439c1ba12e212cffbe5a2252b':
Nicolas Geoffray [Thu, 24 Dec 2015 02:21:16 +0000 (18:21 -0800)]
Merge "Revert "Add stats support for existing optimizations"" am:
5d78a0f808 am:
05718eb6a9
am:
5c7d5cdd89
* commit '
5c7d5cdd8922dd25c264a0af9d1e09894787d879':
Nicolas Geoffray [Thu, 24 Dec 2015 02:21:08 +0000 (18:21 -0800)]
Merge "Explicitly add HLoadClass/HClinitCheck for HNewInstance." am:
01b88a2c89 am:
43392ff9c6
am:
e3f8063fe0
* commit '
e3f8063fe0978182e5f8aea83fbe3950339655ef':
Nicolas Geoffray [Thu, 24 Dec 2015 02:20:59 +0000 (18:20 -0800)]
Merge "Add stats support for existing optimizations" am:
be0c2d9102 am:
aeb99f91a1
am:
54c8e74ee9
* commit '
54c8e74ee9d4eb13588090c541c8fa7cfef9c03e':
Aart Bik [Thu, 24 Dec 2015 02:20:47 +0000 (18:20 -0800)]
Merge "Revert "Dynamic BCE (based on induction range analysis)"" am:
d83b9042d6 am:
08a96a5a4f
am:
594b4469ed
* commit '
594b4469ed2a08072c4b5db86cc229df89d0a945':
Aart Bik [Thu, 24 Dec 2015 02:20:28 +0000 (18:20 -0800)]
Merge "Dynamic BCE (based on induction range analysis)" am:
4b0d02ccde am:
ce8f06b043
am:
52e3b91163
* commit '
52e3b91163dc37d38901bae1915f44235abf8f9b':
Igor Murashkin [Thu, 24 Dec 2015 02:20:10 +0000 (18:20 -0800)]
Merge "lambda: Add support for invoke-interface for boxed innate lambdas" am:
b48cb936e6 am:
e340e9c23f
am:
89b11b0174
* commit '
89b11b0174915ce8aefb68e47c978801ab1f30c0':
Jeff Hao [Thu, 24 Dec 2015 02:19:52 +0000 (18:19 -0800)]
Merge "Fix null pointer in processing of enum annotations." am:
3944f7175d am:
f8a2a7ef22
am:
69af53d7d0
* commit '
69af53d7d03a78735511c128f3b71cb1454034c3':
Mathieu Chartier [Thu, 24 Dec 2015 02:19:44 +0000 (18:19 -0800)]
Merge "Pass DexPathList.Element array to openDexFileNative" am:
9ee6ec52a2 am:
1a764fb007
am:
16a38a130c
* commit '
16a38a130c2c7db2c5f0cc2730e4eb3ef317749d':
Andreas Gampe [Thu, 24 Dec 2015 02:19:35 +0000 (18:19 -0800)]
Merge "MIPS32: Miscellaneous bit manipulations routines:" am:
e3dbda2d7c am:
07271bcd7e
am:
f19d9352ba
* commit '
f19d9352ba7b8825ed1743b7c115ca4161364af7':
Hiroshi Yamauchi [Thu, 24 Dec 2015 02:19:03 +0000 (18:19 -0800)]
Merge "Kill stale dalvikvm processes at the end of the jdwp test." am:
bfc9d5103b am:
899a9b016e
am:
5f6854710c
* commit '
5f6854710cbb1eb1058e655d703da8015dff5563':
Alex Light [Thu, 24 Dec 2015 02:18:55 +0000 (18:18 -0800)]
Merge "Fix --jvm on run-tests 960 and 961" am:
aac223f83b am:
5fba52d09a
am:
672c3035cd
* commit '
672c3035cd0c86ed0a673ffa8368a2b512b1423a':
Alex Light [Thu, 24 Dec 2015 02:18:42 +0000 (18:18 -0800)]
Merge "Use arc4random when available to select delta for image relocation." am:
039404cb8d am:
3a08475e53
am:
67e08950a9
* commit '
67e08950a972830d1c121ee5ab1d7fce02f975cb':
David Srbecky [Thu, 24 Dec 2015 02:18:34 +0000 (18:18 -0800)]
Merge "Encode function signatures properly in DWARF." am:
b9ededb3b5 am:
8b16222448
am:
d8511f44cb
* commit '
d8511f44cb868905dd1d52b9ad4624abacde4835':
David Brazdil [Thu, 24 Dec 2015 02:18:16 +0000 (18:18 -0800)]
Merge "Opt compiler: More strength reduction for multiplications." am:
60c4c6ad2b am:
d8841c279f
am:
286bdcaebd
* commit '
286bdcaebdb04f248d04400cc0788df785d399db':
Vladimir Marko [Thu, 24 Dec 2015 02:18:07 +0000 (18:18 -0800)]
Merge "Clean up the special input in HInvokeStaticOrDirect." am:
53ced034cd am:
6221a7024f
am:
4e30dc4e50
* commit '
4e30dc4e5016e2ce9980ed9433e3ee62861aba74':
Alex Light [Thu, 24 Dec 2015 02:17:39 +0000 (18:17 -0800)]
Merge "Revert "Use arc4random when available to select delta for image relocation."" am:
beb709a260 am:
6212c0f0a5
am:
69c7f2f758
* commit '
69c7f2f7587349521a2094eaf2ed5f0048b563d5':
Alex Light [Thu, 24 Dec 2015 02:17:30 +0000 (18:17 -0800)]
Merge "Use arc4random when available to select delta for image relocation." am:
7dd1260c56 am:
e397b365c7
am:
7e9e2fe70a
* commit '
7e9e2fe70acd2841dc456c82c166791ff65c09b8':
Mathieu Chartier [Thu, 24 Dec 2015 02:17:10 +0000 (18:17 -0800)]
Merge "Remove thread suspension assertion for SuspendAllForDebugger" am:
d042c4514a am:
339db7251d
am:
671153c236
* commit '
671153c23663af92808876f0c15b5e356c0cc443':
Mathieu Chartier [Thu, 24 Dec 2015 02:17:01 +0000 (18:17 -0800)]
Merge "Create parent class loader for dex2oat" am:
e74369f0ae am:
7d3d692dc8
am:
98d9e88849
* commit '
98d9e888492583c74aa52555bc0f7d6d3db5b2b3':
Hiroshi Yamauchi [Thu, 24 Dec 2015 02:16:50 +0000 (18:16 -0800)]
Merge "Relax CAS in some uses of Object::AtomicSetReadBarrierPointer." am:
16cabc4acd am:
ae1afa423b
am:
351e628063
* commit '
351e628063660c8414f6a7e6b300cc6a705de829':
Nicolas Geoffray [Thu, 24 Dec 2015 02:15:58 +0000 (18:15 -0800)]
Calin Juravle [Thu, 24 Dec 2015 02:15:42 +0000 (18:15 -0800)]
Merge "Allow NullConstant to be untyped in GraphVisualiser." am:
33a9a16a7f am:
29472606d5
am:
d551eb95fe
* commit '
d551eb95fe7242f00726cc4adc2e8a53d83e3629':
Andreas Gampe [Thu, 24 Dec 2015 02:15:19 +0000 (18:15 -0800)]
Merge "MIPS64: Add java.lang.String.equals intrinsic." am:
34053d1f5a am:
41817d467b
am:
f6ea9768d9
* commit '
f6ea9768d9a1b6498d99341d790bc8279f52ed03':
Nicolas Geoffray [Thu, 24 Dec 2015 02:15:11 +0000 (18:15 -0800)]
Roland Levillain [Thu, 24 Dec 2015 02:14:39 +0000 (18:14 -0800)]
Merge "ARM read barrier support for concurrent GC in Optimizing." am:
ee7d4a3d57 am:
a88884d62e
am:
274905ac17
* commit '
274905ac1751f2478222e51fde7c4719a4a00067':
Vladimir Marko [Thu, 24 Dec 2015 02:14:31 +0000 (18:14 -0800)]
Nicolas Geoffray [Thu, 24 Dec 2015 02:14:18 +0000 (18:14 -0800)]
Merge "Increase code cache after 1 full collection." am:
69edd0dbce am:
5e6c35e00d
am:
c5c111a6a5
* commit '
c5c111a6a5a308dccecd5f6d9b6ef290b21fa7ee':
Nicolas Geoffray [Thu, 24 Dec 2015 02:14:11 +0000 (18:14 -0800)]
Merge "Add jack as a build target for the buildbot." am:
a43a851f50 am:
9319a694cf
am:
0f577f1576
* commit '
0f577f1576774111b56ba651639eb768b64b9acc':
Andreas Gampe [Thu, 24 Dec 2015 02:14:02 +0000 (18:14 -0800)]
Merge "ART: Change Init{From,Without}Image to return bool" am:
0f0d5f370d am:
1291cfd7bd
am:
fac07da66d
* commit '
fac07da66d69a7d98a33932f44d1712429a0b2c9':
Mathieu Chartier [Thu, 24 Dec 2015 02:13:35 +0000 (18:13 -0800)]
Mingyao Yang [Thu, 24 Dec 2015 02:13:02 +0000 (18:13 -0800)]
Mingyao Yang [Thu, 24 Dec 2015 02:12:54 +0000 (18:12 -0800)]
Merge "Revert "Revert "Enable store elimination for singleton objects.""" am:
b9bbbeb2b0 am:
fde8cc594d
am:
69ae262d9d
* commit '
69ae262d9df2eca038a969e2565a29b8f327aab0':
Mathieu Chartier [Thu, 24 Dec 2015 02:12:32 +0000 (18:12 -0800)]
Merge "Remove incorrect iterator increment" am:
a341377bd5 am:
9cc29ef968
am:
42f7bd429c
* commit '
42f7bd429c37ca391092f9d0d33e2f9fca88119f':
Vladimir Marko [Thu, 24 Dec 2015 02:11:10 +0000 (18:11 -0800)]
Merge "Opt compiler: Arm64 packed-switch jump tables." am:
9231730cd0 am:
a30022e1e5
am:
87ea9ea0ad
* commit '
87ea9ea0add5a4f70f5365eb820a67a6e57425d8':
Nicolas Geoffray [Thu, 24 Dec 2015 02:10:50 +0000 (18:10 -0800)]
Merge "Fix bogus DCHECK and rename DidForkFromZygote." am:
349baca032 am:
bc13ef68ca
am:
638e9eeba6
* commit '
638e9eeba63cd0b96a465d0f11691b9a621bc980':
Nicolas Geoffray [Thu, 24 Dec 2015 02:10:41 +0000 (18:10 -0800)]
Merge "Remove DEBUG_JIT from Zygote flags." am:
f5dd91e046 am:
28e7fab960
am:
b10c5abd65
* commit '
b10c5abd658b731da2855e645e64fa34b30654d1':
Calin Juravle [Thu, 24 Dec 2015 02:10:33 +0000 (18:10 -0800)]
Merge "Implement common super type in reference type propagation." am:
a4d1b6438f am:
f22e6c9833
am:
82ae1a2165
* commit '
82ae1a2165d51fa582efd3e455ee17ab3828946d':
Sebastien Hertz [Thu, 24 Dec 2015 02:10:24 +0000 (18:10 -0800)]
Merge "Support deoptimization only to set vreg" am:
a7a3ba792d am:
5e939d8825
am:
d996b94b65
* commit '
d996b94b65b294a4d1dd942d49fe71f444cc8369':
Sebastien Hertz [Thu, 24 Dec 2015 02:10:14 +0000 (18:10 -0800)]
Merge "Fix StackVisitor::GetVReg for reference in shadow frame" am:
3e1ff83fb2 am:
64a21f9904
am:
087e9ff777
* commit '
087e9ff77767ea65d4e80bd6896700f4cb983705':
David Srbecky [Wed, 23 Dec 2015 15:36:26 +0000 (07:36 -0800)]
Merge "Generate more stack maps during native debugging." am:
875773770a
am:
388c61cc3c
* commit '
388c61cc3c9f2d6d7cbcbd594dc90446227bce46':
Generate more stack maps during native debugging.
David Srbecky [Wed, 23 Dec 2015 15:34:41 +0000 (07:34 -0800)]
Merge "Generate more stack maps during native debugging."
am:
875773770a
* commit '
875773770ae34c623153aac3941828a9e3831f14':
Generate more stack maps during native debugging.
David Srbecky [Wed, 23 Dec 2015 15:30:27 +0000 (15:30 +0000)]
Merge "Generate more stack maps during native debugging."
David Srbecky [Wed, 9 Dec 2015 14:09:59 +0000 (14:09 +0000)]
Generate more stack maps during native debugging.
Generate extra stack map at the start of each java statement.
The stack maps are later translated to DWARF which allows
LLDB to set breakpoints and view local variables.
Change-Id: If00ab875513308e4a1399d1e12e0fe8934a6f0c3
David Srbecky [Wed, 23 Dec 2015 12:16:11 +0000 (04:16 -0800)]
Merge "Move debug symbol writing code to elf_writer_debug.cc" am:
d674bf7ba2
am:
cebb1d3b9c
* commit '
cebb1d3b9cf2e7f99377dd41d379597475f54df4':
Move debug symbol writing code to elf_writer_debug.cc
David Srbecky [Wed, 23 Dec 2015 12:14:10 +0000 (04:14 -0800)]
Merge "Move debug symbol writing code to elf_writer_debug.cc"
am:
d674bf7ba2
* commit '
d674bf7ba2a209790cea8ef8d935480ef515c9e1':
Move debug symbol writing code to elf_writer_debug.cc
David Srbecky [Wed, 23 Dec 2015 12:10:14 +0000 (12:10 +0000)]
Merge "Move debug symbol writing code to elf_writer_debug.cc"
David Srbecky [Wed, 23 Dec 2015 12:03:37 +0000 (04:03 -0800)]
Merge "Move JIT debugger interface code to its own file." am:
975dd72796
am:
a9d3a9d87d
* commit '
a9d3a9d87d77c31630efc81010dbea0375efaff9':
Move JIT debugger interface code to its own file.
David Srbecky [Wed, 23 Dec 2015 12:01:50 +0000 (12:01 +0000)]
Merge "Move JIT debugger interface code to its own file."
am:
975dd72796
* commit '
975dd7279694f345bd4fc31b04ff3275f3082961':
Move JIT debugger interface code to its own file.
David Srbecky [Wed, 23 Dec 2015 11:57:36 +0000 (11:57 +0000)]
Merge "Move JIT debugger interface code to its own file."
Vladimir Marko [Wed, 23 Dec 2015 10:10:44 +0000 (02:10 -0800)]
Merge "Rewrite HInstruction::Is/As<type>()." am:
e74927c0cd
am:
d56e0503e0
* commit '
d56e0503e07639c105df45ae49a5764b577a17ef':
Rewrite HInstruction::Is/As<type>().
Vladimir Marko [Wed, 23 Dec 2015 10:08:59 +0000 (02:08 -0800)]
Merge "Rewrite HInstruction::Is/As<type>()."
am:
e74927c0cd
* commit '
e74927c0cded59b6687020c6480205d4488a69fc':
Rewrite HInstruction::Is/As<type>().
Vladimir Marko [Wed, 23 Dec 2015 10:06:09 +0000 (10:06 +0000)]
Merge "Rewrite HInstruction::Is/As<type>()."
Vladimir Marko [Mon, 23 Nov 2015 19:49:34 +0000 (19:49 +0000)]
Rewrite HInstruction::Is/As<type>().
Make Is<type>() and As<type>() non-virtual for concrete
instruction types, relying on GetKind(), and mark GetKind()
as PURE to improve optimization opportunities. This reduces
the number of relocations in libart-compiler.so's .rel.dyn
section by ~4K, or ~44%, and in .data.rel.ro by ~18K, or
~65%. The file is 96KiB smaller for Nexus 5, including 8KiB
reduction of the .text section.
Unfortunately, the g++/clang++ __attribute__((pure)) is not
strong enough to avoid duplicated virtual calls and we would
need the C++ [[pure]] attribute proposed in n3744 instead.
To work around this deficiency, we introduce an extra
non-virtual indirection for GetKind(), so that the compiler
can optimize common expressions such as
instruction->IsAdd() || instruction->IsSub()
or
instruction->IsAdd() && instruction->AsAdd()->...
which contain two virtual calls to GetKind() after inlining.
Change-Id: I83787de0671a5cb9f5b0a5f4a536cef239d5b401
Narayan Kamath [Tue, 22 Dec 2015 14:56:59 +0000 (14:56 +0000)]
Override notice file for OpenJdk based modules.
Change-Id: Iff63708c83c2a18b82f0de6aa884e1388ed8b32b
Yohann Roussel [Tue, 22 Dec 2015 15:41:02 +0000 (07:41 -0800)]
Merge "Ensure Jack server is running before any use" am:
b592885f0b
am:
cf96ba33d4
* commit '
cf96ba33d4bbded5c79880863d406d06b88f6963':
Ensure Jack server is running before any use
Yohann Roussel [Wed, 9 Dec 2015 11:02:46 +0000 (12:02 +0100)]
Ensure Jack server is running before any use
Change-Id: Ie978e994945946139e0faf583c5d767a15ab060e
Yohann Roussel [Tue, 22 Dec 2015 14:04:08 +0000 (14:04 +0000)]
Merge "Ensure Jack server is running before any use"
am:
b592885f0b
* commit '
b592885f0b03c6518ccc9df4962c112cc2089131':
Ensure Jack server is running before any use
Yohann Roussel [Tue, 22 Dec 2015 13:59:49 +0000 (13:59 +0000)]
Merge "Ensure Jack server is running before any use"
Hiroshi Yamauchi [Mon, 21 Dec 2015 23:35:01 +0000 (23:35 +0000)]
Merge "Treat thread state kWaitingWeakGcRootRead as kJavaRunnable." am:
1201804d18
am:
ae66db4953
* commit '
ae66db49535fcddc2b1d24fe7c8324317071dfe9':
Treat thread state kWaitingWeakGcRootRead as kJavaRunnable.
Mathieu Chartier [Mon, 21 Dec 2015 23:34:53 +0000 (23:34 +0000)]
Merge "Fix multiple image space handing for SS collector" am:
10e2607281
am:
7b5d3041a2
* commit '
7b5d3041a2b84ed55f8655af31705e1a591ad69b':
Fix multiple image space handing for SS collector