OSDN Git Service

android-x86/art.git
9 years agoam dcb4495c: am 9ba69ece: Merge "ART: Use Valgrind from tree"
Andreas Gampe [Fri, 20 Feb 2015 17:02:46 +0000 (17:02 +0000)]
am dcb4495c: am 9ba69ece: Merge "ART: Use Valgrind from tree"

* commit 'dcb4495cfe41d1d083d3342981c4f923ddfec6a6':
  ART: Use Valgrind from tree

9 years agoam e1679dfe: am 5ea203d8: Merge "ART: Silence some run-test configurations"
Andreas Gampe [Fri, 20 Feb 2015 17:02:45 +0000 (17:02 +0000)]
am e1679dfe: am 5ea203d8: Merge "ART: Silence some run-test configurations"

* commit 'e1679dfe68222c3f957a2c574aef708c4d921f65':
  ART: Silence some run-test configurations

9 years agoam 9ba69ece: Merge "ART: Use Valgrind from tree"
Andreas Gampe [Fri, 20 Feb 2015 16:55:54 +0000 (16:55 +0000)]
am 9ba69ece: Merge "ART: Use Valgrind from tree"

* commit '9ba69ece769ae8deab2e40d3a5ee0dce208a82c2':
  ART: Use Valgrind from tree

9 years agoam 5ea203d8: Merge "ART: Silence some run-test configurations"
Andreas Gampe [Fri, 20 Feb 2015 16:55:53 +0000 (16:55 +0000)]
am 5ea203d8: Merge "ART: Silence some run-test configurations"

* commit '5ea203d88f5415aaeab345f967f206eea448d74e':
  ART: Silence some run-test configurations

9 years agoMerge "ART: Use Valgrind from tree"
Andreas Gampe [Fri, 20 Feb 2015 16:52:16 +0000 (16:52 +0000)]
Merge "ART: Use Valgrind from tree"

9 years agoMerge "ART: Silence some run-test configurations"
Andreas Gampe [Fri, 20 Feb 2015 16:51:38 +0000 (16:51 +0000)]
Merge "ART: Silence some run-test configurations"

9 years agoART: Silence some run-test configurations
Andreas Gampe [Thu, 19 Feb 2015 23:10:24 +0000 (15:10 -0800)]
ART: Silence some run-test configurations

Run-tests running with a failing dex2oat or patchoat are expected
to print error lines of the failure. In this case set the log-level
to FATAL-only, as stripping those errors is overly complicated.

Bug: 18713034
Change-Id: If9c5f50b517b5e906dd0be841ebc1e7987cac928

9 years agoam c17b6dcf: am ba6d9438: Merge "Fix core spill mask for x86 special suspend."
Vladimir Marko [Fri, 20 Feb 2015 16:07:04 +0000 (16:07 +0000)]
am c17b6dcf: am ba6d9438: Merge "Fix core spill mask for x86 special suspend."

* commit 'c17b6dcfdf31b495df95e49285fecc8c98c1c46e':
  Fix core spill mask for x86 special suspend.

9 years agoam ba6d9438: Merge "Fix core spill mask for x86 special suspend."
Vladimir Marko [Fri, 20 Feb 2015 16:03:47 +0000 (16:03 +0000)]
am ba6d9438: Merge "Fix core spill mask for x86 special suspend."

* commit 'ba6d943827e6df52316a843468691de264ab4aa5':
  Fix core spill mask for x86 special suspend.

9 years agoMerge "Fix core spill mask for x86 special suspend."
Vladimir Marko [Fri, 20 Feb 2015 15:57:49 +0000 (15:57 +0000)]
Merge "Fix core spill mask for x86 special suspend."

9 years agoFix core spill mask for x86 special suspend.
Vladimir Marko [Fri, 20 Feb 2015 14:53:53 +0000 (14:53 +0000)]
Fix core spill mask for x86 special suspend.

Bug: 19445246
Change-Id: I7dd734e64a4bfa5980fa1be9903e3fd0c2be3749

9 years agoam 1ab8b040: am 36fb59b1: Merge "Improve type propagation with if-contexts"
Calin Juravle [Fri, 20 Feb 2015 14:38:48 +0000 (14:38 +0000)]
am 1ab8b040: am 36fb59b1: Merge "Improve type propagation with if-contexts"

* commit '1ab8b040b496cc626d334e9a9c68067ce553ce84':
  Improve type propagation with if-contexts

9 years agoam 36fb59b1: Merge "Improve type propagation with if-contexts"
Calin Juravle [Fri, 20 Feb 2015 14:32:28 +0000 (14:32 +0000)]
am 36fb59b1: Merge "Improve type propagation with if-contexts"

* commit '36fb59b15fbca20c22e9daf2943fcfeebc97848f':
  Improve type propagation with if-contexts

