OSDN Git Service

android-x86/art.git
9 years agoam cb34698f: Merge "Do not use -DUSE_*MALLOC for host build"
Shinichiro Hamaji [Fri, 31 Jul 2015 06:09:53 +0000 (06:09 +0000)]
am cb34698f: Merge "Do not use -DUSE_*MALLOC for host build"

* commit 'cb34698f42ed688ec98bf3c9562075237ee72490':
  Do not use -DUSE_*MALLOC for host build

9 years agoMerge "Do not use -DUSE_*MALLOC for host build"
Shinichiro Hamaji [Fri, 31 Jul 2015 06:03:10 +0000 (06:03 +0000)]
Merge "Do not use -DUSE_*MALLOC for host build"

9 years agoam 8e568d07: Merge "Added disassembler support for repe_cmpsw instruction in x86...
Andreas Gampe [Thu, 30 Jul 2015 23:38:51 +0000 (23:38 +0000)]
am 8e568d07: Merge "Added disassembler support for repe_cmpsw instruction in x86, x86_64"

* commit '8e568d079b052db118d83e6e89ea36ab4fa4bfb1':
  Added disassembler support for repe_cmpsw instruction in x86, x86_64

9 years agoam ad697bda: Merge "base: replace raw pointers for out-parameters with safer out<T>"
Igor Murashkin [Thu, 30 Jul 2015 23:38:49 +0000 (23:38 +0000)]
am ad697bda: Merge "base: replace raw pointers for out-parameters with safer out<T>"

* commit 'ad697bda14eae8615e2b6110aec0118625983acd':
  base: replace raw pointers for out-parameters with safer out<T>

9 years agoMerge "Added disassembler support for repe_cmpsw instruction in x86, x86_64"
Andreas Gampe [Thu, 30 Jul 2015 23:31:39 +0000 (23:31 +0000)]
Merge "Added disassembler support for repe_cmpsw instruction in x86, x86_64"

9 years agoMerge "base: replace raw pointers for out-parameters with safer out<T>"
Igor Murashkin [Thu, 30 Jul 2015 23:31:12 +0000 (23:31 +0000)]
Merge "base: replace raw pointers for out-parameters with safer out<T>"

9 years agoam 59c59d07: Merge "Don\'t dump stack when deleting an invalid local ref"
Mathieu Chartier [Thu, 30 Jul 2015 22:02:51 +0000 (22:02 +0000)]
am 59c59d07: Merge "Don\'t dump stack when deleting an invalid local ref"

* commit '59c59d07900e639ec7eeffe9e3f54ec30a2fb43f':
  Don't dump stack when deleting an invalid local ref

9 years agoMerge "Don't dump stack when deleting an invalid local ref"
Mathieu Chartier [Thu, 30 Jul 2015 21:57:12 +0000 (21:57 +0000)]
Merge "Don't dump stack when deleting an invalid local ref"

9 years agoDon't dump stack when deleting an invalid local ref
Mathieu Chartier [Thu, 30 Jul 2015 18:41:04 +0000 (11:41 -0700)]
Don't dump stack when deleting an invalid local ref

Bug: 21724724

(cherry picked from commit 2ada67b3145d38b352297bdb9d0546f58882e208)

Change-Id: Ifa99df9ee9f3265038a0c0f7944e834e42c498d4

9 years agobase: replace raw pointers for out-parameters with safer out<T>
Igor Murashkin [Thu, 23 Jul 2015 23:53:53 +0000 (16:53 -0700)]
base: replace raw pointers for out-parameters with safer out<T>

Add a zero-cost type-safe abstraction for representing "out" parameters
(i.e. when the calling function has to return multiple results out
by-reference into the argument slots instead of using the return slot).

Change-Id: I33a941e4863b6bed71d2bfa43d7f48e9b111f83f

9 years agoAdded disassembler support for repe_cmpsw instruction in x86, x86_64
agicsaki [Thu, 30 Jul 2015 20:40:13 +0000 (13:40 -0700)]
Added disassembler support for repe_cmpsw instruction in x86, x86_64

Also included support for repe_cmpsl instruction. This is a follow up to
commit 71311f868e2 which added support for repe_cmpsw in the x86 and
x86_64 assemblers.

Change-Id: I2beac05a57341539acf96cdf77062facd031a864

9 years agoam 8433bb8a: Merge "ART: Fix gtest after GraphChecker CL"
David Brazdil [Thu, 30 Jul 2015 17:27:38 +0000 (17:27 +0000)]
am 8433bb8a: Merge "ART: Fix gtest after GraphChecker CL"

