OSDN Git Service

android-x86/art.git
9 years agoam a6cfa907: am c0e1fa73: Merge "Add test for hashCode and System.identityHashCode...
Mathieu Chartier [Mon, 8 Sep 2014 23:23:23 +0000 (23:23 +0000)]
am a6cfa907: am c0e1fa73: Merge "Add test for hashCode and System.identityHashCode." into lmp-dev

* commit 'a6cfa90726905229cab244c3f84106e9efa565a5':
  Add test for hashCode and System.identityHashCode.

9 years agoam b4b25cf0: am b087849f: Disable tracing if enabled by default for new tracing test.
Jeff Hao [Mon, 8 Sep 2014 23:23:06 +0000 (23:23 +0000)]
am b4b25cf0: am b087849f: Disable tracing if enabled by default for new tracing test.

* commit 'b4b25cf0578cd33c804ef696d2046de86ae68a05':
  Disable tracing if enabled by default for new tracing test.

9 years agoam 6aca61ab: Merge "Add test for hashCode and System.identityHashCode."
Mathieu Chartier [Mon, 8 Sep 2014 23:21:09 +0000 (23:21 +0000)]
am 6aca61ab: Merge "Add test for hashCode and System.identityHashCode."

* commit '6aca61ab6aff59c2d150fbafbdc48f0490c93d58':
  Add test for hashCode and System.identityHashCode.

9 years agoam c0e1fa73: Merge "Add test for hashCode and System.identityHashCode." into lmp-dev
Mathieu Chartier [Mon, 8 Sep 2014 23:09:26 +0000 (23:09 +0000)]
am c0e1fa73: Merge "Add test for hashCode and System.identityHashCode." into lmp-dev

* commit 'c0e1fa7382b2e8e64da07181aff316dbcc84c395':
  Add test for hashCode and System.identityHashCode.

9 years agoMerge "Add test for hashCode and System.identityHashCode."
Mathieu Chartier [Mon, 8 Sep 2014 23:09:08 +0000 (23:09 +0000)]
Merge "Add test for hashCode and System.identityHashCode."

9 years agoMerge "Add test for hashCode and System.identityHashCode." into lmp-dev
Mathieu Chartier [Mon, 8 Sep 2014 23:01:52 +0000 (23:01 +0000)]
Merge "Add test for hashCode and System.identityHashCode." into lmp-dev

9 years agoam b087849f: Disable tracing if enabled by default for new tracing test.
Jeff Hao [Mon, 8 Sep 2014 22:57:49 +0000 (22:57 +0000)]
am b087849f: Disable tracing if enabled by default for new tracing test.

* commit 'b087849f5bbbf25bf5b03cf6172d2a50c08119e9':
  Disable tracing if enabled by default for new tracing test.

9 years agoam c1226fe5: am afb7de60: Merge "Change when sampling thread is reset during shutdown...
Jeff Hao [Mon, 8 Sep 2014 22:48:32 +0000 (22:48 +0000)]
am c1226fe5: am afb7de60: Merge "Change when sampling thread is reset during shutdown to prevent races." into lmp-dev

* commit 'c1226fe5bf9b6eaab23bc5a4bbd2d245f80062db':
  Change when sampling thread is reset during shutdown to prevent races.

9 years agoDisable tracing if enabled by default for new tracing test.
Jeff Hao [Mon, 8 Sep 2014 22:32:39 +0000 (15:32 -0700)]
Disable tracing if enabled by default for new tracing test.

Bug: 17412385
Change-Id: If963a9ba2214c72efbef673a840bbeb6fdbb1795

9 years agoam 16ff467e: am f81bfa3e: Ignore heap trim requests if we are the zygote
Mathieu Chartier [Mon, 8 Sep 2014 22:30:59 +0000 (22:30 +0000)]
am 16ff467e: am f81bfa3e: Ignore heap trim requests if we are the zygote

* commit '16ff467eb5138d1caca26344b49ac9a644667f28':
  Ignore heap trim requests if we are the zygote

9 years agoam 7064b18b: am 4d3981c7: Revert "Fix heap trimmer daemon sleeping."
Mathieu Chartier [Mon, 8 Sep 2014 22:30:58 +0000 (22:30 +0000)]
am 7064b18b: am 4d3981c7: Revert "Fix heap trimmer daemon sleeping."

* commit '7064b18bac0849b7bb0a272866bc63216f75cc47':
  Revert "Fix heap trimmer daemon sleeping."

9 years agoam afb7de60: Merge "Change when sampling thread is reset during shutdown to prevent...
Jeff Hao [Mon, 8 Sep 2014 22:28:28 +0000 (22:28 +0000)]
am afb7de60: Merge "Change when sampling thread is reset during shutdown to prevent races." into lmp-dev