9 years agoMerge "Improve type propagation with if-contexts"
Calin Juravle [Fri, 20 Feb 2015 14:27:00 +0000 (14:27 +0000)]
Merge "Improve type propagation with if-contexts"

9 years agoImprove type propagation with if-contexts
Calin Juravle [Mon, 16 Feb 2015 13:13:29 +0000 (13:13 +0000)]
Improve type propagation with if-contexts

This works by adding a new instruction (HBoundType) after each `if (a
instanceof ClassA) {}` to bound the type that `a` can take in the True-
dominated blocks.

Change-Id: Iae6a150b353486d4509b0d9b092164675732b90c

9 years agoam e8db84e9: am 1382e569: Merge "Opt compiler: ARM64: Optimise floating-point compari...
Roland Levillain [Fri, 20 Feb 2015 11:32:29 +0000 (11:32 +0000)]
am e8db84e9: am 1382e569: Merge "Opt compiler: ARM64: Optimise floating-point comparison with 0.0."

* commit 'e8db84e9a89d67cd79bbe1188dd45546ce666147':
  Opt compiler: ARM64: Optimise floating-point comparison with 0.0.

9 years agoam 1382e569: Merge "Opt compiler: ARM64: Optimise floating-point comparison with...
Roland Levillain [Fri, 20 Feb 2015 11:26:01 +0000 (11:26 +0000)]
am 1382e569: Merge "Opt compiler: ARM64: Optimise floating-point comparison with 0.0."

* commit '1382e569b31f4fab61fcfca5aa93275a2a3cb757':
  Opt compiler: ARM64: Optimise floating-point comparison with 0.0.

9 years agoMerge "Opt compiler: ARM64: Optimise floating-point comparison with 0.0."
Roland Levillain [Fri, 20 Feb 2015 11:21:28 +0000 (11:21 +0000)]
Merge "Opt compiler: ARM64: Optimise floating-point comparison with 0.0."

9 years agoam 6dc24132: am 4fe292e2: Merge "Reference type propagation"
Calin Juravle [Fri, 20 Feb 2015 10:51:20 +0000 (10:51 +0000)]
am 6dc24132: am 4fe292e2: Merge "Reference type propagation"

* commit '6dc24132d90368ddb64c458912c65530bcc72847':
  Reference type propagation

9 years agoam 4fe292e2: Merge "Reference type propagation"
Calin Juravle [Fri, 20 Feb 2015 10:45:18 +0000 (10:45 +0000)]
am 4fe292e2: Merge "Reference type propagation"

* commit '4fe292e2b6ba3980605373f183055a374084c65b':
  Reference type propagation

9 years agoMerge "Reference type propagation"
Calin Juravle [Fri, 20 Feb 2015 10:40:50 +0000 (10:40 +0000)]
Merge "Reference type propagation"

9 years agoam 759b47fd: am 76f82fc7: Merge "Display optimizing compiler\'s CodeInfo objects...
Roland Levillain [Fri, 20 Feb 2015 10:38:49 +0000 (10:38 +0000)]
am 759b47fd: am 76f82fc7: Merge "Display optimizing compiler\'s CodeInfo objects in oatdump."

* commit '759b47fdc4f758929d2bcce813ba411f6d04f88a':
  Display optimizing compiler's CodeInfo objects in oatdump.

9 years agoam 76f82fc7: Merge "Display optimizing compiler\'s CodeInfo objects in oatdump."
Roland Levillain [Fri, 20 Feb 2015 10:32:45 +0000 (10:32 +0000)]
am 76f82fc7: Merge "Display optimizing compiler\'s CodeInfo objects in oatdump."

* commit '76f82fc75f245101828e2fdbbdec676af1717f0b':
  Display optimizing compiler's CodeInfo objects in oatdump.

9 years agoMerge "Display optimizing compiler's CodeInfo objects in oatdump."
Roland Levillain [Fri, 20 Feb 2015 10:27:12 +0000 (10:27 +0000)]
Merge "Display optimizing compiler's CodeInfo objects in oatdump."

9 years agoART: Use Valgrind from tree
Andreas Gampe [Thu, 19 Feb 2015 18:02:19 +0000 (10:02 -0800)]
ART: Use Valgrind from tree

Change-Id: I3e70c37cc04e0a2286e6fece898fcf887273b28c

9 years agoam 5f6b11af: am e90ccca8: Merge "ART: Do not read from JavaVMExt* after DestroyJavaVM"
Andreas Gampe [Fri, 20 Feb 2015 00:23:42 +0000 (00:23 +0000)]
am 5f6b11af: am e90ccca8: Merge "ART: Do not read from JavaVMExt* after DestroyJavaVM"