* commit '8433bb8a3120d064de97a692d98341d9bc29a985':
  ART: Fix gtest after GraphChecker CL

9 years agoMerge "ART: Fix gtest after GraphChecker CL"
David Brazdil [Thu, 30 Jul 2015 17:23:05 +0000 (17:23 +0000)]
Merge "ART: Fix gtest after GraphChecker CL"

9 years agoART: Fix gtest after GraphChecker CL
David Brazdil [Thu, 30 Jul 2015 17:21:41 +0000 (18:21 +0100)]
ART: Fix gtest after GraphChecker CL

Change-Id: Ia85cb9622b3927c401325d87f2d7a52096b7fe5d

9 years agoam 5d2ed003: Merge "ART: Use __ANDROID__ instead of HAVE_ANDROID_OS"
Andreas Gampe [Thu, 30 Jul 2015 16:52:52 +0000 (16:52 +0000)]
am 5d2ed003: Merge "ART: Use __ANDROID__ instead of HAVE_ANDROID_OS"

* commit '5d2ed003020feee437683b84e4ea6b8c6a5753e0':
  ART: Use __ANDROID__ instead of HAVE_ANDROID_OS

9 years agoam a302e913: Merge "ART: Store and check exceptional predecessors"
David Brazdil [Thu, 30 Jul 2015 16:52:50 +0000 (16:52 +0000)]
am a302e913: Merge "ART: Store and check exceptional predecessors"

* commit 'a302e9133b659d9b96066aa53f9d22d35d2dba13':
  ART: Store and check exceptional predecessors

9 years agoMerge "ART: Use __ANDROID__ instead of HAVE_ANDROID_OS"
Andreas Gampe [Thu, 30 Jul 2015 16:46:31 +0000 (16:46 +0000)]
Merge "ART: Use __ANDROID__ instead of HAVE_ANDROID_OS"

9 years agoMerge "ART: Store and check exceptional predecessors"
David Brazdil [Thu, 30 Jul 2015 16:45:35 +0000 (16:45 +0000)]
Merge "ART: Store and check exceptional predecessors"

9 years agoART: Store and check exceptional predecessors
David Brazdil [Wed, 29 Jul 2015 09:31:29 +0000 (10:31 +0100)]
ART: Store and check exceptional predecessors

Future CL on register allocation for try/catch will require the
knowledge of instructions which throw into a catch block. This patch
stores that information with the basic block and verifies it in the
graph checker.

More checks on try catch also added to the graph checker and an order
of exception handlers is enforced in TryBoundary successors.

Change-Id: I3034c610791ea51d96724bcca97f49ec6ecf2af3

9 years agoART: Use __ANDROID__ instead of HAVE_ANDROID_OS
Andreas Gampe [Thu, 30 Jul 2015 15:57:50 +0000 (08:57 -0700)]
ART: Use __ANDROID__ instead of HAVE_ANDROID_OS

Use the proper define.

Change-Id: I71e291ac25f5d5f0187ac9b6ef2d6872f19e6085

9 years agoDo not use -DUSE_*MALLOC for host build
Shinichiro Hamaji [Wed, 29 Jul 2015 07:30:29 +0000 (16:30 +0900)]
Do not use -DUSE_*MALLOC for host build

When we use ninja and switch a lunch target to another, they
may cause unnecessary rebuild because ninja detects command
line changes. They are used in #ifdef HAVE_ANDROID_OS so there
should be no semantics changes.

Change-Id: I629c94c872c8fc8ba4b4c59b565338e14570c3fe

9 years agoam 7b926cda: Merge "Clear temporary class arrays before linking the new class"
Mathieu Chartier [Thu, 30 Jul 2015 01:32:55 +0000 (01:32 +0000)]
am 7b926cda: Merge "Clear temporary class arrays before linking the new class"

* commit '7b926cdacc2b67241bc9cb5f2d4b04b13ca79d0e':
  Clear temporary class arrays before linking the new class

9 years agoMerge "Clear temporary class arrays before linking the new class"
Mathieu Chartier [Thu, 30 Jul 2015 01:18:56 +0000 (01:18 +0000)]
Merge "Clear temporary class arrays before linking the new class"

9 years agoClear temporary class arrays before linking the new class
Mathieu Chartier [Thu, 30 Jul 2015 00:25:41 +0000 (17:25 -0700)]
Clear temporary class arrays before linking the new class

Fixes DCHECK failure from remembered sets where two classes had the
same field array which caused the remembered set to incorrectly
remove a card with a reference to the target space.

