OSDN Git Service

android-x86/art.git
8 years agoAdd MODULE_LICENSE_GPL.. for art/runtime/openjdkjvm.
Narayan Kamath [Fri, 12 Feb 2016 16:09:58 +0000 (16:09 +0000)]
Add MODULE_LICENSE_GPL.. for art/runtime/openjdkjvm.

This needs a companion makefile that declares a no-op module
so that the build system can leach of its LOCAL_PATH to collect
all subdirectory sources.

bug: 27160386
Change-Id: Iac5321304ae68ac203eda8e4f7d5d81339dab851

8 years agoAlways visit ProfilingInfo, the counter could be reset.
Nicolas Geoffray [Sun, 7 Feb 2016 12:48:28 +0000 (12:48 +0000)]
Always visit ProfilingInfo, the counter could be reset.

The counter could be reset or overflow, but we may have
inline caches populated.

bug:26775558

(cherry picked from commit ef404468d727332b088e6d461d0cf2f0ce0a897a)

Change-Id: Ib0cc8da05aa75d50c0474a1ddcb88cd60ae34707

8 years agoTry to substitute constructor chains for IPUTs.
Vladimir Marko [Thu, 4 Feb 2016 19:46:56 +0000 (19:46 +0000)]
Try to substitute constructor chains for IPUTs.

Match a constructor chain where each constructor either
forwards some or all of its arguments to the next (i.e.
superclass constructor or a constructor in the same class)
and may pass extra zeros (of any type, including null),
followed by any number of IPUTs on "this", storing either
arguments or zeros, until we reach the contructor of
java.lang.Object.

When collecting IPUTs from the constructor chain, remove
any IPUTs that store the same field as an IPUT that comes
later. This is safe in this case even if those IPUTs store
volatile fields because the uninitialized object reference
wasn't allowed to escape yet. Also remove any IPUTs that
store zero values as the allocated object is already zero
initialized.

(cherry picked from commit 354efa6cdf558b2331e8fec539893fa51763806e)

Change-Id: I691e3b82e550e7a3272ce6a81647c7fcd02c01b1

8 years agoMerge "ART: Update dalvik-cache for zygote after OTA" into nyc-dev
Andreas Gampe [Tue, 9 Feb 2016 22:20:04 +0000 (22:20 +0000)]
Merge "ART: Update dalvik-cache for zygote after OTA" into nyc-dev

8 years agoART: Update dalvik-cache for zygote after OTA
Andreas Gampe [Sat, 21 Nov 2015 03:26:51 +0000 (19:26 -0800)]
ART: Update dalvik-cache for zygote after OTA

Detect OTA artifacts and move them over to the regular dalvik-cache
on boot.

Bug: 25612095
Change-Id: I9a1a22641cc7833435098627a5cc6d954521c4ea

8 years agoART: Give better error messages in dex-file verifier
Andreas Gampe [Tue, 9 Feb 2016 17:21:04 +0000 (09:21 -0800)]
ART: Give better error messages in dex-file verifier

Try to decode field and method names when an access-flag violation
has been found. This is not guaranteed to work, if the file is
broken enough.

Bug: 27064244
Bug: 27070841

(cherry picked from commit c9f0ba1a4a2c9366ffc2dc2f9c2d8d3f09bb2112)

Change-Id: Ie913076462e958d4f21b481631bc874cf6f67c0d

8 years agoDefault methods should not be found by getDeclaredMethod
Alex Light [Mon, 8 Feb 2016 18:30:04 +0000 (10:30 -0800)]
Default methods should not be found by getDeclaredMethod

(cherrypick commit 64fdc804f6b4d8a6f7d86bd9672e3bb1cde7056f)

Bug: 27060609

Change-Id: I77337f5d4c6bb9dd14f57012a9daa1e56a760f1a

8 years agoMerge "Newer kernels added SEGV_BNDERR." am: 2a49bc4625
Christopher Ferris [Sat, 6 Feb 2016 01:02:24 +0000 (01:02 +0000)]
Merge "Newer kernels added SEGV_BNDERR." am: 2a49bc4625
am: 5ad9afd110

* commit '5ad9afd11022d3001c10ed8addab2fea0e54e7cf':
  Newer kernels added SEGV_BNDERR.

8 years agoMerge "Newer kernels added SEGV_BNDERR."
Christopher Ferris [Sat, 6 Feb 2016 01:00:17 +0000 (01:00 +0000)]
Merge "Newer kernels added SEGV_BNDERR."
am: 2a49bc4625

* commit '2a49bc4625155b80287c155b57354b9559d71bed':
  Newer kernels added SEGV_BNDERR.

8 years agoMerge "Newer kernels added SEGV_BNDERR."
Christopher Ferris [Sat, 6 Feb 2016 00:56:50 +0000 (00:56 +0000)]
Merge "Newer kernels added SEGV_BNDERR."

8 years agoMerge "ART: Curb lock-verification-failure spam" am: d64842cc44
Andreas Gampe [Sat, 6 Feb 2016 00:22:35 +0000 (00:22 +0000)]
Merge "ART: Curb lock-verification-failure spam" am: d64842cc44
am: 54a7530877