* commit '5f6b11afb711f45a7f60f95f8ee9e68493c6a4d4':
  ART: Do not read from JavaVMExt* after DestroyJavaVM

9 years agoam f66e7f2f: am 42ad4902: Merge "Do GC for alloc for unstarted runtimes"
Mathieu Chartier [Fri, 20 Feb 2015 00:23:41 +0000 (00:23 +0000)]
am f66e7f2f: am 42ad4902: Merge "Do GC for alloc for unstarted runtimes"

* commit 'f66e7f2fbd1a50dd7f0a1b44048d6aa4059caca1':
  Do GC for alloc for unstarted runtimes

9 years agoam 4a1512a1: am 71885932: Merge "ART: Check image size when opening"
Andreas Gampe [Fri, 20 Feb 2015 00:23:40 +0000 (00:23 +0000)]
am 4a1512a1: am 71885932: Merge "ART: Check image size when opening"

* commit '4a1512a1f47ba3384f64ed870f6c8c1967f3c444':
  ART: Check image size when opening

9 years agoam 92a4a93d: Merge commit \'dbbc5d92db2cd795439bb4a08aaa2b123da430c6\' into HEAD
Bill Yi [Fri, 20 Feb 2015 00:22:47 +0000 (00:22 +0000)]
am 92a4a93d: Merge commit \'dbbc5d92db2cd795439bb4a08aaa2b123da430c6\' into HEAD

* commit '92a4a93d9bf8685d09f5b89030e6e1a7547acc16':

9 years agoam e90ccca8: Merge "ART: Do not read from JavaVMExt* after DestroyJavaVM"
Andreas Gampe [Fri, 20 Feb 2015 00:01:54 +0000 (00:01 +0000)]
am e90ccca8: Merge "ART: Do not read from JavaVMExt* after DestroyJavaVM"

* commit 'e90ccca801a3b7bda094ee0cc145fc62afd8d718':
  ART: Do not read from JavaVMExt* after DestroyJavaVM

9 years agoMerge "ART: Do not read from JavaVMExt* after DestroyJavaVM"
Andreas Gampe [Thu, 19 Feb 2015 23:24:05 +0000 (23:24 +0000)]
Merge "ART: Do not read from JavaVMExt* after DestroyJavaVM"

9 years agoART: Do not read from JavaVMExt* after DestroyJavaVM
Andreas Gampe [Thu, 19 Feb 2015 23:19:50 +0000 (15:19 -0800)]
ART: Do not read from JavaVMExt* after DestroyJavaVM

DestroyJavaVM deletes the structure.

Change-Id: Ida5fb98a47b1ebf0df7d54506e2fec8958fc105b

9 years agoam 42ad4902: Merge "Do GC for alloc for unstarted runtimes"
Mathieu Chartier [Thu, 19 Feb 2015 23:12:32 +0000 (23:12 +0000)]
am 42ad4902: Merge "Do GC for alloc for unstarted runtimes"

* commit '42ad490249be898efa1b1196d4ecdbe2cfc3e77b':
  Do GC for alloc for unstarted runtimes

9 years agoam 71885932: Merge "ART: Check image size when opening"
Andreas Gampe [Thu, 19 Feb 2015 23:11:39 +0000 (23:11 +0000)]
am 71885932: Merge "ART: Check image size when opening"

* commit '718859325c773e144bddac4281a1cc63c5e9fcde':
  ART: Check image size when opening

9 years agoMerge "Do GC for alloc for unstarted runtimes"
Mathieu Chartier [Thu, 19 Feb 2015 22:45:16 +0000 (22:45 +0000)]
Merge "Do GC for alloc for unstarted runtimes"

9 years agoMerge commit 'dbbc5d92db2cd795439bb4a08aaa2b123da430c6' into HEAD
Bill Yi [Thu, 19 Feb 2015 22:30:24 +0000 (14:30 -0800)]
Merge commit 'dbbc5d92db2cd795439bb4a08aaa2b123da430c6' into HEAD

9 years agoMerge "ART: Check image size when opening"
Andreas Gampe [Thu, 19 Feb 2015 22:28:39 +0000 (22:28 +0000)]
Merge "ART: Check image size when opening"

9 years agoART: Check image size when opening
Andreas Gampe [Thu, 19 Feb 2015 19:42:36 +0000 (11:42 -0800)]
ART: Check image size when opening

The image file might have been truncated. In that case, reject
loading the image space.

Bug: 19398702
Change-Id: I8e46340fe1e05629704d6e3bae84caf8b0435125

9 years agoDo GC for alloc for unstarted runtimes
Mathieu Chartier [Tue, 16 Dec 2014 18:35:19 +0000 (10:35 -0800)]
Do GC for alloc for unstarted runtimes