Change-Id: If43875616fb750e20667212381bc7e359c4214a5

9 years agoam 3247ce51: Merge "Register signal handler to kernel if not claimed"
Andreas Gampe [Thu, 30 Jul 2015 00:03:44 +0000 (00:03 +0000)]
am 3247ce51: Merge "Register signal handler to kernel if not claimed"

* commit '3247ce5195f4233c484254b41a1fcc6cd1e6db0a':
  Register signal handler to kernel if not claimed

9 years agoMerge "Register signal handler to kernel if not claimed"
Andreas Gampe [Wed, 29 Jul 2015 23:54:35 +0000 (23:54 +0000)]
Merge "Register signal handler to kernel if not claimed"

9 years agoam 1569aad2: Merge "ART: Relax IsInstantiable check"
Andreas Gampe [Wed, 29 Jul 2015 23:41:36 +0000 (23:41 +0000)]
am 1569aad2: Merge "ART: Relax IsInstantiable check"

* commit '1569aad28638334019ecd3d649ff2f28f2921d2c':
  ART: Relax IsInstantiable check

9 years agoMerge "ART: Relax IsInstantiable check"
Andreas Gampe [Wed, 29 Jul 2015 23:30:34 +0000 (23:30 +0000)]
Merge "ART: Relax IsInstantiable check"

9 years agoam 36c51fc2: Merge "Take into account that we might end up with unresolved classes."
Calin Juravle [Wed, 29 Jul 2015 18:50:32 +0000 (18:50 +0000)]
am 36c51fc2: Merge "Take into account that we might end up with unresolved classes."

* commit '36c51fc23f7d7330440ecf8de54e69bb68969c05':
  Take into account that we might end up with unresolved classes.

9 years agoMerge "Take into account that we might end up with unresolved classes."
Calin Juravle [Wed, 29 Jul 2015 18:33:07 +0000 (18:33 +0000)]
Merge "Take into account that we might end up with unresolved classes."

9 years agoTake into account that we might end up with unresolved classes.
Calin Juravle [Wed, 29 Jul 2015 18:25:24 +0000 (19:25 +0100)]
Take into account that we might end up with unresolved classes.

bug:22821472
Change-Id: I615ab0b41c8cadae9f327e07dcff71755f7146c2

9 years agoam 57a9c7d3: Merge "Fix gtests."
Calin Juravle [Wed, 29 Jul 2015 18:14:53 +0000 (18:14 +0000)]
am 57a9c7d3: Merge "Fix gtests."

* commit '57a9c7d3bb01a82767a537a07aa2d6f99f958d15':
  Fix gtests.

9 years agoMerge "Fix gtests."
Calin Juravle [Wed, 29 Jul 2015 18:00:56 +0000 (18:00 +0000)]
Merge "Fix gtests."

9 years agoFix gtests.
Calin Juravle [Wed, 29 Jul 2015 17:59:13 +0000 (18:59 +0100)]
Fix gtests.

Change-Id: I19fd46ed96b4f620209533c96faa18d1077b004b

9 years agoam b9318481: Merge "Allow for fine tuning the inliner."
Calin Juravle [Wed, 29 Jul 2015 17:53:30 +0000 (17:53 +0000)]
am b9318481: Merge "Allow for fine tuning the inliner."

* commit 'b9318481111eafd0794fded1a46a5f20ffcfa7cb':
  Allow for fine tuning the inliner.

9 years agoam 57c0f3f3: Merge "Clean up class visitors"
Mathieu Chartier [Wed, 29 Jul 2015 17:31:28 +0000 (17:31 +0000)]
am 57c0f3f3: Merge "Clean up class visitors"

* commit '57c0f3f3ea153d008a8e8ac32b66cceee682d412':
  Clean up class visitors

9 years agoMerge "Allow for fine tuning the inliner."
Calin Juravle [Wed, 29 Jul 2015 17:30:10 +0000 (17:30 +0000)]
Merge "Allow for fine tuning the inliner."

9 years agoAllow for fine tuning the inliner.
Calin Juravle [Wed, 29 Jul 2015 12:52:12 +0000 (13:52 +0100)]
Allow for fine tuning the inliner.

Bug: 21868508

Change-Id: Ice7f1604ed65e3d4ed2a010ee431272b7d000cdb

9 years agoMerge "Clean up class visitors"
Mathieu Chartier [Wed, 29 Jul 2015 17:16:36 +0000 (17:16 +0000)]
Merge "Clean up class visitors"