* commit '54a75308777ed6e22ea6d1e6ee8a9872ccd713ff':
  ART: Curb lock-verification-failure spam

8 years agoMerge "ART: Curb lock-verification-failure spam"
Andreas Gampe [Sat, 6 Feb 2016 00:20:07 +0000 (00:20 +0000)]
Merge "ART: Curb lock-verification-failure spam"
am: d64842cc44

* commit 'd64842cc4425a1ae31405e58826ce445054b8d20':
  ART: Curb lock-verification-failure spam

8 years agoMerge "ART: Curb lock-verification-failure spam"
Andreas Gampe [Sat, 6 Feb 2016 00:13:57 +0000 (00:13 +0000)]
Merge "ART: Curb lock-verification-failure spam"

8 years agoART: Curb lock-verification-failure spam
Andreas Gampe [Fri, 5 Feb 2016 04:52:54 +0000 (20:52 -0800)]
ART: Curb lock-verification-failure spam

Just print one message per class. Also print a helpful message once.

Bug: 26951356
Change-Id: I83702b67dc535d86e03835df7a72afda081c83be

8 years agoMerge "Point fixes after OSR change." am: 74472a8eea
Nicolas Geoffray [Fri, 5 Feb 2016 23:51:30 +0000 (23:51 +0000)]
Merge "Point fixes after OSR change." am: 74472a8eea
am: 3e5a75dc8f

* commit '3e5a75dc8fea6ee8f798b870c17e81eff418b688':
  Point fixes after OSR change.

8 years agoMerge "Point fixes after OSR change."
Nicolas Geoffray [Fri, 5 Feb 2016 23:48:56 +0000 (23:48 +0000)]
Merge "Point fixes after OSR change."
am: 74472a8eea

* commit '74472a8eea93bbe67aebed24a1fd5163a37a20dc':
  Point fixes after OSR change.

8 years agoMerge "ART: Better InitWithoutImage error messages" am: 37c36dcf2e
Andreas Gampe [Fri, 5 Feb 2016 23:43:45 +0000 (23:43 +0000)]
Merge "ART: Better InitWithoutImage error messages" am: 37c36dcf2e
am: 6f12dca493

* commit '6f12dca493386fb655d9a28c8bab90e078ab9a55':
  ART: Better InitWithoutImage error messages

8 years agoMerge "Point fixes after OSR change."
Nicolas Geoffray [Fri, 5 Feb 2016 23:34:43 +0000 (23:34 +0000)]
Merge "Point fixes after OSR change."

8 years agoPoint fixes after OSR change.
Nicolas Geoffray [Fri, 5 Feb 2016 23:32:25 +0000 (23:32 +0000)]
Point fixes after OSR change.

- ldr -> ldrb in osr stub for arm32
- disable 570-checker-osr for tracing
- don't osr proxy methods.

Change-Id: I9c713c9b7eab86ca9beb75f228fb3b76185621ef

8 years agoMerge "ART: Better InitWithoutImage error messages"
Andreas Gampe [Fri, 5 Feb 2016 23:11:14 +0000 (23:11 +0000)]
Merge "ART: Better InitWithoutImage error messages"
am: 37c36dcf2e

* commit '37c36dcf2e1a78dd5798828c304d84717f79c62d':
  ART: Better InitWithoutImage error messages

8 years agoMerge "ART: Better InitWithoutImage error messages"
Andreas Gampe [Fri, 5 Feb 2016 23:06:51 +0000 (23:06 +0000)]
Merge "ART: Better InitWithoutImage error messages"

8 years agoMerge "Use 8-byte increment bracket sizes for rosalloc thread local runs." am: e6141d7aba
Hiroshi Yamauchi [Fri, 5 Feb 2016 22:43:29 +0000 (22:43 +0000)]
Merge "Use 8-byte increment bracket sizes for rosalloc thread local runs." am: e6141d7aba
am: 0872ab3dc4

* commit '0872ab3dc4ae5f987d6d4d7050fa079d6f1879f0':
  Use 8-byte increment bracket sizes for rosalloc thread local runs.

8 years agoMerge "Use 8-byte increment bracket sizes for rosalloc thread local runs."
Hiroshi Yamauchi [Fri, 5 Feb 2016 22:41:31 +0000 (22:41 +0000)]
Merge "Use 8-byte increment bracket sizes for rosalloc thread local runs."
am: e6141d7aba

* commit 'e6141d7aba1078c0465294408133aaf00ae47f1b':
  Use 8-byte increment bracket sizes for rosalloc thread local runs.

8 years agoART: Better InitWithoutImage error messages
Andreas Gampe [Fri, 5 Feb 2016 05:45:01 +0000 (21:45 -0800)]
ART: Better InitWithoutImage error messages

InitWithoutImage can easily fail when assumptions of the runtime
with respect to core classes are wrong. Give some more general
helpful messages.

Change-Id: Icedac9a0d6ad84b2d1dde9e30bf4fab2f48a3efd

8 years agoMerge "Use 8-byte increment bracket sizes for rosalloc thread local runs."
Hiroshi Yamauchi [Fri, 5 Feb 2016 22:35:25 +0000 (22:35 +0000)]
Merge "Use 8-byte increment bracket sizes for rosalloc thread local runs."