Currently, concurrent GC requests are ignored for unstarted runtimes.
The new logic is to do a GC for alloc in RequestConcurrentGC if the
runtime is not started. This reduces the java heap size in dex2oat.

Change-Id: I8d4364a4e3537013b27390bb22a6f64aab58c924

9 years agoam 96ab06e0: am 6aa7fe62: Merge "Replace a few std::vector with ArenaVector in Mir2Lir."
Vladimir Marko [Thu, 19 Feb 2015 19:16:45 +0000 (19:16 +0000)]
am 96ab06e0: am 6aa7fe62: Merge "Replace a few std::vector with ArenaVector in Mir2Lir."

* commit '96ab06e00120e4b53b39a952b24bda68ec78e776':
  Replace a few std::vector with ArenaVector in Mir2Lir.

9 years agoam 6aa7fe62: Merge "Replace a few std::vector with ArenaVector in Mir2Lir."
Vladimir Marko [Thu, 19 Feb 2015 19:10:33 +0000 (19:10 +0000)]
am 6aa7fe62: Merge "Replace a few std::vector with ArenaVector in Mir2Lir."

* commit '6aa7fe620a95b4404a4fed451e46ebf0cdd66204':
  Replace a few std::vector with ArenaVector in Mir2Lir.

9 years agoam 1ce96ae5: am 04c1acf4: Merge "ART: Make error messages for StackOverflow WARNINGs"
Andreas Gampe [Thu, 19 Feb 2015 19:09:21 +0000 (19:09 +0000)]
am 1ce96ae5: am 04c1acf4: Merge "ART: Make error messages for StackOverflow WARNINGs"

* commit '1ce96ae5a3d95df6bab262648f6014a6a70eb133':
  ART: Make error messages for StackOverflow WARNINGs

9 years agoam 04c1acf4: Merge "ART: Make error messages for StackOverflow WARNINGs"
Andreas Gampe [Thu, 19 Feb 2015 19:03:58 +0000 (19:03 +0000)]
am 04c1acf4: Merge "ART: Make error messages for StackOverflow WARNINGs"

* commit '04c1acf428d5a35948be06a6ae857abb7b32dc6f':
  ART: Make error messages for StackOverflow WARNINGs

9 years agoMerge "Replace a few std::vector with ArenaVector in Mir2Lir."
Vladimir Marko [Thu, 19 Feb 2015 19:03:44 +0000 (19:03 +0000)]
Merge "Replace a few std::vector with ArenaVector in Mir2Lir."

9 years agoMerge "ART: Make error messages for StackOverflow WARNINGs"
Andreas Gampe [Thu, 19 Feb 2015 18:57:47 +0000 (18:57 +0000)]
Merge "ART: Make error messages for StackOverflow WARNINGs"

9 years agoART: Make error messages for StackOverflow WARNINGs
Andreas Gampe [Thu, 19 Feb 2015 18:54:31 +0000 (10:54 -0800)]
ART: Make error messages for StackOverflow WARNINGs

Log error messages as LOG(WARNING). We'll throw either a (partial)
StackOverflow or OutOfMemoryError anyways.

Bug: 18713034
Change-Id: If51c0d6745b02f5ecb98b1387f8bde1e2e57e0c0

9 years agoam ff6dc02a: am 3f43b5f4: Merge "ART: Ensure order of field gaps"
Andreas Gampe [Thu, 19 Feb 2015 18:50:46 +0000 (18:50 +0000)]
am ff6dc02a: am 3f43b5f4: Merge "ART: Ensure order of field gaps"

* commit 'ff6dc02aad7a56ef6c7d7eadcebe9b8ecd01fcbd':
  ART: Ensure order of field gaps

9 years agoam 3f43b5f4: Merge "ART: Ensure order of field gaps"
Andreas Gampe [Thu, 19 Feb 2015 18:43:48 +0000 (18:43 +0000)]
am 3f43b5f4: Merge "ART: Ensure order of field gaps"

* commit '3f43b5f4881db5a1f7bd13a095f720b7c1ddba6a':
  ART: Ensure order of field gaps

9 years agoMerge "ART: Ensure order of field gaps"
Andreas Gampe [Thu, 19 Feb 2015 18:36:59 +0000 (18:36 +0000)]
Merge "ART: Ensure order of field gaps"

9 years agoam e7518150: am 6561551f: Merge "Move arenas into runtime"
Mathieu Chartier [Thu, 19 Feb 2015 18:07:19 +0000 (18:07 +0000)]
am e7518150: am 6561551f: Merge "Move arenas into runtime"

* commit 'e7518150679f5c7fe3315839ad125ef1d0e00c6b':
  Move arenas into runtime