9 years agoClean up class visitors
Mathieu Chartier [Wed, 29 Jul 2015 00:23:28 +0000 (17:23 -0700)]
Clean up class visitors

Move from function pointers to virtual function visitors.

Change-Id: I68cb83c1d2ed9b5a89f8e534fe7ca4bbc1c91f45

9 years agoam 8c4113b8: Merge "Revert "Revert "Revert "Revert "Use the object class as top in...
Calin Juravle [Wed, 29 Jul 2015 16:26:39 +0000 (16:26 +0000)]
am 8c4113b8: Merge "Revert "Revert "Revert "Revert "Use the object class as top in reference type propagation"""""

* commit '8c4113b81eda9b2eab3761583f0d9e678b0e6bdd':
  Revert "Revert "Revert "Revert "Use the object class as top in reference type propagation""""

9 years agoam 3dac766e: Merge "Revert "Revert "Revert "Revert "Fixes and improvements in Referen...
Calin Juravle [Wed, 29 Jul 2015 16:26:37 +0000 (16:26 +0000)]
am 3dac766e: Merge "Revert "Revert "Revert "Revert "Fixes and improvements in ReferenceTypePropagation"""""

* commit '3dac766eda0002ec020decee9270afe46ba17047':
  Revert "Revert "Revert "Revert "Fixes and improvements in ReferenceTypePropagation""""

9 years agoMerge "Revert "Revert "Revert "Revert "Use the object class as top in reference type...
Calin Juravle [Wed, 29 Jul 2015 16:09:38 +0000 (16:09 +0000)]
Merge "Revert "Revert "Revert "Revert "Use the object class as top in reference type propagation"""""

9 years agoMerge "Revert "Revert "Revert "Revert "Fixes and improvements in ReferenceTypePropaga...
Calin Juravle [Wed, 29 Jul 2015 16:09:29 +0000 (16:09 +0000)]
Merge "Revert "Revert "Revert "Revert "Fixes and improvements in ReferenceTypePropagation"""""