* commit 'afb7de600066cc5daba0112eacbfdb43f1fb9f16':
  Change when sampling thread is reset during shutdown to prevent races.

9 years agoMerge "Change when sampling thread is reset during shutdown to prevent races." into...
Jeff Hao [Mon, 8 Sep 2014 22:22:08 +0000 (22:22 +0000)]
Merge "Change when sampling thread is reset during shutdown to prevent races." into lmp-dev

9 years agoChange when sampling thread is reset during shutdown to prevent races.
Jeff Hao [Mon, 8 Sep 2014 16:38:18 +0000 (09:38 -0700)]
Change when sampling thread is reset during shutdown to prevent races.

Also adds some extra argument checking and testing for tracing.

Bug: 17412385
Change-Id: I876378d5bd17d75ab346584713b04dc0656d2120

9 years agoam f81bfa3e: Ignore heap trim requests if we are the zygote
Mathieu Chartier [Mon, 8 Sep 2014 22:16:35 +0000 (22:16 +0000)]
am f81bfa3e: Ignore heap trim requests if we are the zygote

* commit 'f81bfa3e21c8a4e031505470ea954c93949cb30b':
  Ignore heap trim requests if we are the zygote

9 years agoam 4d3981c7: Revert "Fix heap trimmer daemon sleeping."
Mathieu Chartier [Mon, 8 Sep 2014 22:16:32 +0000 (22:16 +0000)]
am 4d3981c7: Revert "Fix heap trimmer daemon sleeping."

* commit '4d3981c72a546b87c8f5d391ff8b5135b8ca99a7':
  Revert "Fix heap trimmer daemon sleeping."

9 years agoAdd test for hashCode and System.identityHashCode.
Mathieu Chartier [Mon, 8 Sep 2014 21:48:25 +0000 (14:48 -0700)]
Add test for hashCode and System.identityHashCode.

(cherry picked from commit bda2836af470c45e30c567b14d6747a7450c4741)

Change-Id: Ieba8f8eb09441ec145a176df00c293695eae0f47

9 years agoAdd test for hashCode and System.identityHashCode.
Mathieu Chartier [Mon, 8 Sep 2014 21:48:25 +0000 (14:48 -0700)]
Add test for hashCode and System.identityHashCode.

Change-Id: I325e95c23bda05bc9babff428111bb8d21f7f2d4

9 years agoam 6148d534: Merge "Delete double finalization hack."
Mathieu Chartier [Mon, 8 Sep 2014 21:22:16 +0000 (21:22 +0000)]
am 6148d534: Merge "Delete double finalization hack."

* commit '6148d5340d5f2f4cffaa465229a1722b5a775c28':
  Delete double finalization hack.

9 years agoIgnore heap trim requests if we are the zygote
Mathieu Chartier [Mon, 8 Sep 2014 20:35:11 +0000 (13:35 -0700)]
Ignore heap trim requests if we are the zygote

Done to prevent app launching lag due to sleep in heap trimmer
daemon.

Bug: 17310019

Change-Id: Ia593e7eced1c1583771985ec9e7b60ee0c0e7912

9 years agoMerge "Delete double finalization hack."
Mathieu Chartier [Mon, 8 Sep 2014 21:00:47 +0000 (21:00 +0000)]
Merge "Delete double finalization hack."

9 years agoRevert "Fix heap trimmer daemon sleeping."
Mathieu Chartier [Mon, 8 Sep 2014 20:08:41 +0000 (20:08 +0000)]
Revert "Fix heap trimmer daemon sleeping."

This reverts commit 698b44634396e8111e96e1116586fde89a838347.

Change-Id: Ifa8c2d554b82289cc31803ad6027735d2c3c9be8

9 years agoam 9b2b927f: Merge "Add CallNonvirtual test"
Brian Carlstrom [Mon, 8 Sep 2014 20:11:28 +0000 (20:11 +0000)]
am 9b2b927f: Merge "Add CallNonvirtual test"

* commit '9b2b927f573264c2f0d66b24ceeb361857a41ab3':
  Add CallNonvirtual test

9 years agoMerge "Add CallNonvirtual test"
Brian Carlstrom [Mon, 8 Sep 2014 19:03:44 +0000 (19:03 +0000)]
Merge "Add CallNonvirtual test"

9 years agoAdd CallNonvirtual test
Brian Carlstrom [Mon, 8 Sep 2014 06:52:02 +0000 (23:52 -0700)]
Add CallNonvirtual test

Change-Id: If0cbfc587cb8fe5d47fda1149629954080dd0f6f

9 years agoam 16554258: Merge "Add (simple) side effects flags and equality methods on nodes."
Nicolas Geoffray [Mon, 8 Sep 2014 16:22:47 +0000 (16:22 +0000)]
am 16554258: Merge "Add (simple) side effects flags and equality methods on nodes."