8 years agoMerge "Address missed amend" am: f3c3595435
Mathieu Chartier [Fri, 5 Feb 2016 22:25:24 +0000 (22:25 +0000)]
Merge "Address missed amend" am: f3c3595435
am: 06e4701e37

* commit '06e4701e37990b2483d5894cc92930d1fb2e61ea':
  Address missed amend

8 years agoMerge "Address missed amend"
Mathieu Chartier [Fri, 5 Feb 2016 22:22:57 +0000 (22:22 +0000)]
Merge "Address missed amend"
am: f3c3595435

* commit 'f3c35954350ab3386cff538a123bc1b8e78e89f0':
  Address missed amend

8 years agoMerge "Address missed amend"
Mathieu Chartier [Fri, 5 Feb 2016 22:17:12 +0000 (22:17 +0000)]
Merge "Address missed amend"

8 years agoAddress missed amend
Mathieu Chartier [Fri, 5 Feb 2016 21:47:06 +0000 (13:47 -0800)]
Address missed amend

Forgot to amend after addressing code review comments.

Bug: 26990650

(cherry picked from commit 3cfc2e4fb6c4735a145aa184db14d0bf33653e33)

Change-Id: Ic8483a50e0670cac1291385a82b7c5e4a313cd18

8 years agoAddress missed amend
Mathieu Chartier [Fri, 5 Feb 2016 21:47:06 +0000 (13:47 -0800)]
Address missed amend

Forgot to amend after addressing code review comments.

Bug: 26990650
Change-Id: Icfac33444d3d6a590f72b888e020327ee77d5520

8 years agoMerge "Disable kDebugStackWalk" am: 5102279062
Mathieu Chartier [Fri, 5 Feb 2016 21:51:32 +0000 (21:51 +0000)]
Merge "Disable kDebugStackWalk" am: 5102279062
am: 2abcd61d0e

* commit '2abcd61d0ef1c41f18143430254c1683bbfd6ec1':
  Disable kDebugStackWalk

8 years agoMerge "Fix moving GC bugs in quick_field_entrypoints.cc" am: 0adb678252
Mathieu Chartier [Fri, 5 Feb 2016 21:51:26 +0000 (21:51 +0000)]
Merge "Fix moving GC bugs in quick_field_entrypoints.cc" am: 0adb678252
am: 3e1c567160

* commit '3e1c5671604efdf214e99e605e53874447cb03a0':
  Fix moving GC bugs in quick_field_entrypoints.cc

8 years agoUse 8-byte increment bracket sizes for rosalloc thread local runs.
Hiroshi Yamauchi [Tue, 2 Feb 2016 23:22:09 +0000 (15:22 -0800)]
Use 8-byte increment bracket sizes for rosalloc thread local runs.

Very small space savings (< 1%) after device boot and up to 10%
allocation speedup.

Some minor cleanup.

Bug: 9986565

Change-Id: I51d791c4674d6944fe9a7ee78537ac3490c1a02c

8 years agoMerge "Disable kDebugStackWalk"
Mathieu Chartier [Fri, 5 Feb 2016 20:11:13 +0000 (20:11 +0000)]
Merge "Disable kDebugStackWalk"
am: 5102279062

* commit '51022790628270153c2d46bfebbc4b6aaafa2757':
  Disable kDebugStackWalk

8 years agoMerge "Fix moving GC bugs in quick_field_entrypoints.cc"
Mathieu Chartier [Fri, 5 Feb 2016 20:06:26 +0000 (20:06 +0000)]
Merge "Fix moving GC bugs in quick_field_entrypoints.cc"
am: 0adb678252

* commit '0adb678252bacf861dbaca0d9b5edf1a32ac7cd9':
  Fix moving GC bugs in quick_field_entrypoints.cc

8 years agoMerge "Disable kDebugStackWalk"
Mathieu Chartier [Fri, 5 Feb 2016 20:05:00 +0000 (20:05 +0000)]
Merge "Disable kDebugStackWalk"

8 years agoDisable kDebugStackWalk
Mathieu Chartier [Fri, 5 Feb 2016 20:00:49 +0000 (12:00 -0800)]
Disable kDebugStackWalk

Someone left it enabled.

Bug: 27039049

Change-Id: I2bec610a3f20e1214dc34b4e06227609da2a2ab8

8 years agoMerge "Fix moving GC bugs in quick_field_entrypoints.cc"
Mathieu Chartier [Fri, 5 Feb 2016 20:01:12 +0000 (20:01 +0000)]
Merge "Fix moving GC bugs in quick_field_entrypoints.cc"

8 years agoMerge "Fix compiler driver gtest."
Calin Juravle [Fri, 5 Feb 2016 19:55:39 +0000 (19:55 +0000)]
Merge "Fix compiler driver gtest."

8 years agoFix compiler driver gtest.
Calin Juravle [Fri, 5 Feb 2016 19:44:05 +0000 (19:44 +0000)]
Fix compiler driver gtest.

Change-Id: I7c9204f5d791f667613ce3df8e9f74342444f685