9 years agoRevert "Revert "Revert "Revert "Use the object class as top in reference type propaga...
Calin Juravle [Tue, 28 Jul 2015 14:41:11 +0000 (14:41 +0000)]
Revert "Revert "Revert "Revert "Use the object class as top in reference type propagation""""

This reverts commit b734808d0c93af98ec4e3539fdb0a8c0787263b0.

Change-Id: Ifd925f166761bcb9be2268ff0fc9fa3a72f00c6f

9 years agoam 0f8c6daf: Merge "Run intrinsics on inlined code."
Roland Levillain [Wed, 29 Jul 2015 13:00:36 +0000 (13:00 +0000)]
am 0f8c6daf: Merge "Run intrinsics on inlined code."

* commit '0f8c6daf1083d578574e13044aee2d5ea4d9933e':
  Run intrinsics on inlined code.

9 years agoMerge "Run intrinsics on inlined code."
Roland Levillain [Wed, 29 Jul 2015 12:45:16 +0000 (12:45 +0000)]
Merge "Run intrinsics on inlined code."

9 years agoRun intrinsics on inlined code.
Scott Wakeling [Wed, 22 Jul 2015 13:32:44 +0000 (14:32 +0100)]
Run intrinsics on inlined code.

Fixes any prior intrinsics recognition being lost if the containing code
block is inlined.

Change-Id: I6c89973545af97a4fe2444a9bd6efcc12d0d1b10

9 years agoam aac04677: Merge "Split the class table for each class loader"
Mathieu Chartier [Wed, 29 Jul 2015 00:16:46 +0000 (00:16 +0000)]
am aac04677: Merge "Split the class table for each class loader"

* commit 'aac046772b6d0b8dd23f3296fd82b29ef35dca25':
  Split the class table for each class loader

9 years agoMerge "Split the class table for each class loader"
Mathieu Chartier [Tue, 28 Jul 2015 23:55:07 +0000 (23:55 +0000)]
Merge "Split the class table for each class loader"

9 years agoSplit the class table for each class loader
Mathieu Chartier [Mon, 27 Jul 2015 18:19:43 +0000 (11:19 -0700)]
Split the class table for each class loader

Each class loader now has its own class table. This makes it easier
to mark classes when a classloader is marked.

Fixed a bug in LookupClass where we used to look ignore the return
value of InsertClass.

Bug: 22720414

Change-Id: If2cd717989a20a6e245ebec24ad52dc47dd3207d

9 years agoam 3f680bea: Merge "Add read barrier support to the entrypoints."
Mathieu Chartier [Tue, 28 Jul 2015 23:18:45 +0000 (23:18 +0000)]
am 3f680bea: Merge "Add read barrier support to the entrypoints."

* commit '3f680bea4fe95b389f63046962c7a55e156945f6':
  Add read barrier support to the entrypoints.

9 years agoMerge "Add read barrier support to the entrypoints."
Mathieu Chartier [Tue, 28 Jul 2015 22:58:23 +0000 (22:58 +0000)]
Merge "Add read barrier support to the entrypoints."

9 years agoAdd read barrier support to the entrypoints.
Man Cao [Wed, 15 Jul 2015 05:31:42 +0000 (22:31 -0700)]
Add read barrier support to the entrypoints.

Also remove "THIS_LOAD_REQUIRES_READ_BARRIER" since reading
an ArtMethod* no longer needs read barrier.

stub_test should also work with read barriers now.

Change-Id: I3fba18042de2f867a18dbdc38519986212bd9769

9 years agoam 1a4d013b: Merge "Temporarily suppress TimeZoneTest.testAllDisplayNames."
Narayan Kamath [Tue, 28 Jul 2015 16:43:55 +0000 (16:43 +0000)]
am 1a4d013b: Merge "Temporarily suppress TimeZoneTest.testAllDisplayNames."

* commit '1a4d013b9f810f24bdca60c02da99f7650bcc367':
  Temporarily suppress TimeZoneTest.testAllDisplayNames.

9 years agoMerge "Temporarily suppress TimeZoneTest.testAllDisplayNames."
Narayan Kamath [Tue, 28 Jul 2015 16:31:12 +0000 (16:31 +0000)]
Merge "Temporarily suppress TimeZoneTest.testAllDisplayNames."

9 years agoTemporarily suppress TimeZoneTest.testAllDisplayNames.
Narayan Kamath [Tue, 28 Jul 2015 15:21:35 +0000 (16:21 +0100)]
Temporarily suppress TimeZoneTest.testAllDisplayNames.

bug: 22786792
Change-Id: Ib256928e8b8e2aac93e4001426613c5629728919

9 years agoam 59533510: Merge "ART: Print out hex for NewStringUTF failure"
Andreas Gampe [Tue, 28 Jul 2015 15:43:01 +0000 (15:43 +0000)]
am 59533510: Merge "ART: Print out hex for NewStringUTF failure"

* commit '595335100a947693b9af5fb6c0b5b3c1f0b91788':
  ART: Print out hex for NewStringUTF failure

9 years agoMerge "ART: Print out hex for NewStringUTF failure"
Andreas Gampe [Tue, 28 Jul 2015 15:30:36 +0000 (15:30 +0000)]
Merge "ART: Print out hex for NewStringUTF failure"

9 years agoRevert "Revert "Revert "Revert "Fixes and improvements in ReferenceTypePropagation""""
Calin Juravle [Tue, 28 Jul 2015 14:40:50 +0000 (14:40 +0000)]
Revert "Revert "Revert "Revert "Fixes and improvements in ReferenceTypePropagation""""

This reverts commit e344a8070d4549d513413c06767abf8a2c5e9709.

Change-Id: I400fab0e02ce3c11376cc1f3ae9c7cf2c82ffcc1

9 years agoam 6df1d46a: Merge "Revert "Revert "Revert "Fixes and improvements in ReferenceTypePr...
Calin Juravle [Tue, 28 Jul 2015 12:05:19 +0000 (12:05 +0000)]
am 6df1d46a: Merge "Revert "Revert "Revert "Fixes and improvements in ReferenceTypePropagation""""

* commit '6df1d46a5d0d4d8f90ee94921657f5bd1420301e':
  Revert "Revert "Revert "Fixes and improvements in ReferenceTypePropagation"""

9 years agoam 431403ad: Merge "Revert "Revert "Revert "Use the object class as top in reference...
Calin Juravle [Tue, 28 Jul 2015 12:05:18 +0000 (12:05 +0000)]
am 431403ad: Merge "Revert "Revert "Revert "Use the object class as top in reference type propagation""""

* commit '431403ad1f65da63de9e20ba7d89c3ea5f4b1272':
  Revert "Revert "Revert "Use the object class as top in reference type propagation"""

9 years agoMerge "Revert "Revert "Revert "Fixes and improvements in ReferenceTypePropagation""""
Calin Juravle [Tue, 28 Jul 2015 11:54:11 +0000 (11:54 +0000)]
Merge "Revert "Revert "Revert "Fixes and improvements in ReferenceTypePropagation""""