* commit '165542588f5b8851d681a901580a277196d752d4':
  Add (simple) side effects flags and equality methods on nodes.

9 years agoMerge "Add (simple) side effects flags and equality methods on nodes."
Nicolas Geoffray [Mon, 8 Sep 2014 16:09:18 +0000 (16:09 +0000)]
Merge "Add (simple) side effects flags and equality methods on nodes."

9 years agoAdd (simple) side effects flags and equality methods on nodes.
Nicolas Geoffray [Wed, 3 Sep 2014 13:51:22 +0000 (14:51 +0100)]
Add (simple) side effects flags and equality methods on nodes.

This is in preparation of doing GVN and LICM.

Change-Id: I43050ff846755f9387a62b893d548ecdb54e7e95

9 years agoam 9d740016: Merge "Clean-up and make the art script usable on target."
Nicolas Geoffray [Mon, 8 Sep 2014 14:55:31 +0000 (14:55 +0000)]
am 9d740016: Merge "Clean-up and make the art script usable on target."

* commit '9d740016b6ce35e9b596391eafe64be5ceaec76b':
  Clean-up and make the art script usable on target.

9 years agoMerge "Clean-up and make the art script usable on target."
Nicolas Geoffray [Mon, 8 Sep 2014 14:41:40 +0000 (14:41 +0000)]
Merge "Clean-up and make the art script usable on target."

9 years agoClean-up and make the art script usable on target.
Nicolas Geoffray [Tue, 2 Sep 2014 14:24:25 +0000 (15:24 +0100)]
Clean-up and make the art script usable on target.

Also add a phony target to build what's needed to use it.

Change-Id: I0bca6b0cbe921653de05fec0ae0cbbff63df580e

9 years agoam 0a1d91a6: Merge "Runtime support for the new stack maps for the opt compiler."
Nicolas Geoffray [Mon, 8 Sep 2014 11:36:08 +0000 (11:36 +0000)]
am 0a1d91a6: Merge "Runtime support for the new stack maps for the opt compiler."

* commit '0a1d91a69919fe4c8c5f227f9b35d76d3c05bd46':
  Runtime support for the new stack maps for the opt compiler.

9 years agoMerge "Runtime support for the new stack maps for the opt compiler."
Nicolas Geoffray [Mon, 8 Sep 2014 11:16:48 +0000 (11:16 +0000)]
Merge "Runtime support for the new stack maps for the opt compiler."

9 years agoRuntime support for the new stack maps for the opt compiler.
Nicolas Geoffray [Tue, 2 Sep 2014 14:17:15 +0000 (15:17 +0100)]
Runtime support for the new stack maps for the opt compiler.

Now most of the methods supported by the compiler can be optimized,
instead of using the baseline.

Change-Id: I80ab36a34913fa4e7dd576c7bf55af63594dc1fa

9 years agoam e2c23739: Merge "Quick compiler: Fix handling of unused returns"
buzbee [Mon, 8 Sep 2014 04:40:07 +0000 (04:40 +0000)]
am e2c23739: Merge "Quick compiler: Fix handling of unused returns"

* commit 'e2c23739c6395a83b30ece38f8a2e9e1bf7cf3ce':
  Quick compiler: Fix handling of unused returns

9 years agoMerge "Quick compiler: Fix handling of unused returns"
buzbee [Mon, 8 Sep 2014 04:22:20 +0000 (04:22 +0000)]
Merge "Quick compiler: Fix handling of unused returns"

9 years agoQuick compiler: Fix handling of unused returns
buzbee [Sun, 7 Sep 2014 18:37:51 +0000 (11:37 -0700)]
Quick compiler: Fix handling of unused returns

As part of the inlining process, the quick compiler will attempt
to eliminate MOVE_RESULT instructions and deliver the result of
the inlined function directly to the eventual use.

The type of the returned value is determined by the subsequent
use (which had already been typed via the size and type
inference pass).  However, if a method result is never used the code
just defaulted to assigning dummy core sink register[s].  This
caused a DCHECK failure on some 64-bit systems for methods returning
an unused reference (although the generated code was correct).

This CL selects sink registers for the unused return case based
on the type of the inlined method, and adds another DCHECK to
verify that the result of the size & type inference pass matches
with the inlined method's type.

Internal b/17328561

Change-Id: I9803ad604fe1bdcf9ff9a1d310cf022a7b6deae2

9 years agoam 9b868cbf: Merge "ART: Make the dominator bitvectors expandable"
Bill Buzbee [Sun, 7 Sep 2014 19:55:10 +0000 (19:55 +0000)]
am 9b868cbf: Merge "ART: Make the dominator bitvectors expandable"

* commit '9b868cbfa6d74387a80ce52a426f9a5bc3ddbbaf':
  ART: Make the dominator bitvectors expandable