8 years agoFix moving GC bugs in quick_field_entrypoints.cc
Mathieu Chartier [Fri, 5 Feb 2016 02:13:32 +0000 (18:13 -0800)]
Fix moving GC bugs in quick_field_entrypoints.cc

There was some missing handles. Fixed style.

Bug: 26990650

(cherry picked from commit 1fd00287bedce99cd602aec00d421bddb7a9a107)

Change-Id: If7cb0de61e6b19004838e98345fdbc60ccdd5767

8 years agoMerge "Fix moving GC bugs in quick_field_entrypoints.cc"
Mathieu Chartier [Fri, 5 Feb 2016 19:28:32 +0000 (19:28 +0000)]
Merge "Fix moving GC bugs in quick_field_entrypoints.cc"

8 years agoMerge "Implemented compare/signum intrinsics as HCompare (with all code generation...
Aart Bik [Fri, 5 Feb 2016 19:08:50 +0000 (19:08 +0000)]
Merge "Implemented compare/signum intrinsics as HCompare (with all code generation for all)" am: 45b93ca314
am: a18ea28591

* commit 'a18ea28591abc4f998064fbcd3efa4b8d35ee233':
  Implemented compare/signum intrinsics as HCompare (with all code generation for all)

8 years agoMerge "Implemented compare/signum intrinsics as HCompare (with all code generation...
Aart Bik [Fri, 5 Feb 2016 19:06:20 +0000 (19:06 +0000)]
Merge "Implemented compare/signum intrinsics as HCompare (with all code generation for all)"
am: 45b93ca314

* commit '45b93ca31448888d13b3859a8c3d0c90d4b00e54':
  Implemented compare/signum intrinsics as HCompare (with all code generation for all)

8 years agoMerge "Implemented compare/signum intrinsics as HCompare (with all code generation...
Aart Bik [Fri, 5 Feb 2016 18:43:54 +0000 (18:43 +0000)]
Merge "Implemented compare/signum intrinsics as HCompare (with all code generation for all)"

8 years agoMerge "Make test 971-iface-super smaller to prevent gcstress timeouts." am: e2caf540e8
Alex Light [Fri, 5 Feb 2016 18:08:39 +0000 (18:08 +0000)]
Merge "Make test 971-iface-super smaller to prevent gcstress timeouts." am: e2caf540e8
am: 81c7315130

* commit '81c731513086fac9da6fda3cb3d471affc8355cc':
  Make test 971-iface-super smaller to prevent gcstress timeouts.

8 years agoMerge "Make test 971-iface-super smaller to prevent gcstress timeouts."
Alex Light [Fri, 5 Feb 2016 18:05:56 +0000 (18:05 +0000)]
Merge "Make test 971-iface-super smaller to prevent gcstress timeouts."
am: e2caf540e8

* commit 'e2caf540e8d90eb93c00d2ac1c515bef215c1362':
  Make test 971-iface-super smaller to prevent gcstress timeouts.

8 years agoMerge "Make test 971-iface-super smaller to prevent gcstress timeouts."
Alex Light [Fri, 5 Feb 2016 18:02:11 +0000 (18:02 +0000)]
Merge "Make test 971-iface-super smaller to prevent gcstress timeouts."

8 years agoMerge "Revert "Revert "Implement on-stack replacement for arm/arm64/x86/x86_64."...
Nicolas Geoffray [Fri, 5 Feb 2016 17:49:43 +0000 (17:49 +0000)]
Merge "Revert "Revert "Implement on-stack replacement for arm/arm64/x86/x86_64.""" am: 9fba3f67a0
am: 8385ed035b

* commit '8385ed035b6540484638d3f00d2f8db47828c5c4':
  Revert "Revert "Implement on-stack replacement for arm/arm64/x86/x86_64.""

8 years agoMerge "Revert "Revert "Implement on-stack replacement for arm/arm64/x86/x86_64."""
Nicolas Geoffray [Fri, 5 Feb 2016 17:47:09 +0000 (17:47 +0000)]
Merge "Revert "Revert "Implement on-stack replacement for arm/arm64/x86/x86_64."""
am: 9fba3f67a0

* commit '9fba3f67a0792ad5eeb495e489d11a87211c318f':
  Revert "Revert "Implement on-stack replacement for arm/arm64/x86/x86_64.""

8 years agoImplemented compare/signum intrinsics as HCompare
Aart Bik [Tue, 2 Feb 2016 02:57:58 +0000 (18:57 -0800)]
Implemented compare/signum intrinsics as HCompare
(with all code generation for all)

Rationale:
At HIR level, many more optimizations are possible, while ultimately
generated code can take advantage of full semantics.

Change-Id: I6e2ee0311784e5e336847346f7f3c4faef4fd17e

8 years agoMerge "Revert "Revert "Implement on-stack replacement for arm/arm64/x86/x86_64."""
Nicolas Geoffray [Fri, 5 Feb 2016 17:25:17 +0000 (17:25 +0000)]
Merge "Revert "Revert "Implement on-stack replacement for arm/arm64/x86/x86_64."""