9 years agoMerge "Revert "Revert "Revert "Use the object class as top in reference type propagat...
Calin Juravle [Tue, 28 Jul 2015 11:53:36 +0000 (11:53 +0000)]
Merge "Revert "Revert "Revert "Use the object class as top in reference type propagation""""

9 years agoRevert "Revert "Revert "Fixes and improvements in ReferenceTypePropagation"""
Calin Juravle [Tue, 28 Jul 2015 11:52:23 +0000 (11:52 +0000)]
Revert "Revert "Revert "Fixes and improvements in ReferenceTypePropagation"""

This reverts commit 00e3b38be4b280d6d7a7e843cd336ffbd2ba4365.

Change-Id: I4dbadb2d7312a410f1c56283f063dd82156cf702

9 years agoRevert "Revert "Revert "Use the object class as top in reference type propagation"""
Calin Juravle [Tue, 28 Jul 2015 11:52:02 +0000 (11:52 +0000)]
Revert "Revert "Revert "Use the object class as top in reference type propagation"""

This reverts commit 80caa1478cf3df4eac1214d8a63a4da6f4fe622b.

Change-Id: I63b51ca418b19b2bfb5ede3f8444f8fbeb8a339d

9 years agoam 48215e2e: Merge "Revert "Revert "Use the object class as top in reference type...
Calin Juravle [Tue, 28 Jul 2015 10:54:52 +0000 (10:54 +0000)]
am 48215e2e: Merge "Revert "Revert "Use the object class as top in reference type propagation"""

* commit '48215e2e9b519682555d33fe695e894d601d7647':
  Revert "Revert "Use the object class as top in reference type propagation""

9 years agoam 5716a1f0: Merge "Revert "Revert "Fixes and improvements in ReferenceTypePropagation"""
Calin Juravle [Tue, 28 Jul 2015 10:54:51 +0000 (10:54 +0000)]
am 5716a1f0: Merge "Revert "Revert "Fixes and improvements in ReferenceTypePropagation"""

* commit '5716a1f07380eb3d6e6a47b6589bcfe78b93be0f':
  Revert "Revert "Fixes and improvements in ReferenceTypePropagation""

9 years agoMerge "Revert "Revert "Use the object class as top in reference type propagation"""
Calin Juravle [Tue, 28 Jul 2015 10:44:36 +0000 (10:44 +0000)]
Merge "Revert "Revert "Use the object class as top in reference type propagation"""

9 years agoMerge "Revert "Revert "Fixes and improvements in ReferenceTypePropagation"""
Calin Juravle [Tue, 28 Jul 2015 10:44:27 +0000 (10:44 +0000)]
Merge "Revert "Revert "Fixes and improvements in ReferenceTypePropagation"""

9 years agoam 9af8d8dd: Merge "Added repe_cmpsw instruction to x86, x86_64 assemblers"
Roland Levillain [Tue, 28 Jul 2015 10:19:00 +0000 (10:19 +0000)]
am 9af8d8dd: Merge "Added repe_cmpsw instruction to x86, x86_64 assemblers"

* commit '9af8d8dd02d7fb4902cda5167217b8687fe3f86a':
  Added repe_cmpsw instruction to x86, x86_64 assemblers

9 years agoMerge "Added repe_cmpsw instruction to x86, x86_64 assemblers"
Roland Levillain [Tue, 28 Jul 2015 10:11:04 +0000 (10:11 +0000)]
Merge "Added repe_cmpsw instruction to x86, x86_64 assemblers"

9 years agoART: Relax IsInstantiable check
Andreas Gampe [Tue, 28 Jul 2015 04:41:49 +0000 (21:41 -0700)]
ART: Relax IsInstantiable check

Relax the IsInstantiable check when converting an uninitialized
reference type. This is a double protection that leads to wrong
behavior as it may trigger an incorrect hard failure.

Bug: 22777307
Change-Id: Ie555b175f78876647fef083369d40bfe3fd7b69a

9 years agoART: Print out hex for NewStringUTF failure
Andreas Gampe [Tue, 28 Jul 2015 04:03:25 +0000 (21:03 -0700)]
ART: Print out hex for NewStringUTF failure

Print out the input data as a hex stream in case of a NewStringUTF
input format failure.

Bug: 22773761
Change-Id: I99a275bebb89564b2d71f297c7f5b9543cf4312d

9 years agoam 73961d95: Merge "Add remembered set functionality for native roots"
Mathieu Chartier [Mon, 27 Jul 2015 23:26:50 +0000 (23:26 +0000)]
am 73961d95: Merge "Add remembered set functionality for native roots"