9 years agoART: Ensure order of field gaps
Andreas Gampe [Wed, 18 Feb 2015 23:38:57 +0000 (15:38 -0800)]
ART: Ensure order of field gaps

Disambiguate field gaps of same size by starting offset. That will
make the priority queue stable.

Bug: 19413180
Change-Id: I6302a8bbdc590af7e9ec4f332c386c375fa8d8cd

9 years agoam 6561551f: Merge "Move arenas into runtime"
Mathieu Chartier [Thu, 19 Feb 2015 18:03:56 +0000 (18:03 +0000)]
am 6561551f: Merge "Move arenas into runtime"

* commit '6561551f094f79ce569160b29131b07be7aa3363':
  Move arenas into runtime

9 years agoReplace a few std::vector with ArenaVector in Mir2Lir.
Vladimir Marko [Thu, 19 Feb 2015 15:50:28 +0000 (15:50 +0000)]
Replace a few std::vector with ArenaVector in Mir2Lir.

Change-Id: I7867d60afc60f57cdbbfd312f02883854d65c805

9 years agoMerge "Move arenas into runtime"
Mathieu Chartier [Thu, 19 Feb 2015 18:00:29 +0000 (18:00 +0000)]
Merge "Move arenas into runtime"

9 years agoMove arenas into runtime
Mathieu Chartier [Wed, 18 Feb 2015 22:33:14 +0000 (14:33 -0800)]
Move arenas into runtime

Moved arena pool into the runtime.

Motivation:
Allow GC to use arena allocators, recycle arena pool for linear alloc.

Bug: 19264997
Change-Id: I8ddbb6d55ee923a980b28fb656c758c5d7697c2f

9 years agoam 5ec3cda1: am 8fb13085: Merge "Add suspend checks to special methods."
Vladimir Marko [Thu, 19 Feb 2015 17:54:45 +0000 (17:54 +0000)]
am 5ec3cda1: am 8fb13085: Merge "Add suspend checks to special methods."

* commit '5ec3cda158064a2fdec563d3c185d1fd6f95b3a3':
  Add suspend checks to special methods.

9 years agoam 8fb13085: Merge "Add suspend checks to special methods."
Vladimir Marko [Thu, 19 Feb 2015 17:49:08 +0000 (17:49 +0000)]
am 8fb13085: Merge "Add suspend checks to special methods."

* commit '8fb1308578cfea07ebe6c55312821480c9cc1e80':
  Add suspend checks to special methods.

9 years agoMerge "Add suspend checks to special methods."
Vladimir Marko [Thu, 19 Feb 2015 17:42:06 +0000 (17:42 +0000)]
Merge "Add suspend checks to special methods."

9 years agoAdd suspend checks to special methods.
Vladimir Marko [Mon, 16 Feb 2015 13:05:59 +0000 (13:05 +0000)]
Add suspend checks to special methods.

Generate suspend checks at the beginning of special methods.
If we need to call to runtime, go to the slow path where we
create a simplified but valid frame, spill all arguments,
call art_quick_test_suspend, restore necessary arguments and
return back to the fast path. This keeps the fast path
overhead to a minimum.

Bug: 19245639
Change-Id: I3de5aee783943941322a49c4cf2c4c94411dbaa2

9 years agoReference type propagation
Calin Juravle [Thu, 12 Feb 2015 15:25:22 +0000 (15:25 +0000)]
Reference type propagation

- propagate reference types between instructions
- remove checked casts when possible
- add StackHandleScopeCollection to manage an arbitrary number of stack
handles (see comments)

Change-Id: I31200067c5e7375a5ea8e2f873c4374ebdb5ee60

9 years agoam bd57a340: am 39109a06: Merge "Ensure the graph is correctly typed."
Nicolas Geoffray [Thu, 19 Feb 2015 14:10:43 +0000 (14:10 +0000)]
am bd57a340: am 39109a06: Merge "Ensure the graph is correctly typed."

* commit 'bd57a340040be90888e1645377db7536f0b2d6f0':
  Ensure the graph is correctly typed.

9 years agoam 39109a06: Merge "Ensure the graph is correctly typed."
Nicolas Geoffray [Thu, 19 Feb 2015 14:05:30 +0000 (14:05 +0000)]
am 39109a06: Merge "Ensure the graph is correctly typed."

* commit '39109a06015c91188232e59fa9e60e0915d24cd7':
  Ensure the graph is correctly typed.

9 years agoMerge "Ensure the graph is correctly typed."
Nicolas Geoffray [Thu, 19 Feb 2015 14:01:59 +0000 (14:01 +0000)]
Merge "Ensure the graph is correctly typed."

9 years agoEnsure the graph is correctly typed.
Nicolas Geoffray [Wed, 18 Feb 2015 14:48:53 +0000 (14:48 +0000)]
Ensure the graph is correctly typed.