9 years agoMerge "ART: Make the dominator bitvectors expandable"
Bill Buzbee [Sun, 7 Sep 2014 19:38:44 +0000 (19:38 +0000)]
Merge "ART: Make the dominator bitvectors expandable"

9 years agoam 3f546cad: Merge "Fix Thumb2Stm, ldm definition of EncodingMap for arm"
Bill Buzbee [Sun, 7 Sep 2014 19:35:31 +0000 (19:35 +0000)]
am 3f546cad: Merge "Fix Thumb2Stm, ldm definition of EncodingMap for arm"

* commit '3f546cadc83e6de69cf6597858033085d5fcf33e':
  Fix Thumb2Stm, ldm definition of EncodingMap for arm

9 years agoMerge "Fix Thumb2Stm, ldm definition of EncodingMap for arm"
Bill Buzbee [Sun, 7 Sep 2014 19:23:21 +0000 (19:23 +0000)]
Merge "Fix Thumb2Stm, ldm definition of EncodingMap for arm"

9 years agoFix Thumb2Stm, ldm definition of EncodingMap for arm
Junmo Park [Mon, 1 Sep 2014 07:41:16 +0000 (16:41 +0900)]
Fix Thumb2Stm, ldm definition of EncodingMap for arm

Thumb2Stm instruction can save r0-r12,r14.
But the definition of EncodingMap only set r0-r12.
So it is fixed likes Thumb2Stmia.

Add new assembler formats kFmtLdmRegList and kFmtStmRegList.

Change-Id: Id03118d602f9d49d9d916f3dd9f3198f24ab9c37

9 years agoam 2225c353: Merge "ART: Refactor elf_writer_quick, add symbolizer"
Andreas Gampe [Sat, 6 Sep 2014 05:22:38 +0000 (05:22 +0000)]
am 2225c353: Merge "ART: Refactor elf_writer_quick, add symbolizer"

* commit '2225c3532093e43a15b7485721f12a10b7120be5':
  ART: Refactor elf_writer_quick, add symbolizer

9 years agoMerge "ART: Refactor elf_writer_quick, add symbolizer"
Andreas Gampe [Sat, 6 Sep 2014 05:03:34 +0000 (05:03 +0000)]
Merge "ART: Refactor elf_writer_quick, add symbolizer"

9 years agoART: Refactor elf_writer_quick, add symbolizer
Andreas Gampe [Fri, 5 Sep 2014 04:47:42 +0000 (21:47 -0700)]
ART: Refactor elf_writer_quick, add symbolizer

Refactors some classes in elf_writer_quick.h to elf_builder.h to
be more friendly for re-use. Use this in oatdump to add a symtab
to an oat file.

Bug: 1718762117322125
Change-Id: I2333291334fd98bd09cc5717fb83cb18efe3a029

9 years agoam 07700440: Merge "Fix numerous issues with DdmVmInternal allocation tracking"
Brian Carlstrom [Fri, 5 Sep 2014 23:31:14 +0000 (23:31 +0000)]
am 07700440: Merge "Fix numerous issues with DdmVmInternal allocation tracking"

* commit '07700440081b36b0e422bbe741f72cbab2cda4c7':
  Fix numerous issues with DdmVmInternal allocation tracking

9 years agoART: Make the dominator bitvectors expandable
Jean Christophe Beyler [Fri, 5 Sep 2014 23:06:42 +0000 (16:06 -0700)]
ART: Make the dominator bitvectors expandable

The dominator based bitvectors are not expandable. However, if we wish
 to add BasicBlocks and recalculate, it is required to make them expandable.

Change-Id: I250684783c233eca31bb40a5bc971c97fcf7c42d
Signed-off-by: Jean Christophe Beyler <jean.christophe.beyler@intel.com>
9 years agoMerge "Fix numerous issues with DdmVmInternal allocation tracking"
Brian Carlstrom [Fri, 5 Sep 2014 23:05:06 +0000 (23:05 +0000)]
Merge "Fix numerous issues with DdmVmInternal allocation tracking"

9 years agoMerge "resolved conflicts for merge of ac4d0dae to lmp-dev-plus-aosp" into lmp-dev...
Brian Carlstrom [Fri, 5 Sep 2014 22:58:45 +0000 (22:58 +0000)]
Merge "resolved conflicts for merge of ac4d0dae to lmp-dev-plus-aosp" into lmp-dev-plus-aosp

9 years agoDelete double finalization hack.
Mathieu Chartier [Fri, 5 Sep 2014 21:40:03 +0000 (14:40 -0700)]
Delete double finalization hack.

No longer necessary.

Change-Id: Ie5eb9e9ce4b8473d3b3e65bd108f93223b9a80dd

9 years agoFix numerous issues with DdmVmInternal allocation tracking
Brian Carlstrom [Fri, 5 Sep 2014 20:01:41 +0000 (13:01 -0700)]
Fix numerous issues with DdmVmInternal allocation tracking