* commit '73961d95f2bfa9d0fbc8980cdd4aef8aeed84e1d':
  Add remembered set functionality for native roots

9 years agoam 6e67b579: Merge "Bugfix: Java char is 16 bits, can not be treated as boolean."
Mathieu Chartier [Mon, 27 Jul 2015 23:26:48 +0000 (23:26 +0000)]
am 6e67b579: Merge "Bugfix: Java char is 16 bits, can not be treated as boolean."

* commit '6e67b5797f7c57281faa72dab08319d0ced7302e':
  Bugfix: Java char is 16 bits, can not be treated as boolean.

9 years agoMerge "Add remembered set functionality for native roots"
Mathieu Chartier [Mon, 27 Jul 2015 23:19:31 +0000 (23:19 +0000)]
Merge "Add remembered set functionality for native roots"

9 years agoAdd remembered set functionality for native roots
Mathieu Chartier [Mon, 27 Jul 2015 23:08:02 +0000 (16:08 -0700)]
Add remembered set functionality for native roots

Fixes GSS tests. The issue was that there could be classes which had
native roots in the target space which we need to mark and update.

Change-Id: I33e628d40bcb74f768492f740f8f084077d80edf

9 years agoMerge "Bugfix: Java char is 16 bits, can not be treated as boolean."
Mathieu Chartier [Mon, 27 Jul 2015 23:15:59 +0000 (23:15 +0000)]
Merge "Bugfix: Java char is 16 bits, can not be treated as boolean."

9 years agoBugfix: Java char is 16 bits, can not be treated as boolean.
Fredrik Roubert [Mon, 27 Jul 2015 22:14:08 +0000 (00:14 +0200)]
Bugfix: Java char is 16 bits, can not be treated as boolean.

Using SetFieldBooleanVolatile() and SetFieldBoolean() happens to work
for char values that only use the lower 8 bits, but is a mistake that
was introduced by the "Add AccessibleObject and Field to mirror" commit:

https://android.googlesource.com/platform/art/+/daaf326

Change-Id: Iec02ba3084c992ea239ecef688d7d29c7e21ae16

9 years agoAdded repe_cmpsw instruction to x86, x86_64 assemblers
agicsaki [Mon, 27 Jul 2015 18:34:13 +0000 (11:34 -0700)]
Added repe_cmpsw instruction to x86, x86_64 assemblers

Change-Id: I7634959eebb64d607f47497db320d5c2afdef16b

9 years agoam 41bad0ef: Merge "HDeoptimize should hold values live in env."
Mingyao Yang [Mon, 27 Jul 2015 20:33:16 +0000 (20:33 +0000)]
am 41bad0ef: Merge "HDeoptimize should hold values live in env."

* commit '41bad0ef883c96cd9befa1b9be5ac1a6cdf282fd':
  HDeoptimize should hold values live in env.

9 years agoam 9578d10b: Merge "Add checker ability to 525-arrays-and-fields tests."
Aart Bik [Mon, 27 Jul 2015 20:33:14 +0000 (20:33 +0000)]
am 9578d10b: Merge "Add checker ability to 525-arrays-and-fields tests."

* commit '9578d10b5866bfab63cc4218ec5ab3f6dd10c8ce':
  Add checker ability to 525-arrays-and-fields tests.

9 years agoMerge "HDeoptimize should hold values live in env."
Mingyao Yang [Mon, 27 Jul 2015 20:20:01 +0000 (20:20 +0000)]
Merge "HDeoptimize should hold values live in env."

9 years agoRevert "Revert "Use the object class as top in reference type propagation""
Calin Juravle [Thu, 16 Jul 2015 15:51:30 +0000 (16:51 +0100)]
Revert "Revert "Use the object class as top in reference type propagation""

This reverts commit 7733bd644ac71f86d4b30a319624b23343882e53.

Change-Id: I7d393a808c01c084c18d632a54e0554b4b455f2c

9 years agoRevert "Revert "Fixes and improvements in ReferenceTypePropagation""
Calin Juravle [Wed, 15 Jul 2015 13:41:29 +0000 (14:41 +0100)]
Revert "Revert "Fixes and improvements in ReferenceTypePropagation""

This reverts commit 9b0096ba77e7e61bc2dcbbf954831dcae54a6c27.

Change-Id: I824f16e800ca32e646577d5e1e0d593887ccead1

9 years agoHDeoptimize should hold values live in env.
Mingyao Yang [Wed, 22 Jul 2015 22:56:34 +0000 (15:56 -0700)]
HDeoptimize should hold values live in env.