8 years agoMerge "Extend De Morgan factorisation to `HBooleanNot`." am: 0f638c6468
David Brazdil [Fri, 5 Feb 2016 17:25:10 +0000 (17:25 +0000)]
Merge "Extend De Morgan factorisation to `HBooleanNot`." am: 0f638c6468
am: 49772e2c6b

* commit '49772e2c6b36107f0eadbd6c80092c789dced81a':
  Extend De Morgan factorisation to `HBooleanNot`.

8 years agoMerge "Revert "Implement on-stack replacement for arm/arm64/x86/x86_64."" am: 11aa3f5c5e
David Brazdil [Fri, 5 Feb 2016 17:25:03 +0000 (17:25 +0000)]
Merge "Revert "Implement on-stack replacement for arm/arm64/x86/x86_64."" am: 11aa3f5c5e
am: d28f78b219

* commit 'd28f78b21970817d76ee3066e4fd65e142c247db':
  Revert "Implement on-stack replacement for arm/arm64/x86/x86_64."

8 years agoMerge "Implement on-stack replacement for arm/arm64/x86/x86_64." am: 7ac9aeb501
Nicolas Geoffray [Fri, 5 Feb 2016 17:24:54 +0000 (17:24 +0000)]
Merge "Implement on-stack replacement for arm/arm64/x86/x86_64." am: 7ac9aeb501
am: 495c5dad28

* commit '495c5dad28e9aaabf194e86f2a723108ee01e455':
  Implement on-stack replacement for arm/arm64/x86/x86_64.

8 years agoMerge "Support CMOV for x86_64 Select" am: c8d2b0c174
David Brazdil [Fri, 5 Feb 2016 17:24:47 +0000 (17:24 +0000)]
Merge "Support CMOV for x86_64 Select" am: c8d2b0c174
am: 8745ded071

* commit '8745ded071110934b739ea9ab566c4057e691e23':
  Support CMOV for x86_64 Select

8 years agoMerge "Do not emit DWARF debug info if there are no methods." am: 3c258f4d7a
David Srbecky [Fri, 5 Feb 2016 17:24:39 +0000 (17:24 +0000)]
Merge "Do not emit DWARF debug info if there are no methods." am: 3c258f4d7a
am: 3e14e3b328

* commit '3e14e3b32877cb38628c5223b79897ebd583cde8':
  Do not emit DWARF debug info if there are no methods.

8 years agoMerge "Add some more tests to those breaking since move to OpenJDK" am: c4252b1179
Paul Duffin [Fri, 5 Feb 2016 17:24:31 +0000 (17:24 +0000)]
Merge "Add some more tests to those breaking since move to OpenJDK" am: c4252b1179
am: 9fd30bdf1b

* commit '9fd30bdf1babfe34629e2775068ad71192b3475a':
  Add some more tests to those breaking since move to OpenJDK

8 years agoMerge "Revert "Disable test for now."" am: 5dfb2020dc
Nicolas Geoffray [Fri, 5 Feb 2016 17:24:22 +0000 (17:24 +0000)]
Merge "Revert "Disable test for now."" am: 5dfb2020dc
am: 594053fff5

* commit '594053fff5e21d17409c6fc3bfca84637dd53503':
  Revert "Disable test for now."

8 years agoMerge "Revert "Revert "X86: Use the constant area for more operations.""" am: e6e0cfd798
David Brazdil [Fri, 5 Feb 2016 17:24:14 +0000 (17:24 +0000)]
Merge "Revert "Revert "X86: Use the constant area for more operations.""" am: e6e0cfd798
am: d1085aedd2

* commit 'd1085aedd202aa61467ad1909465cdc27b76db3c':
  Revert "Revert "X86: Use the constant area for more operations.""

8 years agoMerge changes I514f1db3,I7dc1c7c0 am: 519281001d
David Srbecky [Fri, 5 Feb 2016 17:24:06 +0000 (17:24 +0000)]
Merge changes I514f1db3,I7dc1c7c0 am: 519281001d
am: 344c8ac9b9

* commit '344c8ac9b93dbd23d3470798393f076d6d3aa83c':
  Generate mini-debug-info on separate thread.
  Change the method which generates DWARF mini-debug-info.

8 years agoMerge "ART: Avoid uninitialized padding in LinkerPatch." am: f1ea14af52
Vladimir Marko [Fri, 5 Feb 2016 17:23:58 +0000 (17:23 +0000)]
Merge "ART: Avoid uninitialized padding in LinkerPatch." am: f1ea14af52
am: 181a29d4b7

* commit '181a29d4b710651388ae990c68e9cc3232f3768d':
  ART: Avoid uninitialized padding in LinkerPatch.

8 years agoMerge "Revert "ART: Enable Jit Profiling in Mterp for arm/arm64"" am: 586996afc9
Nicolas Geoffray [Fri, 5 Feb 2016 17:23:49 +0000 (17:23 +0000)]
Merge "Revert "ART: Enable Jit Profiling in Mterp for arm/arm64"" am: 586996afc9
am: fc3a6ec6e1

* commit 'fc3a6ec6e1b7bf73e955475299e784d2bd0ee02b':
  Revert "ART: Enable Jit Profiling in Mterp for arm/arm64"