Issues addressed:
- Using without JDWP attached caused native crash.
- When buffer is full (64k entries), number of entries reported was 0.
- Disabling tracking after disabling tracking caused native crash.
- Asking for allocations after disabled caused native crash.
- Lock ordering issues between mutator lock and alloc tracker lock.

Adding 098-ddmc test to cover these cases.

Bug: 17392248

(cherry picked from commit a5815065ac0877add9c0db3605d27b4d6c426e61)

Change-Id: Ib0bc18dfcdafcc050ab9dceed3d167dd878d1d7a

9 years agoresolved conflicts for merge of ac4d0dae to lmp-dev-plus-aosp
Brian Carlstrom [Fri, 5 Sep 2014 20:01:41 +0000 (13:01 -0700)]
resolved conflicts for merge of ac4d0dae to lmp-dev-plus-aosp

Change-Id: Icaa559f50347059de7ebf61eb3587789b6fc6738

9 years agoresolved conflicts for merge of ac4d0dae to lmp-dev-plus-aosp
Brian Carlstrom [Fri, 5 Sep 2014 20:01:41 +0000 (13:01 -0700)]
resolved conflicts for merge of ac4d0dae to lmp-dev-plus-aosp

Change-Id: I23aba4b3f69aec0440210ad1aa5232abdef90e42

9 years agoam 2c63eee3: Merge "Fix numerous issues with DdmVmInternal allocation tracking" into...
Brian Carlstrom [Fri, 5 Sep 2014 19:07:47 +0000 (19:07 +0000)]
am 2c63eee3: Merge "Fix numerous issues with DdmVmInternal allocation tracking" into lmp-dev

* commit '2c63eee334bca18536060eea2e4a2f7883ef8eb9':
  Fix numerous issues with DdmVmInternal allocation tracking

9 years agoMerge "Fix numerous issues with DdmVmInternal allocation tracking" into lmp-dev
Brian Carlstrom [Fri, 5 Sep 2014 18:54:44 +0000 (18:54 +0000)]
Merge "Fix numerous issues with DdmVmInternal allocation tracking" into lmp-dev

9 years agoFix numerous issues with DdmVmInternal allocation tracking
Brian Carlstrom [Fri, 5 Sep 2014 05:15:18 +0000 (22:15 -0700)]
Fix numerous issues with DdmVmInternal allocation tracking

Issues addressed:
- Using without JDWP attached caused native crash.
- When buffer is full (64k entries), number of entries reported was 0.
- Disabling tracking after disabling tracking caused native crash.
- Asking for allocations after disabled caused native crash.
- Lock ordering issues between mutator lock and alloc tracker lock.

Adding 098-ddmc test to cover these cases.

Bug: 17392248
Change-Id: I45c0abbfb3dd7a7421aea3bbba2ea8d05225e48b

9 years agoam b1433990: Merge "Revert "Revert "x86: Fix art_quick_instrumentation_exit"""
Andreas Gampe [Fri, 5 Sep 2014 17:36:10 +0000 (17:36 +0000)]
am b1433990: Merge "Revert "Revert "x86: Fix art_quick_instrumentation_exit"""

* commit 'b14339904c9cacc4af74260c7325e4eb32947f95':
  Revert "Revert "x86: Fix art_quick_instrumentation_exit""

9 years agoam e5de8832: Merge "ART: X86: Improve multiply in div/rem by literal"
Ian Rogers [Fri, 5 Sep 2014 17:30:14 +0000 (17:30 +0000)]
am e5de8832: Merge "ART: X86: Improve multiply in div/rem by literal"

* commit 'e5de88328353cbd4f3b313d26529ebb9c10c41c3':
  ART: X86: Improve multiply in div/rem by literal

9 years agoMerge "Revert "Revert "x86: Fix art_quick_instrumentation_exit"""
Andreas Gampe [Fri, 5 Sep 2014 17:19:23 +0000 (17:19 +0000)]
Merge "Revert "Revert "x86: Fix art_quick_instrumentation_exit"""

9 years agoMerge "ART: X86: Improve multiply in div/rem by literal"
Ian Rogers [Fri, 5 Sep 2014 17:10:25 +0000 (17:10 +0000)]
Merge "ART: X86: Improve multiply in div/rem by literal"

9 years agoam 0c2bd8df: am b100ff4f: Merge "Avoid recomputing the dex checksum during class...
Calin Juravle [Fri, 5 Sep 2014 17:08:01 +0000 (17:08 +0000)]
am 0c2bd8df: am b100ff4f: Merge "Avoid recomputing the dex checksum during class loading" into lmp-dev

* commit '0c2bd8df9a2d26927d3019b72066c2afe1aa9666':
  Avoid recomputing the dex checksum during class loading