We used to be forgiving because of HIntConstant(0) also being
used for null. We now create a special HNullConstant for such uses.

Also, we need to run the dead phi elimination twice during ssa
building to ensure the correctness.

Change-Id: If479efa3680d3358800aebb1cca692fa2d94f6e5

9 years agoam 3a14c8b0: am 92095533: Merge "Have the opt. compiler set the size of "empty" frame...
Roland Levillain [Thu, 19 Feb 2015 12:23:22 +0000 (12:23 +0000)]
am 3a14c8b0: am 92095533: Merge "Have the opt. compiler set the size of "empty" frames to zero."

* commit '3a14c8b0c05b0597099f3ae9818df9afa1fd7771':
  Have the opt. compiler set the size of "empty" frames to zero.

9 years agoam 92095533: Merge "Have the opt. compiler set the size of "empty" frames to zero."
Roland Levillain [Thu, 19 Feb 2015 12:20:04 +0000 (12:20 +0000)]
am 92095533: Merge "Have the opt. compiler set the size of "empty" frames to zero."

* commit '92095533ac28879ddd8b44b559d700527ca12b8a':
  Have the opt. compiler set the size of "empty" frames to zero.

9 years agoMerge "Have the opt. compiler set the size of "empty" frames to zero."
Roland Levillain [Thu, 19 Feb 2015 12:15:55 +0000 (12:15 +0000)]
Merge "Have the opt. compiler set the size of "empty" frames to zero."

9 years agoDisplay optimizing compiler's CodeInfo objects in oatdump.
Roland Levillain [Wed, 18 Feb 2015 16:54:21 +0000 (16:54 +0000)]
Display optimizing compiler's CodeInfo objects in oatdump.

A few elements are not displayed yet (stack mask, inline info) though.

Change-Id: I5e51a801c580169abc5d1ef43ad581aadc110754

9 years agoHave the opt. compiler set the size of "empty" frames to zero.
Roland Levillain [Tue, 17 Feb 2015 15:40:09 +0000 (15:40 +0000)]
Have the opt. compiler set the size of "empty" frames to zero.

This is to mimic Quick's behavior and honor stack frame
alignment constraints after changes introduced by Change-Id
I0fdb31e8c631e99091b818874a558c9aa04b1628.

This issue use to make oatdump crash on oat files produced by
the optimized compiler (e.g.
out/host/linux-x86/framework/x86_64/core-optimizing.oat).

Change-Id: I8ba52601edb0a0993eaf8923eba55aafdce5043e

9 years agoam b66251a1: am cf3fb94a: Merge "Fix art_quick_instrumentation_entry for x86"
Sebastien Hertz [Thu, 19 Feb 2015 10:21:12 +0000 (10:21 +0000)]
am b66251a1: am cf3fb94a: Merge "Fix art_quick_instrumentation_entry for x86"

* commit 'b66251a15e65a20ac79359a100cef7f890c77af8':
  Fix art_quick_instrumentation_entry for x86

9 years agoam cf3fb94a: Merge "Fix art_quick_instrumentation_entry for x86"
Sebastien Hertz [Thu, 19 Feb 2015 10:17:22 +0000 (10:17 +0000)]
am cf3fb94a: Merge "Fix art_quick_instrumentation_entry for x86"

* commit 'cf3fb94a90d74361b13e7bae5aa6e0e4ae58479d':
  Fix art_quick_instrumentation_entry for x86

9 years agoMerge "Fix art_quick_instrumentation_entry for x86"
Sebastien Hertz [Thu, 19 Feb 2015 09:59:54 +0000 (09:59 +0000)]
Merge "Fix art_quick_instrumentation_entry for x86"

9 years agoFix art_quick_instrumentation_entry for x86
Sebastien Hertz [Thu, 19 Feb 2015 09:30:48 +0000 (10:30 +0100)]
Fix art_quick_instrumentation_entry for x86

Fixes the stack offset used to restore edx.

Bug: 19402798
Change-Id: Ic3636cd362684564196997c4a3b3bebdc1be9a4e

9 years agoam 065fe0b2: am 1b472546: Merge "ART: Fix run-test 099-vmdebug for device"
Andreas Gampe [Thu, 19 Feb 2015 05:07:26 +0000 (05:07 +0000)]
am 065fe0b2: am 1b472546: Merge "ART: Fix run-test 099-vmdebug for device"

* commit '065fe0b26742eeed0956a510fd73ffebe088e08d':
  ART: Fix run-test 099-vmdebug for device

9 years agoam 1b472546: Merge "ART: Fix run-test 099-vmdebug for device"
Andreas Gampe [Thu, 19 Feb 2015 05:02:35 +0000 (05:02 +0000)]
am 1b472546: Merge "ART: Fix run-test 099-vmdebug for device"