8 years agoMerge "Disable test for now." am: 3aec725d03
Nicolas Geoffray [Fri, 5 Feb 2016 17:23:40 +0000 (17:23 +0000)]
Merge "Disable test for now." am: 3aec725d03
am: 3220aad231

* commit '3220aad231a5cc5372e2cc5baa7cd4d3496e779e':
  Disable test for now.

8 years agoFix moving GC bugs in quick_field_entrypoints.cc
Mathieu Chartier [Fri, 5 Feb 2016 02:13:32 +0000 (18:13 -0800)]
Fix moving GC bugs in quick_field_entrypoints.cc

There was some missing handles. Fixed style.

Bug: 26990650

Change-Id: Iee0a3308c11f7275609ee43662508bcb8769bef1

8 years agoMerge "Store relative paths in the profile file"
Calin Juravle [Fri, 5 Feb 2016 17:13:00 +0000 (17:13 +0000)]
Merge "Store relative paths in the profile file"

8 years agoRevert "Revert "Implement on-stack replacement for arm/arm64/x86/x86_64.""
Nicolas Geoffray [Fri, 5 Feb 2016 16:51:53 +0000 (16:51 +0000)]
Revert "Revert "Implement on-stack replacement for arm/arm64/x86/x86_64.""

This reverts commit bd89a5c556324062b7d841843b039392e84cfaf4.

Change-Id: I08d190431520baa7fcec8fbdb444519f25ac8d44

8 years agoStore relative paths in the profile file
Calin Juravle [Fri, 5 Feb 2016 16:19:19 +0000 (16:19 +0000)]
Store relative paths in the profile file

Bug: 26409579
Bug: 26080105
Change-Id: I45e6e382946a45129ed43d92768c7e870cf41aff

8 years agoMerge "Extend De Morgan factorisation to `HBooleanNot`."
David Brazdil [Fri, 5 Feb 2016 16:11:11 +0000 (16:11 +0000)]
Merge "Extend De Morgan factorisation to `HBooleanNot`."
am: 0f638c6468

* commit '0f638c64686c03256c949051331b0838c9888a2a':
  Extend De Morgan factorisation to `HBooleanNot`.

8 years agoMerge "Extend De Morgan factorisation to `HBooleanNot`."
David Brazdil [Fri, 5 Feb 2016 16:07:44 +0000 (16:07 +0000)]
Merge "Extend De Morgan factorisation to `HBooleanNot`."

8 years agoMerge "Revert "Implement on-stack replacement for arm/arm64/x86/x86_64.""
David Brazdil [Fri, 5 Feb 2016 15:52:16 +0000 (15:52 +0000)]
Merge "Revert "Implement on-stack replacement for arm/arm64/x86/x86_64.""
am: 11aa3f5c5e

* commit '11aa3f5c5efd5ce8e761dfd76378a91d9f8dc42b':
  Revert "Implement on-stack replacement for arm/arm64/x86/x86_64."

8 years agoMerge "Revert "Implement on-stack replacement for arm/arm64/x86/x86_64.""
David Brazdil [Fri, 5 Feb 2016 15:47:16 +0000 (15:47 +0000)]
Merge "Revert "Implement on-stack replacement for arm/arm64/x86/x86_64.""

8 years agoRevert "Implement on-stack replacement for arm/arm64/x86/x86_64."
David Brazdil [Fri, 5 Feb 2016 15:46:42 +0000 (15:46 +0000)]
Revert "Implement on-stack replacement for arm/arm64/x86/x86_64."

DCHECK whether loop headers are covered fails.

This reverts commit 891bc286963892ed96134ca1adb7822737af9710.

Change-Id: I0f9a90630b014b16d20ba1dfba31ce63e6648021

8 years agoMerge "Implement on-stack replacement for arm/arm64/x86/x86_64."
Nicolas Geoffray [Fri, 5 Feb 2016 14:44:04 +0000 (14:44 +0000)]
Merge "Implement on-stack replacement for arm/arm64/x86/x86_64."
am: 7ac9aeb501

* commit '7ac9aeb501520089334c7b9e0deca1e089945bc8':
  Implement on-stack replacement for arm/arm64/x86/x86_64.

8 years agoMerge "Implement on-stack replacement for arm/arm64/x86/x86_64."
Nicolas Geoffray [Fri, 5 Feb 2016 14:39:18 +0000 (14:39 +0000)]
Merge "Implement on-stack replacement for arm/arm64/x86/x86_64."

8 years agoMerge "Support CMOV for x86_64 Select"
David Brazdil [Fri, 5 Feb 2016 14:30:07 +0000 (14:30 +0000)]
Merge "Support CMOV for x86_64 Select"
am: c8d2b0c174

* commit 'c8d2b0c174dc45c931eecf45a5fdd45fdf4be311':
  Support CMOV for x86_64 Select

8 years agoMerge "Support CMOV for x86_64 Select"
David Brazdil [Fri, 5 Feb 2016 14:26:53 +0000 (14:26 +0000)]
Merge "Support CMOV for x86_64 Select"

8 years agoExtend De Morgan factorisation to `HBooleanNot`.
Alexandre Rames [Fri, 5 Feb 2016 14:00:28 +0000 (14:00 +0000)]
Extend De Morgan factorisation to `HBooleanNot`.