9 years agoam cd3e79c4: Merge "Avoid recomputing the dex checksum during class loading"
Calin Juravle [Fri, 5 Sep 2014 15:49:47 +0000 (15:49 +0000)]
am cd3e79c4: Merge "Avoid recomputing the dex checksum during class loading"

* commit 'cd3e79c4bf3a6e148566d33f05f5f0a512eb9673':
  Avoid recomputing the dex checksum during class loading

9 years agoam 51232859: Merge "Remove unreachable code from class_linker.cc"
Calin Juravle [Fri, 5 Sep 2014 15:43:05 +0000 (15:43 +0000)]
am 51232859: Merge "Remove unreachable code from class_linker.cc"

* commit '5123285945f309dc7293a860bcae2bc724540fed':
  Remove unreachable code from class_linker.cc

9 years agoam 194b032b: Merge "Revert "x86: Fix art_quick_instrumentation_exit""
Andreas Gampe [Fri, 5 Sep 2014 15:43:03 +0000 (15:43 +0000)]
am 194b032b: Merge "Revert "x86: Fix art_quick_instrumentation_exit""

* commit '194b032b6d43299e117292494064d54ecf4ddbd8':
  Revert "x86: Fix art_quick_instrumentation_exit"

9 years agoam b100ff4f: Merge "Avoid recomputing the dex checksum during class loading" into...
Calin Juravle [Fri, 5 Sep 2014 15:42:37 +0000 (15:42 +0000)]
am b100ff4f: Merge "Avoid recomputing the dex checksum during class loading" into lmp-dev

* commit 'b100ff4f21e034172be9669b18851829bb51e567':
  Avoid recomputing the dex checksum during class loading

9 years agoMerge "Avoid recomputing the dex checksum during class loading"
Calin Juravle [Fri, 5 Sep 2014 15:35:19 +0000 (15:35 +0000)]
Merge "Avoid recomputing the dex checksum during class loading"

9 years agoAvoid recomputing the dex checksum during class loading
Calin Juravle [Tue, 2 Sep 2014 14:53:55 +0000 (15:53 +0100)]
Avoid recomputing the dex checksum during class loading

Thread the already computed checksum to VerifyOatAndDexFileChecksums and
LoadMultiDexFilesFromOatFile to avoid recomputing it.

Bug:17346103

(cherry picked from commit ca3459398018360d9968a52eebf727df085caf83)

Change-Id: Ie244efaca55b9e7c814b35feec7fce11fab3856d

9 years agoMerge "Avoid recomputing the dex checksum during class loading" into lmp-dev
Calin Juravle [Fri, 5 Sep 2014 15:33:21 +0000 (15:33 +0000)]
Merge "Avoid recomputing the dex checksum during class loading" into lmp-dev

9 years agoMerge "Remove unreachable code from class_linker.cc"
Calin Juravle [Fri, 5 Sep 2014 15:26:00 +0000 (15:26 +0000)]
Merge "Remove unreachable code from class_linker.cc"

9 years agoRemove unreachable code from class_linker.cc
Calin Juravle [Fri, 5 Sep 2014 15:14:19 +0000 (16:14 +0100)]
Remove unreachable code from class_linker.cc

If the checksum doesn't match the oat_dex_file will be NULL, a case
which is handled in the first if.

Bug: 17402267

Change-Id: If8547ddc8fd7eff59a3b7dd36c07ac4ceb351361

9 years agoART: X86: Improve multiply in div/rem by literal
Mark Mendell [Tue, 2 Sep 2014 16:44:24 +0000 (12:44 -0400)]
ART: X86: Improve multiply in div/rem by literal

Rewrite the multiplication of the magic number by the dividend to save
one instruction by multiplying directly from the dividend, rather than
loading the dividend into EAX/RAX first.

Change-Id: I7934243d90c0739a7f11a8d70f6fb2c000144587
Signed-off-by: Mark Mendell <mark.p.mendell@intel.com>
9 years agoAvoid recomputing the dex checksum during class loading
Calin Juravle [Tue, 2 Sep 2014 14:53:55 +0000 (15:53 +0100)]
Avoid recomputing the dex checksum during class loading

Thread the already computed checksum to VerifyOatAndDexFileChecksums and
LoadMultiDexFilesFromOatFile to avoid recomputing it.

Bug:17346103
Change-Id: Ifa0c1cad952853751e98cbb3c999631b9909a9f9

9 years agoRevert "Revert "x86: Fix art_quick_instrumentation_exit""
Andreas Gampe [Fri, 5 Sep 2014 05:43:34 +0000 (05:43 +0000)]
Revert "Revert "x86: Fix art_quick_instrumentation_exit""

Need to use GOT to avoid TEXTREL.

This reverts commit 62aa66f8532b8eb44e882596010b33e7781b0754.

Change-Id: Ife659c28d621596ad288999fa128dcf32fc0b1c7