* commit '1b472546657d31d38883373d8340d1441281a6a5':
  ART: Fix run-test 099-vmdebug for device

9 years agoMerge "ART: Fix run-test 099-vmdebug for device"
Andreas Gampe [Thu, 19 Feb 2015 04:54:59 +0000 (04:54 +0000)]
Merge "ART: Fix run-test 099-vmdebug for device"

9 years agoART: Fix run-test 099-vmdebug for device
Andreas Gampe [Thu, 19 Feb 2015 02:30:05 +0000 (18:30 -0800)]
ART: Fix run-test 099-vmdebug for device

We can't expect logcat errors on device. So just swallow them whole.

Bug: 18713034
Change-Id: I58d8595e86f112442a5a1c4c6ef0d614871d890f

9 years agoam ff3ef3da: am 627fbe31: Merge "ART: Blacklist run-test 802 for tracing"
Andreas Gampe [Thu, 19 Feb 2015 01:28:51 +0000 (01:28 +0000)]
am ff3ef3da: am 627fbe31: Merge "ART: Blacklist run-test 802 for tracing"

* commit 'ff3ef3da61fe7a472f61adb5f43d86aba20a3b1f':
  ART: Blacklist run-test 802 for tracing

9 years agoam b3c21298: am 2ee8837c: Merge "ART: Templatize IsInt & IsUint"
Andreas Gampe [Thu, 19 Feb 2015 01:28:50 +0000 (01:28 +0000)]
am b3c21298: am 2ee8837c: Merge "ART: Templatize IsInt & IsUint"

* commit 'b3c212984e380ae17211acf6174a64371e49eece':
  ART: Templatize IsInt & IsUint

9 years agoam 627fbe31: Merge "ART: Blacklist run-test 802 for tracing"
Andreas Gampe [Thu, 19 Feb 2015 01:23:48 +0000 (01:23 +0000)]
am 627fbe31: Merge "ART: Blacklist run-test 802 for tracing"

* commit '627fbe3137995904c2d67822d79201e17225e797':
  ART: Blacklist run-test 802 for tracing

9 years agoam 2ee8837c: Merge "ART: Templatize IsInt & IsUint"
Andreas Gampe [Thu, 19 Feb 2015 01:23:47 +0000 (01:23 +0000)]
am 2ee8837c: Merge "ART: Templatize IsInt & IsUint"

* commit '2ee8837c49680fa0c928fb5d5fc6ef7ae6532eea':
  ART: Templatize IsInt & IsUint

9 years agoMerge "ART: Blacklist run-test 802 for tracing"
Andreas Gampe [Thu, 19 Feb 2015 01:20:33 +0000 (01:20 +0000)]
Merge "ART: Blacklist run-test 802 for tracing"

9 years agoMerge "ART: Templatize IsInt & IsUint"
Andreas Gampe [Thu, 19 Feb 2015 01:18:01 +0000 (01:18 +0000)]
Merge "ART: Templatize IsInt & IsUint"

9 years agoART: Blacklist run-test 802 for tracing
Andreas Gampe [Thu, 19 Feb 2015 01:08:27 +0000 (17:08 -0800)]
ART: Blacklist run-test 802 for tracing

When in tracing mode, the test is meaningless as it won't force
deoptimization.

Bug: 18713034
Change-Id: I8bf2861c2937c5da73e3d7642e638818d2544fa8

9 years agoART: Templatize IsInt & IsUint
Andreas Gampe [Sat, 14 Feb 2015 03:23:55 +0000 (19:23 -0800)]
ART: Templatize IsInt & IsUint

Ensure that things are used correctly.

Change-Id: I76f082b32dcee28bbfb4c519daa401ac595873b3

9 years agoam 8ceac608: am 887653c2: Merge "Default to 64-bit for tests of methods with varying...
Jeff Hao [Wed, 18 Feb 2015 22:57:32 +0000 (22:57 +0000)]
am 8ceac608: am 887653c2: Merge "Default to 64-bit for tests of methods with varying ISAs for valgrind."

* commit '8ceac608892950035d7ab2bdf760a57add1cb643':
  Default to 64-bit for tests of methods with varying ISAs for valgrind.

9 years agoam f3707494: am a56f1195: Merge "ART: Make run-tests more verbose"
Andreas Gampe [Wed, 18 Feb 2015 22:57:31 +0000 (22:57 +0000)]
am f3707494: am a56f1195: Merge "ART: Make run-tests more verbose"

* commit 'f3707494933ab09ba05305dddb31aada32f7192c':
  ART: Make run-tests more verbose