Change-Id: I81aa92277fa136d675e7ef01be8e4acdbd3d3b7c

8 years agoMerge "Do not emit DWARF debug info if there are no methods."
David Srbecky [Fri, 5 Feb 2016 13:52:00 +0000 (13:52 +0000)]
Merge "Do not emit DWARF debug info if there are no methods."
am: 3c258f4d7a

* commit '3c258f4d7a6492af733a9351ba430d876a3e5ccf':
  Do not emit DWARF debug info if there are no methods.

8 years agoMerge "Do not emit DWARF debug info if there are no methods."
David Srbecky [Fri, 5 Feb 2016 13:47:49 +0000 (13:47 +0000)]
Merge "Do not emit DWARF debug info if there are no methods."

8 years agoMerge "Add some more tests to those breaking since move to OpenJDK"
Paul Duffin [Fri, 5 Feb 2016 13:42:38 +0000 (13:42 +0000)]
Merge "Add some more tests to those breaking since move to OpenJDK"
am: c4252b1179

* commit 'c4252b1179ee9204384e9ca1ac8d5524691316a5':
  Add some more tests to those breaking since move to OpenJDK

8 years agoMerge "Add some more tests to those breaking since move to OpenJDK"
Paul Duffin [Fri, 5 Feb 2016 13:39:20 +0000 (13:39 +0000)]
Merge "Add some more tests to those breaking since move to OpenJDK"

8 years agoMerge "Revert "Disable test for now.""
Nicolas Geoffray [Fri, 5 Feb 2016 13:22:34 +0000 (13:22 +0000)]
Merge "Revert "Disable test for now.""
am: 5dfb2020dc

* commit '5dfb2020dcb415eee8330d61f45a09c5843581f7':
  Revert "Disable test for now."

8 years agoMerge "Revert "Disable test for now.""
Nicolas Geoffray [Fri, 5 Feb 2016 13:19:37 +0000 (13:19 +0000)]
Merge "Revert "Disable test for now.""

8 years agoRevert "Disable test for now."
Nicolas Geoffray [Fri, 5 Feb 2016 13:19:23 +0000 (13:19 +0000)]
Revert "Disable test for now."

This reverts commit 0a57b45f83d6aa8876e6e91d0e5b3f62a1690d3f.

Change-Id: I8348fdaa62cc86e3b03466844715397f6601b7c8

8 years agoMerge "Revert "Revert "X86: Use the constant area for more operations."""
David Brazdil [Fri, 5 Feb 2016 13:16:15 +0000 (13:16 +0000)]
Merge "Revert "Revert "X86: Use the constant area for more operations."""
am: e6e0cfd798

* commit 'e6e0cfd7984b2e0794dda751d17d2f528786b05c':
  Revert "Revert "X86: Use the constant area for more operations.""

8 years agoMerge "Revert "Revert "X86: Use the constant area for more operations."""
David Brazdil [Fri, 5 Feb 2016 13:12:24 +0000 (13:12 +0000)]
Merge "Revert "Revert "X86: Use the constant area for more operations."""

8 years agoDo not emit DWARF debug info if there are no methods.
David Srbecky [Fri, 5 Feb 2016 11:42:23 +0000 (11:42 +0000)]
Do not emit DWARF debug info if there are no methods.

Change-Id: I43406e54b454dbac45980d5c5edd90cd5593b9fd

8 years agoAdd some more tests to those breaking since move to OpenJDK
Paul Duffin [Fri, 5 Feb 2016 11:46:26 +0000 (11:46 +0000)]
Add some more tests to those breaking since move to OpenJDK

Adds the names of some new failing tests that were created by
splitting out parts of the SimpleDateFormatTest method
test_parseLjava_lang_StringLjava_text_ParsePosition into their
own methods. That was done to highlight those failures that were
previously hidden by an earlier failure in the method.

Bug: 25998255
Change-Id: If3bde4fa4c8ae4b39fd89e18e8fd6a9a2ab739ba

8 years agoImplement on-stack replacement for arm/arm64/x86/x86_64.
Nicolas Geoffray [Fri, 29 Jan 2016 12:40:13 +0000 (12:40 +0000)]
Implement on-stack replacement for arm/arm64/x86/x86_64.

High-level overview:
- osr_method_threshold is used to know when to compile a method
  in osr mode (-> treat all loops as irreducible).
- branch instructions in the compiler query whether they can
  jump to an osr method.
- An osr entry point is found through the stack maps: if a stack
  map is duplicated in the CodeInfo, it is an osr entry point.

Change-Id: Ifb39338cd281e2c7eccce67f4e18d46428be71e4

8 years agoMerge changes I514f1db3,I7dc1c7c0
David Srbecky [Fri, 5 Feb 2016 11:37:10 +0000 (11:37 +0000)]
Merge changes I514f1db3,I7dc1c7c0
am: 519281001d

* commit '519281001dabe9060e2bfefc2382570bab26c96a':
  Generate mini-debug-info on separate thread.
  Change the method which generates DWARF mini-debug-info.