9 years agoMerge "Revert "x86: Fix art_quick_instrumentation_exit""
Andreas Gampe [Fri, 5 Sep 2014 05:02:20 +0000 (05:02 +0000)]
Merge "Revert "x86: Fix art_quick_instrumentation_exit""

9 years agoRevert "x86: Fix art_quick_instrumentation_exit"
Andreas Gampe [Fri, 5 Sep 2014 05:02:08 +0000 (05:02 +0000)]
Revert "x86: Fix art_quick_instrumentation_exit"

GCC 4.8 can't handle it correctly.

This reverts commit 5324dc896b69fc14a24334f52169e2319b9b3842.

Change-Id: I2478a52f147b585658d0e5769c3fce7f2c75240e

9 years agoam 4229998b: Merge "x86: Fix art_quick_instrumentation_exit"
Andreas Gampe [Fri, 5 Sep 2014 03:18:57 +0000 (03:18 +0000)]
am 4229998b: Merge "x86: Fix art_quick_instrumentation_exit"

* commit '4229998b4e5f69763489732e1048da6b77dd2a34':
  x86: Fix art_quick_instrumentation_exit

9 years agoMerge "x86: Fix art_quick_instrumentation_exit"
Andreas Gampe [Fri, 5 Sep 2014 02:56:43 +0000 (02:56 +0000)]
Merge "x86: Fix art_quick_instrumentation_exit"

9 years agox86: Fix art_quick_instrumentation_exit
Dmitry Petrochenko [Wed, 27 Aug 2014 11:45:56 +0000 (18:45 +0700)]
x86: Fix art_quick_instrumentation_exit

Make sure that we use a move-immediate instead of a
move-from-address (previously this was a load, whereas now
we are interested in the address as a value).

Change-Id: I4048c4a97abcc6524fe976bdc35b834d8f3bc592
Signed-off-by: Dmitry Petrochenko <dmitry.petrochenko@intel.com>
9 years agoam 967b7c31: Merge "Add test case for runFinalization."
Mathieu Chartier [Thu, 4 Sep 2014 23:22:49 +0000 (23:22 +0000)]
am 967b7c31: Merge "Add test case for runFinalization."

* commit '967b7c3196d441667d7651dea73a5e4b3178ccc6':
  Add test case for runFinalization.

9 years agoam ed20a4d8: Merge "Fix arm64 build warning (promoted to error)."
Dave Allison [Thu, 4 Sep 2014 23:22:40 +0000 (23:22 +0000)]
am ed20a4d8: Merge "Fix arm64 build warning (promoted to error)."

* commit 'ed20a4d80bcd8d47b5bcdd51ef17c786c0e5015c':
  Fix arm64 build warning (promoted to error).

9 years agoam 0e59bf8b: Merge "ART: Change ART for new native bridge sequence"
Andreas Gampe [Thu, 4 Sep 2014 23:22:28 +0000 (23:22 +0000)]
am 0e59bf8b: Merge "ART: Change ART for new native bridge sequence"

* commit '0e59bf8b767e9be7ea22c67011ea902d597fe43f':
  ART: Change ART for new native bridge sequence

9 years agoMerge "Add test case for runFinalization."
Mathieu Chartier [Thu, 4 Sep 2014 22:32:40 +0000 (22:32 +0000)]
Merge "Add test case for runFinalization."

9 years agoam 552da669: Merge "ART: Fix host run-test script"
Andreas Gampe [Thu, 4 Sep 2014 22:20:53 +0000 (22:20 +0000)]
am 552da669: Merge "ART: Fix host run-test script"

* commit '552da6697f77b1d94a69b0ba54509a25a0de3ae7':
  ART: Fix host run-test script

9 years agoAdd test case for runFinalization.
Mathieu Chartier [Thu, 4 Sep 2014 21:15:35 +0000 (14:15 -0700)]
Add test case for runFinalization.

There was a bug causing runFinalization to return before recently
freed objects were finalized. This is a regression test for this bug.

Bug: 17381967
Change-Id: Ide6e2037685324423e83965fae3935f3e7f0aba6

9 years agoMerge "Fix arm64 build warning (promoted to error)."
Dave Allison [Thu, 4 Sep 2014 21:59:58 +0000 (21:59 +0000)]
Merge "Fix arm64 build warning (promoted to error)."

9 years agoMerge "ART: Change ART for new native bridge sequence"
Andreas Gampe [Thu, 4 Sep 2014 21:47:08 +0000 (21:47 +0000)]
Merge "ART: Change ART for new native bridge sequence"

9 years agoMerge "ART: Fix host run-test script"
Andreas Gampe [Thu, 4 Sep 2014 21:37:19 +0000 (21:37 +0000)]
Merge "ART: Fix host run-test script"