9 years agoam a0c5a8c0: am 698e4a89: Merge "Distinguish FP and integral constants in LVN."
Vladimir Marko [Wed, 18 Feb 2015 22:57:30 +0000 (22:57 +0000)]
am a0c5a8c0: am 698e4a89: Merge "Distinguish FP and integral constants in LVN."

* commit 'a0c5a8c04b00b4ab65391b9e2862025e5aaa79d4':
  Distinguish FP and integral constants in LVN.

9 years agoam 6b00d770: am a5c81189: Merge "ART: Fix InsertCaseLabel to return boundary_lir...
Bill Buzbee [Wed, 18 Feb 2015 22:57:28 +0000 (22:57 +0000)]
am 6b00d770: am a5c81189: Merge "ART: Fix InsertCaseLabel to return boundary_lir always"

* commit '6b00d7700b710fd21a007d75aaee5feb2f93325c':
  ART: Fix InsertCaseLabel to return boundary_lir always

9 years agoam a92cda03: am 3dbce6f8: Merge "ART: Promoted register may be wrong after the load...
Bill Buzbee [Wed, 18 Feb 2015 22:57:27 +0000 (22:57 +0000)]
am a92cda03: am 3dbce6f8: Merge "ART: Promoted register may be wrong after the load of zero fp constant"

* commit 'a92cda032ff71f7c5ad54673b09e89aebebd999f':
  ART: Promoted register may be wrong after the load of zero fp constant

9 years agoam 887653c2: Merge "Default to 64-bit for tests of methods with varying ISAs for...
Jeff Hao [Wed, 18 Feb 2015 22:50:56 +0000 (22:50 +0000)]
am 887653c2: Merge "Default to 64-bit for tests of methods with varying ISAs for valgrind."

* commit '887653c253e9d049d0817867db02392a9a3db40e':
  Default to 64-bit for tests of methods with varying ISAs for valgrind.

9 years agoam a56f1195: Merge "ART: Make run-tests more verbose"
Andreas Gampe [Wed, 18 Feb 2015 22:50:55 +0000 (22:50 +0000)]
am a56f1195: Merge "ART: Make run-tests more verbose"

* commit 'a56f11956c3ee2c18e98078737549494638e08aa':
  ART: Make run-tests more verbose

9 years agoam 698e4a89: Merge "Distinguish FP and integral constants in LVN."
Vladimir Marko [Wed, 18 Feb 2015 22:50:37 +0000 (22:50 +0000)]
am 698e4a89: Merge "Distinguish FP and integral constants in LVN."

* commit '698e4a8942b6f6005dd247a73347f8086c8e7e6e':
  Distinguish FP and integral constants in LVN.

9 years agoam a5c81189: Merge "ART: Fix InsertCaseLabel to return boundary_lir always"
Bill Buzbee [Wed, 18 Feb 2015 22:50:31 +0000 (22:50 +0000)]
am a5c81189: Merge "ART: Fix InsertCaseLabel to return boundary_lir always"

* commit 'a5c81189a5075c53d649135e0417fc075eeead5a':
  ART: Fix InsertCaseLabel to return boundary_lir always

9 years agoam 3dbce6f8: Merge "ART: Promoted register may be wrong after the load of zero fp...
Bill Buzbee [Wed, 18 Feb 2015 22:50:30 +0000 (22:50 +0000)]
am 3dbce6f8: Merge "ART: Promoted register may be wrong after the load of zero fp constant"

* commit '3dbce6f822cc9fa49505adde0a556fd67996268e':
  ART: Promoted register may be wrong after the load of zero fp constant

9 years agoMerge "Default to 64-bit for tests of methods with varying ISAs for valgrind."
Jeff Hao [Wed, 18 Feb 2015 21:41:11 +0000 (21:41 +0000)]
Merge "Default to 64-bit for tests of methods with varying ISAs for valgrind."

9 years agoMerge "ART: Make run-tests more verbose"
Andreas Gampe [Wed, 18 Feb 2015 21:41:10 +0000 (21:41 +0000)]
Merge "ART: Make run-tests more verbose"

9 years agoMerge "Distinguish FP and integral constants in LVN."
Vladimir Marko [Wed, 18 Feb 2015 18:54:15 +0000 (18:54 +0000)]
Merge "Distinguish FP and integral constants in LVN."

9 years agoMerge "ART: Fix InsertCaseLabel to return boundary_lir always"
Bill Buzbee [Wed, 18 Feb 2015 17:54:10 +0000 (17:54 +0000)]
Merge "ART: Fix InsertCaseLabel to return boundary_lir always"

9 years agoMerge "ART: Promoted register may be wrong after the load of zero fp constant"
Bill Buzbee [Wed, 18 Feb 2015 17:54:00 +0000 (17:54 +0000)]
Merge "ART: Promoted register may be wrong after the load of zero fp constant"