Values that are not live in compiled code anymore may still be needed in
interpreter, due to code motion, etc.

Bug: 22665511
Change-Id: I8b85833c5c462f8fe36f86d6026a51b07563995a

9 years agoMerge "Add checker ability to 525-arrays-and-fields tests."
Aart Bik [Mon, 27 Jul 2015 16:34:39 +0000 (16:34 +0000)]
Merge "Add checker ability to 525-arrays-and-fields tests."

9 years agoam 35dfc983: Merge "Exercise constant folding of int & long mul, div and rem."
Roland Levillain [Mon, 27 Jul 2015 15:42:49 +0000 (15:42 +0000)]
am 35dfc983: Merge "Exercise constant folding of int & long mul, div and rem."

* commit '35dfc983581b28e1b5db8061f7d1940e878d3f1a':
  Exercise constant folding of int & long mul, div and rem.

9 years agoam 87bada67: Merge "Cosmetic changes in ART run-tests."
Roland Levillain [Mon, 27 Jul 2015 15:42:47 +0000 (15:42 +0000)]
am 87bada67: Merge "Cosmetic changes in ART run-tests."

* commit '87bada67022b877273e7aaf09546af7aa35238ff':
  Cosmetic changes in ART run-tests.

9 years agoam ee1e8987: Merge "Fix & add Checker assertions in 442-checker-constant-folding."
Roland Levillain [Mon, 27 Jul 2015 15:42:45 +0000 (15:42 +0000)]
am ee1e8987: Merge "Fix & add Checker assertions in 442-checker-constant-folding."

* commit 'ee1e8987a862b9c1ae1533c04162e42dbf23b964':
  Fix & add Checker assertions in 442-checker-constant-folding.

9 years agoMerge "Exercise constant folding of int & long mul, div and rem."
Roland Levillain [Mon, 27 Jul 2015 15:31:51 +0000 (15:31 +0000)]
Merge "Exercise constant folding of int & long mul, div and rem."

9 years agoMerge "Cosmetic changes in ART run-tests."
Roland Levillain [Mon, 27 Jul 2015 15:29:58 +0000 (15:29 +0000)]
Merge "Cosmetic changes in ART run-tests."

9 years agoMerge "Fix & add Checker assertions in 442-checker-constant-folding."
Roland Levillain [Mon, 27 Jul 2015 15:28:20 +0000 (15:28 +0000)]
Merge "Fix & add Checker assertions in 442-checker-constant-folding."

9 years agoExercise constant folding of int & long mul, div and rem.
Roland Levillain [Wed, 22 Jul 2015 13:12:01 +0000 (14:12 +0100)]
Exercise constant folding of int & long mul, div and rem.

Change-Id: Ic70b56dbcb4a660a4c8ca04f7b2b5201ad29952a

9 years agoCosmetic changes in ART run-tests.
Roland Levillain [Thu, 23 Jul 2015 11:15:01 +0000 (12:15 +0100)]
Cosmetic changes in ART run-tests.

Perform a copyright headers clean up mostly.

Change-Id: I26c855b2f54d0887676d9b9b8281b14b7978ab29

9 years agoFix & add Checker assertions in 442-checker-constant-folding.
Roland Levillain [Thu, 23 Jul 2015 11:11:42 +0000 (12:11 +0100)]
Fix & add Checker assertions in 442-checker-constant-folding.

Change-Id: Id4165b14816c04961d5c274f24861d0e7856d95e

9 years agoam 0fae2f58: Merge "Enable art host static builds only for checkbuilds."
Calin Juravle [Mon, 27 Jul 2015 10:49:11 +0000 (10:49 +0000)]
am 0fae2f58: Merge "Enable art host static builds only for checkbuilds."

* commit '0fae2f5851dd79c4100134a92f997b2e7a520083':
  Enable art host static builds only for checkbuilds.

9 years agoMerge "Enable art host static builds only for checkbuilds."
Calin Juravle [Mon, 27 Jul 2015 10:39:13 +0000 (10:39 +0000)]
Merge "Enable art host static builds only for checkbuilds."

9 years agoam 939e702b: Merge "ART: Abbreviate interpreter-access-checks"
Andreas Gampe [Sun, 26 Jul 2015 17:43:01 +0000 (17:43 +0000)]
am 939e702b: Merge "ART: Abbreviate interpreter-access-checks"

* commit '939e702be62b059250f0e810f6bdd299186a08a0':
  ART: Abbreviate interpreter-access-checks