9 years agoFix arm64 build warning (promoted to error).
Dave Allison [Thu, 4 Sep 2014 21:33:42 +0000 (14:33 -0700)]
Fix arm64 build warning (promoted to error).

This refactors code that caused an warning on the arm64 build.

Change-Id: I1c0ddabb7061ea289d98b03554bf764c26256078

9 years agoART: Fix host run-test script
Andreas Gampe [Thu, 4 Sep 2014 21:19:51 +0000 (14:19 -0700)]
ART: Fix host run-test script

When using gdb, do not pipe and grep. GDB is interactive...

Change-Id: Idd944a8ff7a8c254f47c840bc5b2c1e352e8b105

9 years agoam 972d6747: am cb7c0e9e: Ensure alternate signal stack is minimum size.
Ian Rogers [Thu, 4 Sep 2014 19:58:07 +0000 (19:58 +0000)]
am 972d6747: am cb7c0e9e: Ensure alternate signal stack is minimum size.

* commit '972d6747b6ddb75d929e96732a492d6b023e652a':
  Ensure alternate signal stack is minimum size.

9 years agoART: Change ART for new native bridge sequence
Andreas Gampe [Wed, 3 Sep 2014 04:22:18 +0000 (21:22 -0700)]
ART: Change ART for new native bridge sequence

Initialize or unload after a fork.

Change-Id: I5a20de1cb68dd1802937b369b14c50c9c1031c67

9 years agoam cb7c0e9e: Ensure alternate signal stack is minimum size.
Ian Rogers [Thu, 4 Sep 2014 19:43:33 +0000 (19:43 +0000)]
am cb7c0e9e: Ensure alternate signal stack is minimum size.

* commit 'cb7c0e9eb785a8d605da5d5b26ab265d4d635f1e':
  Ensure alternate signal stack is minimum size.

9 years agoEnsure alternate signal stack is minimum size.
Ian Rogers [Wed, 13 Aug 2014 21:37:26 +0000 (14:37 -0700)]
Ensure alternate signal stack is minimum size.

On Mac a sigaltstack may need to be 32KB, setting it to 16KB causes
sigaltstack to fail.

(cherry picked from commit c24a1e00b13a7ebf10dd896f6a18b1ad09617ec7)

Change-Id: Ic06d80f1acf5c4eb3d2dd1156bfa2805ab0df492

9 years agoam 91bb35cb: Merge "Make nested signal more generic"
Dave Allison [Thu, 4 Sep 2014 18:23:37 +0000 (18:23 +0000)]
am 91bb35cb: Merge "Make nested signal more generic"

* commit '91bb35cb7d5bb5dd28201d4334dace3546c376e6':
  Make nested signal more generic

9 years agoam 5250180c: Merge "Fix heap trimmer daemon sleeping."
Mathieu Chartier [Thu, 4 Sep 2014 18:15:04 +0000 (18:15 +0000)]
am 5250180c: Merge "Fix heap trimmer daemon sleeping."

* commit '5250180c6783901c5e8cb580fe7d53890af6291c':
  Fix heap trimmer daemon sleeping.

9 years agoMerge "Make nested signal more generic"
Dave Allison [Thu, 4 Sep 2014 18:06:25 +0000 (18:06 +0000)]
Merge "Make nested signal more generic"

9 years agoam 2a462670: am bbcd0a75: Merge "Fix heap trimmer daemon sleeping." into lmp-dev
Mathieu Chartier [Thu, 4 Sep 2014 18:03:07 +0000 (18:03 +0000)]
am 2a462670: am bbcd0a75: Merge "Fix heap trimmer daemon sleeping." into lmp-dev

* commit '2a4626708d2c8fa2f456021428ff008f8c907a08':
  Fix heap trimmer daemon sleeping.

9 years agoMerge "Fix heap trimmer daemon sleeping."
Mathieu Chartier [Thu, 4 Sep 2014 17:51:02 +0000 (17:51 +0000)]
Merge "Fix heap trimmer daemon sleeping."

9 years agoam bbcd0a75: Merge "Fix heap trimmer daemon sleeping." into lmp-dev
Mathieu Chartier [Thu, 4 Sep 2014 17:51:00 +0000 (17:51 +0000)]
am bbcd0a75: Merge "Fix heap trimmer daemon sleeping." into lmp-dev

* commit 'bbcd0a75324dd9554109d91f2e9f7ae5d4c4a28a':
  Fix heap trimmer daemon sleeping.

9 years agoam 217dc450: Merge "VisitClassesWithoutClassesLock isn\'t safe if classes move."
Ian Rogers [Thu, 4 Sep 2014 17:46:15 +0000 (17:46 +0000)]
am 217dc450: Merge "VisitClassesWithoutClassesLock isn\'t safe if classes move."

* commit '217dc450cf0fef8539beaded77c704cfcb6669e9':
  VisitClassesWithoutClassesLock isn't safe if classes move.