8 years agoMerge changes I514f1db3,I7dc1c7c0
David Srbecky [Fri, 5 Feb 2016 11:33:47 +0000 (11:33 +0000)]
Merge changes I514f1db3,I7dc1c7c0

* changes:
  Generate mini-debug-info on separate thread.
  Change the method which generates DWARF mini-debug-info.

8 years agoGenerate mini-debug-info on separate thread.
David Srbecky [Fri, 22 Jan 2016 19:19:25 +0000 (19:19 +0000)]
Generate mini-debug-info on separate thread.

The generation and compression of mini-debug-info is a lot of work.
However, we can do it on background thread when the main thread is
busy with .rodata and .text related I/O.

Change-Id: I514f1db3cb50aa250639f3ef697faa9bc9976d12

8 years agoChange the method which generates DWARF mini-debug-info.
David Srbecky [Fri, 5 Feb 2016 09:40:10 +0000 (09:40 +0000)]
Change the method which generates DWARF mini-debug-info.

This splits some code from CL198651. It moves the WriteSection
call out one level and does not otherwise change behaviour.

Change-Id: I7dc1c7c08b577b50bf6fa366a9b0ca757048b81e

8 years agoMerge "ART: Avoid uninitialized padding in LinkerPatch."
Vladimir Marko [Fri, 5 Feb 2016 10:02:25 +0000 (10:02 +0000)]
Merge "ART: Avoid uninitialized padding in LinkerPatch."
am: f1ea14af52

* commit 'f1ea14af52b64adb45ba57ce8c525511c208d0e2':
  ART: Avoid uninitialized padding in LinkerPatch.

8 years agoMerge "ART: Avoid uninitialized padding in LinkerPatch."
Vladimir Marko [Fri, 5 Feb 2016 09:57:59 +0000 (09:57 +0000)]
Merge "ART: Avoid uninitialized padding in LinkerPatch."

8 years agoMerge "Revert "ART: Enable Jit Profiling in Mterp for arm/arm64""
Nicolas Geoffray [Fri, 5 Feb 2016 09:29:04 +0000 (09:29 +0000)]
Merge "Revert "ART: Enable Jit Profiling in Mterp for arm/arm64""
am: 586996afc9

* commit '586996afc905518ed926e4680aab67bedabec9b7':
  Revert "ART: Enable Jit Profiling in Mterp for arm/arm64"

8 years agoMerge "Revert "ART: Enable Jit Profiling in Mterp for arm/arm64""
Nicolas Geoffray [Fri, 5 Feb 2016 09:24:32 +0000 (09:24 +0000)]
Merge "Revert "ART: Enable Jit Profiling in Mterp for arm/arm64""

8 years agoRevert "ART: Enable Jit Profiling in Mterp for arm/arm64"
Nicolas Geoffray [Fri, 5 Feb 2016 09:24:02 +0000 (09:24 +0000)]
Revert "ART: Enable Jit Profiling in Mterp for arm/arm64"

Not super happy to revert this, but unfortunately, too many problems when testing:

arm: tests timeout when running run-tests with the interpreter.

arm64 failures:
test-art-target-run-test-ndebug-prebuild-jit-relocate-ntrace-cms-checkjni-image-npictest-ndebuggable-003-omnibus-opcodes64
test-art-target-run-test-ndebug-prebuild-jit-relocate-ntrace-cms-checkjni-image-npictest-ndebuggable-005-annotations64
test-art-target-run-test-ndebug-prebuild-jit-relocate-ntrace-cms-checkjni-image-npictest-ndebuggable-064-field-access64
test-art-target-run-test-ndebug-prebuild-jit-relocate-ntrace-cms-checkjni-image-npictest-ndebuggable-406-fields64

  org.apache.harmony.jpda.tests.jdwp.Events.EventWithExceptionTest#testBreakpoint_BeforeException
org.apache.harmony.jpda.tests.jdwp.Events.EventWithExceptionTest#testFieldAccess
org.apache.harmony.jpda.tests.jdwp.Events.EventWithExceptionTest#testFieldModification
org.apache.harmony.jpda.tests.jdwp.Events.EventWithExceptionTest#testMethodExit
org.apache.harmony.jpda.tests.jdwp.Events.EventWithExceptionTest#testMethodExitWithReturnValue
org.apache.harmony.jpda.tests.jdwp.Events.FieldAccessTest#testFieldAccessEvent
org.apache.harmony.jpda.tests.jdwp.Events.FieldModification002Test#testFieldModifyEvent
org.apache.harmony.jpda.tests.jdwp.Events.FieldModificationTest#testFieldModifyEvent
org.apache.harmony.jpda.tests.jdwp.Events.MethodExitWithReturnValueTest#testMethodExitWithReturnValueException

This reverts commit a0a16105423459287497a98129dcba2828ccd7f0.

Change-Id: I8ff0512265ed0a422be67e7410998ad02639509c

8 years agoMerge "Disable test for now."
Nicolas Geoffray [Fri, 5 Feb 2016 08:53:47 +0000 (08:53 +0000)]
Merge "Disable test for now."
am: 3aec725d03

* commit '3aec725d03e9ba28562e7c2578445307ecb7dd2d':
  Disable test for now.