OSDN Git Service
Aart Bik [Sat, 21 Nov 2015 05:48:15 +0000 (05:48 +0000)]
Merge "Revert "Dynamic BCE (based on induction range analysis)"" am:
d83b9042d6
am:
08a96a5a4f
* commit '
08a96a5a4f6c78c9639af884228d28c7fb0c30fc':
Revert "Dynamic BCE (based on induction range analysis)"
Aart Bik [Sat, 21 Nov 2015 05:45:10 +0000 (05:45 +0000)]
Merge "Revert "Dynamic BCE (based on induction range analysis)""
am:
d83b9042d6
* commit '
d83b9042d67f2a7d5ca5a1f63819c97940033336':
Revert "Dynamic BCE (based on induction range analysis)"
Aart Bik [Sat, 21 Nov 2015 05:40:12 +0000 (05:40 +0000)]
Merge "Revert "Dynamic BCE (based on induction range analysis)""
Aart Bik [Sat, 21 Nov 2015 05:21:52 +0000 (05:21 +0000)]
Revert "Dynamic BCE (based on induction range analysis)"
This reverts commit
0b5849be045c5683d4a6b6b6c306abadba5f0fcc.
Change-Id: Id33f5da42bbdfb1aff7e2281417c8a7aa492df05
Rationale: so close :-( but bullhead-userdebug (linux) build in git_mnc-dr-dev-plus-aosp reported a breakage with a type inconsistency (long vs int in probably the codegen of dynamic bce); no time to investigate and fix this fully before my trip, so rolling back for now
Aart Bik [Sat, 21 Nov 2015 01:15:42 +0000 (01:15 +0000)]
Merge "Dynamic BCE (based on induction range analysis)" am:
4b0d02ccde
am:
ce8f06b043
* commit '
ce8f06b043691f9a710eb402bf80b6fbfd4a9581':
Dynamic BCE (based on induction range analysis)
Aart Bik [Sat, 21 Nov 2015 01:12:29 +0000 (01:12 +0000)]
Merge "Dynamic BCE (based on induction range analysis)"
am:
4b0d02ccde
* commit '
4b0d02ccdecad8cb138f8b272889bcbd66c0e755':
Dynamic BCE (based on induction range analysis)
Aart Bik [Sat, 21 Nov 2015 01:03:49 +0000 (01:03 +0000)]
Merge "Dynamic BCE (based on induction range analysis)"
Igor Murashkin [Sat, 21 Nov 2015 01:01:51 +0000 (01:01 +0000)]
Merge "lambda: Add support for invoke-interface for boxed innate lambdas" am:
b48cb936e6
am:
e340e9c23f
* commit '
e340e9c23f68663cbe0c4d4f961f8b56a1ea80e9':
lambda: Add support for invoke-interface for boxed innate lambdas
Aart Bik [Mon, 19 Oct 2015 21:59:26 +0000 (14:59 -0700)]
Dynamic BCE (based on induction range analysis)
Rationale: A rewritten dynamic BCE that uses induction variable analysis
to generate the run-time tests before a loop in order to
eliminate bounds-checks from its body. This CL removes now
obsoleted induction related code inside the BCE module.
Also, the dynamic test generation is placed more strategically,
since we missed a few cases where static analysis does better.
Most significant performance improvements (after filtering noise) is about:
Linpack +20%
LU > +10%
Change-Id: I4e7b8bab0288beff6f98a14856e3536103d32742
Igor Murashkin [Sat, 21 Nov 2015 00:58:38 +0000 (00:58 +0000)]
Merge "lambda: Add support for invoke-interface for boxed innate lambdas"
am:
b48cb936e6
* commit '
b48cb936e6fa52d0ded29bac4f1f654cdf112ac6':
lambda: Add support for invoke-interface for boxed innate lambdas
Igor Murashkin [Sat, 21 Nov 2015 00:55:35 +0000 (00:55 +0000)]
Merge "lambda: Add support for invoke-interface for boxed innate lambdas"
Igor Murashkin [Fri, 23 Oct 2015 00:37:50 +0000 (17:37 -0700)]
lambda: Add support for invoke-interface for boxed innate lambdas
Lambda closures created with the 'create-lambda' instruction
(termed "innate lambdas") can be turned into an object with 'box-lambda'.
This CL enables support for those kinds of lambdas to work with
'invoke-interface' by generating a proxy class for the lambda.
Note: MIPS32/64 support not included.
Bug:
24618608
Bug:
25107649
Change-Id: Ic8f1bb66ebeaed4097e758a50becf1cff6ccaefb
Jeff Hao [Fri, 20 Nov 2015 23:15:05 +0000 (23:15 +0000)]
Merge "Fix null pointer in processing of enum annotations." am:
3944f7175d
am:
f8a2a7ef22
* commit '
f8a2a7ef227da65a0dc8e832697e445340a3a155':
Fix null pointer in processing of enum annotations.
Jeff Hao [Fri, 20 Nov 2015 23:11:27 +0000 (23:11 +0000)]
Merge "Fix null pointer in processing of enum annotations."
am:
3944f7175d
* commit '
3944f7175dcf60316ba58a42698ccf23c65ac57c':
Fix null pointer in processing of enum annotations.
Jeff Hao [Fri, 20 Nov 2015 23:07:59 +0000 (23:07 +0000)]
Merge "Fix null pointer in processing of enum annotations."
Jeff Hao [Fri, 20 Nov 2015 22:56:09 +0000 (14:56 -0800)]
Fix null pointer in processing of enum annotations.
Bug:
25802263
Change-Id: Ib20b7049fd3824a5eb3e396d34ef32574771d074
Mathieu Chartier [Fri, 20 Nov 2015 21:59:33 +0000 (21:59 +0000)]
Merge "Pass DexPathList.Element array to openDexFileNative" am:
9ee6ec52a2
am:
1a764fb007
* commit '
1a764fb007b6144d0126ef859689bc0dcfcaa11e':
Pass DexPathList.Element array to openDexFileNative
Andreas Gampe [Fri, 20 Nov 2015 21:59:24 +0000 (21:59 +0000)]
Merge "MIPS32: Miscellaneous bit manipulations routines:" am:
e3dbda2d7c
am:
07271bcd7e
* commit '
07271bcd7eddd755c23f1371351a5870e84b0612':
MIPS32: Miscellaneous bit manipulations routines:
Mathieu Chartier [Fri, 20 Nov 2015 21:55:49 +0000 (21:55 +0000)]
Merge "Pass DexPathList.Element array to openDexFileNative"
am:
9ee6ec52a2
* commit '
9ee6ec52a2b53fc2f4e7f87296d454b3940c60c3':
Pass DexPathList.Element array to openDexFileNative
Mathieu Chartier [Fri, 20 Nov 2015 21:52:05 +0000 (21:52 +0000)]
Merge "Pass DexPathList.Element array to openDexFileNative"
Andreas Gampe [Fri, 20 Nov 2015 21:31:23 +0000 (21:31 +0000)]
Merge "MIPS32: Miscellaneous bit manipulations routines:"
am:
e3dbda2d7c
* commit '
e3dbda2d7c6a9bb0ca9a38f049457382247ed639':
MIPS32: Miscellaneous bit manipulations routines:
Andreas Gampe [Fri, 20 Nov 2015 21:27:59 +0000 (21:27 +0000)]
Merge "MIPS32: Miscellaneous bit manipulations routines:"
Hiroshi Yamauchi [Fri, 20 Nov 2015 19:07:07 +0000 (19:07 +0000)]
Merge "Kill stale dalvikvm processes at the end of the jdwp test." am:
bfc9d5103b
am:
899a9b016e
* commit '
899a9b016e30e3111c9b455d05e83aeaf3f2c8fd':
Kill stale dalvikvm processes at the end of the jdwp test.
Alex Light [Fri, 20 Nov 2015 19:07:00 +0000 (19:07 +0000)]
Merge "Fix --jvm on run-tests 960 and 961" am:
aac223f83b
am:
5fba52d09a
* commit '
5fba52d09afca426be0e275cd34f1e68bc0f1fa1':
Fix --jvm on run-tests 960 and 961
Hiroshi Yamauchi [Fri, 20 Nov 2015 19:02:59 +0000 (19:02 +0000)]
Merge "Kill stale dalvikvm processes at the end of the jdwp test."
am:
bfc9d5103b
* commit '
bfc9d5103b7764a6863d5bd944afeb6a7e520468':
Kill stale dalvikvm processes at the end of the jdwp test.
Alex Light [Fri, 20 Nov 2015 19:02:51 +0000 (19:02 +0000)]
Merge "Fix --jvm on run-tests 960 and 961"
am:
aac223f83b
* commit '
aac223f83b50140823268db33e6e7e1bd17c1bed':
Fix --jvm on run-tests 960 and 961
Hiroshi Yamauchi [Fri, 20 Nov 2015 18:55:24 +0000 (18:55 +0000)]
Merge "Kill stale dalvikvm processes at the end of the jdwp test."
Alex Light [Fri, 20 Nov 2015 18:51:59 +0000 (18:51 +0000)]
Merge "Fix --jvm on run-tests 960 and 961"
Hiroshi Yamauchi [Fri, 20 Nov 2015 00:24:31 +0000 (16:24 -0800)]
Kill stale dalvikvm processes at the end of the jdwp test.
Bug:
25800335
Change-Id: I938437d6e1ecd362b30a1dfc4db7a25538cf3211
Alex Light [Fri, 20 Nov 2015 18:37:46 +0000 (10:37 -0800)]
Fix --jvm on run-tests 960 and 961
Change-Id: I2c20e96a27c92b15a201abeca6bc3461a0912703
Mathieu Chartier [Fri, 20 Nov 2015 18:29:42 +0000 (10:29 -0800)]
Pass DexPathList.Element array to openDexFileNative
App images will use this to check for conflicts. It is required to
pass down since the class loader won't have the element array until
after all of the elements in the dex path list are loaded.
Bug:
22858531
Change-Id: I4f3d85b5e0ad542298fc8458bafe6504c263dc41
Alex Light [Fri, 20 Nov 2015 17:58:28 +0000 (17:58 +0000)]
Merge "Use arc4random when available to select delta for image relocation." am:
039404cb8d
am:
3a08475e53
* commit '
3a08475e539828287d382cc4e95ccaf2f221a0e5':
Use arc4random when available to select delta for image relocation.
Alex Light [Fri, 20 Nov 2015 17:53:10 +0000 (17:53 +0000)]
Merge "Use arc4random when available to select delta for image relocation."
am:
039404cb8d
* commit '
039404cb8d6b994e6fc247d287a0efa45c7362d4':
Use arc4random when available to select delta for image relocation.
Alex Light [Fri, 20 Nov 2015 17:48:47 +0000 (17:48 +0000)]
Merge "Use arc4random when available to select delta for image relocation."
David Srbecky [Fri, 20 Nov 2015 17:45:11 +0000 (17:45 +0000)]
Merge "Encode function signatures properly in DWARF." am:
b9ededb3b5
am:
8b16222448
* commit '
8b16222448eae403d7056384885a1839e0775480':
Encode function signatures properly in DWARF.
David Srbecky [Fri, 20 Nov 2015 17:41:22 +0000 (17:41 +0000)]
Merge "Encode function signatures properly in DWARF."
am:
b9ededb3b5
* commit '
b9ededb3b5c5422a925bb0e3b4b54ae95bf371fd':
Encode function signatures properly in DWARF.
David Srbecky [Fri, 20 Nov 2015 17:37:16 +0000 (17:37 +0000)]
Merge "Encode function signatures properly in DWARF."
David Srbecky [Mon, 9 Nov 2015 18:05:48 +0000 (18:05 +0000)]
Encode function signatures properly in DWARF.
The signatures were previously stored as plain string.
The proper way in DWARF is to store them as structured tree of tags.
(for example, DW_TAG_subprogram containing DW_TAG_formal_parameter)
Note that this makes the debug sections smaller since DWARF
signatures are actually more efficient than just plain strings.
Change-Id: I6afbce28340570666d8674d07c0e324aad561dd5
David Brazdil [Fri, 20 Nov 2015 15:48:04 +0000 (15:48 +0000)]
Merge "Opt compiler: More strength reduction for multiplications." am:
60c4c6ad2b
am:
d8841c279f
* commit '
d8841c279fc350f1ae85887e2190b508956896a0':
Opt compiler: More strength reduction for multiplications.
David Brazdil [Fri, 20 Nov 2015 15:45:47 +0000 (15:45 +0000)]
Merge "Opt compiler: More strength reduction for multiplications."
am:
60c4c6ad2b
* commit '
60c4c6ad2b892bb00a6016a147b1cc089ba6bcb5':
Opt compiler: More strength reduction for multiplications.
David Brazdil [Fri, 20 Nov 2015 15:43:58 +0000 (15:43 +0000)]
Merge "Opt compiler: More strength reduction for multiplications."
Alexandre Rames [Fri, 20 Nov 2015 15:02:45 +0000 (15:02 +0000)]
Opt compiler: More strength reduction for multiplications.
We transform code looking like
MUL dst, src, (2^n + 1)
into
SHL tmp, src, n
ADD dst, src, tmp
and code looking like
MUL dst, src, (2^n - 1)
into
SHL tmp, src, n
SUB dst, tmp, src
Change-Id: Ia620ab68758caa70a01530b88cd65dd0444376d7
Vladimir Marko [Fri, 20 Nov 2015 10:58:20 +0000 (10:58 +0000)]
Merge "Clean up the special input in HInvokeStaticOrDirect." am:
53ced034cd
am:
6221a7024f
* commit '
6221a7024f97f0e91904b58280278883f4aae98b':
Clean up the special input in HInvokeStaticOrDirect.
Vladimir Marko [Fri, 20 Nov 2015 10:56:01 +0000 (10:56 +0000)]
Merge "Clean up the special input in HInvokeStaticOrDirect."
am:
53ced034cd
* commit '
53ced034cd81f35ea9b37ca977cf6634ddaa7cf9':
Clean up the special input in HInvokeStaticOrDirect.
Vladimir Marko [Fri, 20 Nov 2015 10:53:56 +0000 (10:53 +0000)]
Merge "Clean up the special input in HInvokeStaticOrDirect."
Alex Light [Thu, 19 Nov 2015 19:03:10 +0000 (11:03 -0800)]
Use arc4random when available to select delta for image relocation.
Bug:
25776162
Change-Id: I5a5ca5d55c231508b61d4960049ab42e19c017e2
Alex Light [Fri, 20 Nov 2015 01:35:03 +0000 (01:35 +0000)]
Merge "Revert "Use arc4random when available to select delta for image relocation."" am:
beb709a260
am:
6212c0f0a5
* commit '
6212c0f0a59bbfe8c84b5906166ec6052db6b5fa':
Revert "Use arc4random when available to select delta for image relocation."
Alex Light [Fri, 20 Nov 2015 01:30:01 +0000 (01:30 +0000)]
Merge "Revert "Use arc4random when available to select delta for image relocation.""
am:
beb709a260
* commit '
beb709a2607a00b5df33f0235f22ccdd876cee22':
Revert "Use arc4random when available to select delta for image relocation."
Alex Light [Fri, 20 Nov 2015 01:30:01 +0000 (01:30 +0000)]
Merge "Use arc4random when available to select delta for image relocation." am:
7dd1260c56
am:
e397b365c7
* commit '
e397b365c7c8361edfdd0da6dba6a29a97f1825f':
Use arc4random when available to select delta for image relocation.
Alex Light [Fri, 20 Nov 2015 01:24:59 +0000 (01:24 +0000)]
Merge "Revert "Use arc4random when available to select delta for image relocation.""
Alex Light [Fri, 20 Nov 2015 01:24:47 +0000 (01:24 +0000)]
Revert "Use arc4random when available to select delta for image relocation."
This reverts commit
7ecbd49c6c78e6c633883aa6766675df8abaa7dd.
Change-Id: Ifb37e23584722b31cb2369bcc9b91da6146d2cf6
Alex Light [Fri, 20 Nov 2015 01:24:38 +0000 (01:24 +0000)]
Merge "Use arc4random when available to select delta for image relocation."
am:
7dd1260c56
* commit '
7dd1260c564c1504a37bfa41e1372868c605ffdd':
Use arc4random when available to select delta for image relocation.
Alex Light [Fri, 20 Nov 2015 01:17:20 +0000 (01:17 +0000)]
Merge "Use arc4random when available to select delta for image relocation."
Mathieu Chartier [Fri, 20 Nov 2015 00:48:49 +0000 (00:48 +0000)]
Merge "Remove thread suspension assertion for SuspendAllForDebugger" am:
d042c4514a
am:
339db7251d
* commit '
339db7251dd2dbe6b201e488e28fdee395c7eab0':
Remove thread suspension assertion for SuspendAllForDebugger
Mathieu Chartier [Fri, 20 Nov 2015 00:48:41 +0000 (00:48 +0000)]
Merge "Create parent class loader for dex2oat" am:
e74369f0ae
am:
7d3d692dc8
* commit '
7d3d692dc82a0c80dbb034b4e8e8124dd4ade994':
Create parent class loader for dex2oat
Alex Light [Thu, 19 Nov 2015 19:03:10 +0000 (11:03 -0800)]
Use arc4random when available to select delta for image relocation.
Bug:
25776162
Change-Id: I1c4cc992977b5d6fe782ff819903a802a40391ee
Mathieu Chartier [Fri, 20 Nov 2015 00:43:33 +0000 (00:43 +0000)]
Merge "Remove thread suspension assertion for SuspendAllForDebugger"
am:
d042c4514a
* commit '
d042c4514abe104c9591e9336321e11102347105':
Remove thread suspension assertion for SuspendAllForDebugger
Mathieu Chartier [Fri, 20 Nov 2015 00:43:25 +0000 (00:43 +0000)]
Merge "Create parent class loader for dex2oat"
am:
e74369f0ae
* commit '
e74369f0aeb405a5458d0b831bd6e2cac44bcd83':
Create parent class loader for dex2oat
Mathieu Chartier [Fri, 20 Nov 2015 00:41:58 +0000 (00:41 +0000)]
Merge "Remove thread suspension assertion for SuspendAllForDebugger"
Mathieu Chartier [Fri, 20 Nov 2015 00:35:00 +0000 (00:35 +0000)]
Merge "Create parent class loader for dex2oat"
Mathieu Chartier [Fri, 20 Nov 2015 00:05:58 +0000 (16:05 -0800)]
Create parent class loader for dex2oat
This means we also put the class loader in the app image so that it
can be used for verifying the dex file order.
Bug:
22858531
Change-Id: I30761b59421c8a24cffd62b469134b25d2929e2e
Hiroshi Yamauchi [Thu, 19 Nov 2015 23:04:14 +0000 (23:04 +0000)]
Merge "Relax CAS in some uses of Object::AtomicSetReadBarrierPointer." am:
16cabc4acd
am:
ae1afa423b
* commit '
ae1afa423b8126cc780e66fe2ff429eb387e1dd1':
Relax CAS in some uses of Object::AtomicSetReadBarrierPointer.
Hiroshi Yamauchi [Thu, 19 Nov 2015 22:58:26 +0000 (22:58 +0000)]
Merge "Relax CAS in some uses of Object::AtomicSetReadBarrierPointer."
am:
16cabc4acd
* commit '
16cabc4acd14d5a61c73cef821162e1827f08788':
Relax CAS in some uses of Object::AtomicSetReadBarrierPointer.
Hiroshi Yamauchi [Thu, 19 Nov 2015 22:51:15 +0000 (22:51 +0000)]
Merge "Relax CAS in some uses of Object::AtomicSetReadBarrierPointer."
Hiroshi Yamauchi [Wed, 18 Nov 2015 01:52:15 +0000 (17:52 -0800)]
Relax CAS in some uses of Object::AtomicSetReadBarrierPointer.
Aside from the call to change the object from gray to black, the CAS in
AtomicSetReadBarrierPointer doesn't need to be a release CAS.
CC collector Ritz EAAC GC time: 28.4 -> 26.5s (-6.7%) on N5.
Bug:
12687968
Change-Id: Ic162717981b98e7f1e762fd6b27bd0c146187ca4
Nicolas Geoffray [Thu, 19 Nov 2015 18:29:56 +0000 (18:29 +0000)]
Merge "Fix cmdline parser test." am:
090a481ca6
am:
a4438be1f7
* commit '
a4438be1f7e9529e4100e0998d9e1ace75c4f358':
Fix cmdline parser test.
Nicolas Geoffray [Thu, 19 Nov 2015 18:23:24 +0000 (18:23 +0000)]
Merge "Fix cmdline parser test."
am:
090a481ca6
* commit '
090a481ca6ed5bb0e7a450dff7da96a17254c583':
Fix cmdline parser test.
Nicolas Geoffray [Thu, 19 Nov 2015 18:18:19 +0000 (18:18 +0000)]
Merge "Fix cmdline parser test."
Nicolas Geoffray [Thu, 19 Nov 2015 18:17:41 +0000 (18:17 +0000)]
Fix cmdline parser test.
Change-Id: I6f03552d8d48e875f80a69455397146b132ed623
Calin Juravle [Thu, 19 Nov 2015 18:01:23 +0000 (18:01 +0000)]
Merge "Allow NullConstant to be untyped in GraphVisualiser." am:
33a9a16a7f
am:
29472606d5
* commit '
29472606d522f036a8a96001cea01e5e87168e5e':
Allow NullConstant to be untyped in GraphVisualiser.
Calin Juravle [Thu, 19 Nov 2015 17:55:50 +0000 (17:55 +0000)]
Merge "Allow NullConstant to be untyped in GraphVisualiser."
am:
33a9a16a7f
* commit '
33a9a16a7fe21d37125853e888634d9de0b71a98':
Allow NullConstant to be untyped in GraphVisualiser.
Calin Juravle [Thu, 19 Nov 2015 17:46:50 +0000 (17:46 +0000)]
Merge "Allow NullConstant to be untyped in GraphVisualiser."
Mark Mendell [Mon, 16 Nov 2015 17:21:53 +0000 (12:21 -0500)]
Allow NullConstant to be untyped in GraphVisualiser.
The NullConstant may be added to the graph during other passes that
happen between ReferenceTypePropagation and Inliner (e.g.
InstructionSimplifier). If the inliner doesn't run or doesn't inline
anything, the NullConstant remains untyped.
The infrastructure to properly type NullConstants everywhere is to
complex to add for the benefits
Bug:
25786318
Change-Id: I904a3e605b57f8cac9936e82f19a4994c7b1a82a
Signed-off-by: Mark Mendell <mark.p.mendell@intel.com>
Andreas Gampe [Thu, 19 Nov 2015 16:25:11 +0000 (16:25 +0000)]
Merge "MIPS64: Add java.lang.String.equals intrinsic." am:
34053d1f5a
am:
41817d467b
* commit '
41817d467b3966fa39645a791ca372573caa07d3':
MIPS64: Add java.lang.String.equals intrinsic.
Andreas Gampe [Thu, 19 Nov 2015 16:19:53 +0000 (16:19 +0000)]
Merge "MIPS64: Add java.lang.String.equals intrinsic."
am:
34053d1f5a
* commit '
34053d1f5a9a3d98b5e45d395ed95ba66b518d4d':
MIPS64: Add java.lang.String.equals intrinsic.
Andreas Gampe [Thu, 19 Nov 2015 16:12:57 +0000 (16:12 +0000)]
Merge "MIPS64: Add java.lang.String.equals intrinsic."
Vladimir Marko [Thu, 19 Nov 2015 15:48:33 +0000 (15:48 +0000)]
Clean up the special input in HInvokeStaticOrDirect.
Change-Id: I4042aefbdac1a8c236d00e2e7145349a64f6486b
Nicolas Geoffray [Thu, 19 Nov 2015 16:05:59 +0000 (16:05 +0000)]
Merge "Rename options for shorter names." am:
bc58b020c8
am:
b4bfd7f529
* commit '
b4bfd7f529d1376c841b3c079daf57785c6497df':
Rename options for shorter names.
Nicolas Geoffray [Thu, 19 Nov 2015 15:55:17 +0000 (15:55 +0000)]
Merge "Rename options for shorter names."
am:
bc58b020c8
* commit '
bc58b020c85d2bb66e21184b8969215d7ea817b0':
Rename options for shorter names.
Nicolas Geoffray [Thu, 19 Nov 2015 15:48:01 +0000 (15:48 +0000)]
Merge "Rename options for shorter names."
Nicolas Geoffray [Thu, 19 Nov 2015 14:25:43 +0000 (14:25 +0000)]
Rename options for shorter names.
Change-Id: I2ea98ead4cd99d6a51cbfa149b0aab5e036ffb96
Roland Levillain [Thu, 19 Nov 2015 14:13:38 +0000 (14:13 +0000)]
Merge "ARM read barrier support for concurrent GC in Optimizing." am:
ee7d4a3d57
am:
a88884d62e
* commit '
a88884d62e6ec4a3e56bdba8a7af1865c927d7b2':
ARM read barrier support for concurrent GC in Optimizing.
Roland Levillain [Thu, 19 Nov 2015 14:09:12 +0000 (14:09 +0000)]
Merge "ARM read barrier support for concurrent GC in Optimizing."
am:
ee7d4a3d57
* commit '
ee7d4a3d574d8789fb0d1860eba284ae5099f10d':
ARM read barrier support for concurrent GC in Optimizing.
Roland Levillain [Thu, 19 Nov 2015 14:01:37 +0000 (14:01 +0000)]
Merge "ARM read barrier support for concurrent GC in Optimizing."
Vladimir Marko [Thu, 19 Nov 2015 13:22:29 +0000 (13:22 +0000)]
Merge "Fix ClinitCheck pruning." am:
d846a2cc45
am:
5719078766
* commit '
5719078766c6008a7db488c730c21cbf20f2fd60':
Fix ClinitCheck pruning.
Vladimir Marko [Thu, 19 Nov 2015 13:18:05 +0000 (13:18 +0000)]
Merge "Fix ClinitCheck pruning."
am:
d846a2cc45
* commit '
d846a2cc45aae5b1c84b5ac51cdd37a22b8447ff':
Fix ClinitCheck pruning.
Vladimir Marko [Thu, 19 Nov 2015 13:12:09 +0000 (13:12 +0000)]
Merge "Fix ClinitCheck pruning."
Vladimir Marko [Fri, 13 Nov 2015 14:47:00 +0000 (14:47 +0000)]
Fix ClinitCheck pruning.
Make sure we merge the ClinitCheck only with LoadClass and
HInvokeStaticOrDirect that is a part of the very same dex
instruction. This fixes incorrect stack traces from class
initializers (wrong dex pcs).
Rewrite the pruning to do all the ClinitCheck merging when
we see the ClinitCheck, instead of merging ClinitCheck into
LoadClass and then LoadClass into HInvokeStaticOrDirect.
When we later see an HInvokeStaticOrDirect with an explicit
check (i.e. not merged), we know that some other instruction
is doing the check and the invoke doesn't need to, so we
mark it as not requiring the check at all. (Previously it
would have been marked as having an implicit check.)
Remove the restriction on merging with inlined invoke static
as this is not necessary anymore. This was a workaround for
X.test():
invoke-static C.foo() [1]
C.foo():
invoke-static C.bar() [2]
After inlining and GVN we have
X.test():
LoadClass C (from [1])
ClinitCheck C (from [1], to be merged to LoadClass)
InvokeStaticOrDirect C.bar() (from [2])
and the LoadClass must not be merged into the invoke as this
would cause the resolution trampoline to see an inlined
frame from the not-yet-loaded class C during the stack walk
and try to load the class. However, we're not allowed to
load new classes at that point, so an attempt to do so leads
to an assertion failure. With this CL, LoadClass is not
merged when it comes from a different instruction, so we can
guarantee that all inlined frames seen by the stack walk in
the resolution trampoline belong to already loaded classes.
Change-Id: I2b8da8d4f295355dce17141f0fab2dace126684d
Nicolas Geoffray [Thu, 19 Nov 2015 11:52:31 +0000 (11:52 +0000)]
Merge "Increase code cache after 1 full collection." am:
69edd0dbce
am:
5e6c35e00d
* commit '
5e6c35e00de5b2d8e3172aeaa2f2e4c27d234fac':
Increase code cache after 1 full collection.
Nicolas Geoffray [Thu, 19 Nov 2015 11:47:58 +0000 (11:47 +0000)]
Merge "Increase code cache after 1 full collection."
am:
69edd0dbce
* commit '
69edd0dbce97f786f71596d696e17be0f380f405':
Increase code cache after 1 full collection.
Nicolas Geoffray [Thu, 19 Nov 2015 11:40:15 +0000 (11:40 +0000)]
Merge "Increase code cache after 1 full collection."
Nicolas Geoffray [Thu, 19 Nov 2015 11:39:05 +0000 (11:39 +0000)]
Merge "Add jack as a build target for the buildbot." am:
a43a851f50
am:
9319a694cf
* commit '
9319a694cf2c1f162c1042baa3d7d0061c4c4c26':
Add jack as a build target for the buildbot.
Nicolas Geoffray [Thu, 19 Nov 2015 11:34:39 +0000 (11:34 +0000)]
Merge "Add jack as a build target for the buildbot."
am:
a43a851f50
* commit '
a43a851f508b5034b39b98e838ce2be20298fbf3':
Add jack as a build target for the buildbot.
Nicolas Geoffray [Wed, 18 Nov 2015 11:15:22 +0000 (11:15 +0000)]
Increase code cache after 1 full collection.
Also add a max capacity option.
Change-Id: Icd442b72e9be0c6b091b588b4c4473c69b7cde10
Nicolas Geoffray [Thu, 19 Nov 2015 11:29:36 +0000 (11:29 +0000)]
Merge "Add jack as a build target for the buildbot."
Nicolas Geoffray [Thu, 19 Nov 2015 11:02:50 +0000 (11:02 +0000)]
Add jack as a build target for the buildbot.
This avoids dist targets to try on killing the jack server.
Change-Id: Icb913f3ba70ef4c5abd46ebac56cb283e17f0f12
Andreas Gampe [Thu, 19 Nov 2015 06:42:08 +0000 (06:42 +0000)]
Merge "ART: Change Init{From,Without}Image to return bool" am:
0f0d5f370d
am:
1291cfd7bd
* commit '
1291cfd7bdd568b38c21a4cf3b57fb86f10534a5':
ART: Change Init{From,Without}Image to return bool
Andreas Gampe [Thu, 19 Nov 2015 06:37:26 +0000 (06:37 +0000)]
Merge "ART: Change Init{From,Without}Image to return bool"
am:
0f0d5f370d
* commit '
0f0d5f370dca8bbdb97c61ea30e1b0476ee7749a':
ART: Change Init{From,Without}Image to return bool
Andreas Gampe [Thu, 19 Nov 2015 06:27:53 +0000 (06:27 +0000)]
Merge "ART: Change Init{From,Without}Image to return bool"
Andreas Gampe [Tue, 17 Nov 2015 19:52:46 +0000 (11:52 -0800)]
ART: Change Init{From,Without}Image to return bool
Rewrite some CHECKs to return false. For a common failure (missing)
image, this improves the abort (as it's not a runtime abort with
lots of stack traces anymore).
Change-Id: I717b1db74950267ced0ad3bafa1aed1693680062