OSDN Git Service

android-x86/art.git
10 years agoam 8d16f203: Merge "Add more read barriers for JNI roots."
Hiroshi Yamauchi [Fri, 20 Jun 2014 22:40:18 +0000 (22:40 +0000)]
am 8d16f203: Merge "Add more read barriers for JNI roots."

* commit '8d16f203d40ab4018986baa018e52185ad05dae6':
  Add more read barriers for JNI roots.

10 years agoam 2d2d6bb1: Merge "ART: Do not try to pretty-print method in dex file"
Andreas Gampe [Fri, 20 Jun 2014 09:23:41 +0000 (09:23 +0000)]
am 2d2d6bb1: Merge "ART: Do not try to pretty-print method in dex file"

* commit '2d2d6bb1ff8692efdddf104dabfb4a2d39877ff6':
  ART: Do not try to pretty-print method in dex file

10 years agoam 6d90efa6: Merge "ART: Method verifier needs to check 2-reg values"
Andreas Gampe [Fri, 20 Jun 2014 03:44:02 +0000 (03:44 +0000)]
am 6d90efa6: Merge "ART: Method verifier needs to check 2-reg values"

* commit '6d90efa6a67a0de0dc6136874b3d9797c778e912':
  ART: Method verifier needs to check 2-reg values

10 years agoMerge "ART: Method verifier needs to check 2-reg values"
Andreas Gampe [Fri, 20 Jun 2014 03:39:07 +0000 (03:39 +0000)]
Merge "ART: Method verifier needs to check 2-reg values"

10 years agoMerge "Add more read barriers for JNI roots."
Hiroshi Yamauchi [Fri, 20 Jun 2014 19:30:53 +0000 (19:30 +0000)]
Merge "Add more read barriers for JNI roots."

10 years agoAdd more read barriers for JNI roots.
Hiroshi Yamauchi [Wed, 18 Jun 2014 20:47:35 +0000 (13:47 -0700)]
Add more read barriers for JNI roots.

To make it possible to concurrently scan the JNI global roots (that
is, the roots visited by JavaVMExt::VisitRoots()), add read barriers
to the indirect reference table and the reference table.

Also, add read barriers to the jmethodID/jfieldID decode routines
(ScopedObjectAccessAlreadyRunnable::DecodeField/DecodeMethod) so that
we can concurrently handle (encoded) fields and methods.

Bug: 12687968
Change-Id: I3df4e4e622a572ff0ea8d44b2dc70a4d6b3ba058

10 years agoMerge "ART: Do not try to pretty-print method in dex file"
Andreas Gampe [Fri, 20 Jun 2014 05:58:42 +0000 (05:58 +0000)]
Merge "ART: Do not try to pretty-print method in dex file"

10 years agoART: Do not try to pretty-print method in dex file
Andreas Gampe [Fri, 20 Jun 2014 03:24:22 +0000 (20:24 -0700)]
ART: Do not try to pretty-print method in dex file

The code is called in verification when it is not clear yet whether
structures are valid. Simplify warning message.

Bug: 15754233
Change-Id: I85858a71143f41444ce9f00536d901c268afe547

10 years agoART: Method verifier needs to check 2-reg values
Andreas Gampe [Fri, 20 Jun 2014 00:29:48 +0000 (17:29 -0700)]
ART: Method verifier needs to check 2-reg values

The method verifier did not check against the second register
for a J or D parameter from a method signature.

The register line had a wrong DCHECK that did not catch this even
in debug mode.

Bug: 15751498
Change-Id: Ic6af08bf4704b3ab0f308dd9f0da28691a4cb024

10 years agoam 4a47f829: Merge "Quick compiler: remove Arm64 "EXPERIMENTAL" filter"
buzbee [Thu, 19 Jun 2014 23:13:45 +0000 (23:13 +0000)]
am 4a47f829: Merge "Quick compiler: remove Arm64 "EXPERIMENTAL" filter"

* commit '4a47f829ddcb82ca88f2a64da35ceca332066929':
  Quick compiler: remove Arm64 "EXPERIMENTAL" filter

10 years agoam a81fe3d5: Merge "x86_64: Several fixes required for enabling promotion"
Bill Buzbee [Thu, 19 Jun 2014 21:51:29 +0000 (21:51 +0000)]
am a81fe3d5: Merge "x86_64: Several fixes required for enabling promotion"

* commit 'a81fe3d512ef846aad3398222afd1f0588bbaf7c':
  x86_64: Several fixes required for enabling promotion

10 years agoam 7133659e: Merge "x86_64: Fix neg_double"
Bill Buzbee [Thu, 19 Jun 2014 21:26:12 +0000 (21:26 +0000)]
am 7133659e: Merge "x86_64: Fix neg_double"

* commit '7133659eeea45e391aa12affea75e39e8c300eb0':
  x86_64: Fix neg_double

10 years agoam 202e7478: Merge "ART: Log information when skipping method during compilation"
Andreas Gampe [Thu, 19 Jun 2014 20:49:52 +0000 (20:49 +0000)]
am 202e7478: Merge "ART: Log information when skipping method during compilation"

* commit '202e74780054ce2b0d87ddf0591cd83b6506de1d':
  ART: Log information when skipping method during compilation

10 years agoMerge "Quick compiler: remove Arm64 "EXPERIMENTAL" filter"
buzbee [Thu, 19 Jun 2014 23:05:02 +0000 (23:05 +0000)]
Merge "Quick compiler: remove Arm64 "EXPERIMENTAL" filter"

10 years agoQuick compiler: remove Arm64 "EXPERIMENTAL" filter
buzbee [Thu, 19 Jun 2014 22:04:12 +0000 (15:04 -0700)]
Quick compiler: remove Arm64 "EXPERIMENTAL" filter

Support for the compilation of all dex opcodes should now exist.
We'll go ahead and leave the filter code in for a new weeks, as it
may be handy if we need a quick workaround.

Change-Id: I8f1857136d78347b7d2337db2c793ad41ad45cb9

10 years agoMerge "x86_64: Fix neg_double"
Bill Buzbee [Thu, 19 Jun 2014 21:17:44 +0000 (21:17 +0000)]
Merge "x86_64: Fix neg_double"

10 years agoMerge "ART: Log information when skipping method during compilation"
Andreas Gampe [Thu, 19 Jun 2014 20:43:58 +0000 (20:43 +0000)]
Merge "ART: Log information when skipping method during compilation"

10 years agoam 4f975b9e: Merge "x86_64: Enable core.oat/boot.oat compilation"
Bill Buzbee [Thu, 19 Jun 2014 20:23:22 +0000 (20:23 +0000)]
am 4f975b9e: Merge "x86_64: Enable core.oat/boot.oat compilation"

* commit '4f975b9e2cb7eb50db27093eaa842b7400e52834':
  x86_64: Enable core.oat/boot.oat compilation

10 years agoam 70ac0d09: Merge "Add mark compact collector."
Mathieu Chartier [Thu, 19 Jun 2014 20:15:39 +0000 (20:15 +0000)]
am 70ac0d09: Merge "Add mark compact collector."

* commit '70ac0d09987eb38cc7f55a6b6f8fd92fa67706ce':
  Add mark compact collector.

10 years agoART: Log information when skipping method during compilation
Andreas Gampe [Thu, 19 Jun 2014 18:34:06 +0000 (11:34 -0700)]
ART: Log information when skipping method during compilation

Add a reason for skipping a method to the log.

Change-Id: I3b31ee64cce6b531b25397f646cdfee650704ad6

10 years agoMerge "x86_64: Enable core.oat/boot.oat compilation"
Bill Buzbee [Thu, 19 Jun 2014 20:18:35 +0000 (20:18 +0000)]
Merge "x86_64: Enable core.oat/boot.oat compilation"

10 years agoam 49e5ec42: Merge "ART: Start implementation of OpRegRegRegExtend for ARM64"
Andreas Gampe [Thu, 19 Jun 2014 17:32:35 +0000 (17:32 +0000)]
am 49e5ec42: Merge "ART: Start implementation of OpRegRegRegExtend for ARM64"

* commit '49e5ec42595b29e233fb92b8bd2cf8ade77c6501':
  ART: Start implementation of OpRegRegRegExtend for ARM64

10 years agoam 249fa663: Merge "Fix art_quick_instrumentation_exit for ARM64"
Sebastien Hertz [Thu, 19 Jun 2014 15:03:26 +0000 (15:03 +0000)]
am 249fa663: Merge "Fix art_quick_instrumentation_exit for ARM64"

* commit '249fa66368ba83d1c6b593259a9021861f32897b':
  Fix art_quick_instrumentation_exit for ARM64

10 years agoMerge "x86_64: Several fixes required for enabling promotion"
Bill Buzbee [Thu, 19 Jun 2014 21:44:43 +0000 (21:44 +0000)]
Merge "x86_64: Several fixes required for enabling promotion"

10 years agoam 4ef30e97: Merge "Add an option to enable collecting dex pc in ART profiler"
Calin Juravle [Thu, 19 Jun 2014 12:17:38 +0000 (12:17 +0000)]
am 4ef30e97: Merge "Add an option to enable collecting dex pc in ART profiler"

* commit '4ef30e9712ec4d61370a57351232edca723dff6b':
  Add an option to enable collecting dex pc in ART profiler

10 years agox86_64: Fix neg_double
Alexei Zavjalov [Wed, 18 Jun 2014 10:18:36 +0000 (17:18 +0700)]
x86_64: Fix neg_double

In a case, when src and dest regs are the same, previous
implementation of the neg_double bytecode returns an
incorrect result.

This implementation uses shifts and xor and works for both
cases.

Change-Id: I137d9a90298ec225d80435d35558da8abb69cd01
Signed-off-by: Alexei Zavjalov <alexei.zavjalov@intel.com>
10 years agoam 995b32cc: Merge "ART: Implicit checks in the compiler are independent from Runtime"
Andreas Gampe [Thu, 19 Jun 2014 09:22:19 +0000 (09:22 +0000)]
am 995b32cc: Merge "ART: Implicit checks in the compiler are independent from Runtime"

* commit '995b32cc8e94a9730d6cf663a23afc9c997c1771':
  ART: Implicit checks in the compiler are independent from Runtime

10 years agoam 69070788: Merge "ART: Reserve 8B for float literals on ARM64"
Andreas Gampe [Thu, 19 Jun 2014 09:22:16 +0000 (09:22 +0000)]
am 69070788: Merge "ART: Reserve 8B for float literals on ARM64"

* commit '69070788c5ed3e58303355277f746e834e677741':
  ART: Reserve 8B for float literals on ARM64

10 years agoam 57eb0b46: Merge "ART: Change rrr add and sub for ARM64"
Andreas Gampe [Thu, 19 Jun 2014 02:48:00 +0000 (02:48 +0000)]
am 57eb0b46: Merge "ART: Change rrr add and sub for ARM64"

* commit '57eb0b46e4b6ff91b5b74010057d6f733d869bfd':
  ART: Change rrr add and sub for ARM64

10 years agoam 48bb32a4: Merge "ART: Target-dependent stack overflow, less check elision"
Andreas Gampe [Thu, 19 Jun 2014 02:47:59 +0000 (02:47 +0000)]
am 48bb32a4: Merge "ART: Target-dependent stack overflow, less check elision"

* commit '48bb32a4373b42f649d6f7e53f77413acc94cbaf':
  ART: Target-dependent stack overflow, less check elision

10 years agoam ef38670c: Merge "Ensure classes are initialized rather than initializing."
Ian Rogers [Thu, 19 Jun 2014 00:10:05 +0000 (00:10 +0000)]
am ef38670c: Merge "Ensure classes are initialized rather than initializing."

* commit 'ef38670cae8462d579da983c1863f96717cccee6':
  Ensure classes are initialized rather than initializing.

10 years agoam 0c29909c: Merge "Assign a lower Locklevel for Mutexes used in QuasiAtomic operatio...
Ian Rogers [Wed, 18 Jun 2014 23:35:14 +0000 (23:35 +0000)]
am 0c29909c: Merge "Assign a lower Locklevel for Mutexes used in QuasiAtomic operations. This fixes the CompilerDriverTest on MIPS. The test was failing when Transaction::Abort() acquired intern_table_lock_ and log_lock_ and subsequently performed QuasiAtomic operatio

* commit '0c29909cbde112bc9c04da4ce81421e1a0b39f36':
  Assign a lower Locklevel for Mutexes used in QuasiAtomic operations. This fixes the CompilerDriverTest on MIPS. The test was failing when Transaction::Abort() acquired intern_table_lock_ and log_lock_ and subsequently performed QuasiAtomic operations.

10 years agoMerge "Assign a lower Locklevel for Mutexes used in QuasiAtomic operations. This...
Ian Rogers [Wed, 18 Jun 2014 23:24:40 +0000 (23:24 +0000)]
Merge "Assign a lower Locklevel for Mutexes used in QuasiAtomic operations. This fixes the CompilerDriverTest on MIPS. The test was failing when Transaction::Abort() acquired intern_table_lock_ and log_lock_ and subsequently performed QuasiAtomic operations."

10 years agoMerge "ART: Implicit checks in the compiler are independent from Runtime"
Andreas Gampe [Thu, 19 Jun 2014 06:56:51 +0000 (06:56 +0000)]
Merge "ART: Implicit checks in the compiler are independent from Runtime"

10 years agoART: Implicit checks in the compiler are independent from Runtime
Andreas Gampe [Tue, 17 Jun 2014 23:36:07 +0000 (16:36 -0700)]
ART: Implicit checks in the compiler are independent from Runtime

When cross-compiling, those flags are independent. This is an
initial CL that helps bypass fatal failures when cross-compiling,
as not all architectures support (and have turned on) implicit
checks.

The actual transport for the target architecture when it is
different from the runtime needs to be implemented in a follow-up
CL.

Bug: 15703710
Change-Id: Idc881a9a4abfd38643b862a491a5af9b8841f693

10 years agoMerge "ART: Reserve 8B for float literals on ARM64"
Andreas Gampe [Thu, 19 Jun 2014 06:42:33 +0000 (06:42 +0000)]
Merge "ART: Reserve 8B for float literals on ARM64"

10 years agoART: Reserve 8B for float literals on ARM64
Andreas Gampe [Thu, 19 Jun 2014 06:19:07 +0000 (23:19 -0700)]
ART: Reserve 8B for float literals on ARM64

This is a cludge to make sure literal pools will be 8B aligned.
A better approach would be post-processing - that way we could
pack the floats.

Change-Id: Ia9c6f53e0f6e37b4be79e1efe7f14feb49f2052b

10 years agoMerge "ART: Change rrr add and sub for ARM64"
Andreas Gampe [Thu, 19 Jun 2014 02:39:37 +0000 (02:39 +0000)]
Merge "ART: Change rrr add and sub for ARM64"

10 years agoART: Change rrr add and sub for ARM64
Andreas Gampe [Thu, 19 Jun 2014 00:45:32 +0000 (17:45 -0700)]
ART: Change rrr add and sub for ARM64

OpRegRegImm will fall back to loading a constant into a register
and then doing the operation with three registers. That is, for
example, the case when we allocate large stack frames. However,
the currently chosen operations are add/sub shifted, which does
*not* allow to specify SP (x31 will be interpreted as xzr). Switch
to add/sub extended. There won't be a practical difference, as we
do not call with anything other than 0 shift.

Change-Id: I2b78df9f044d2963e3e890777c855b339952f9f4

10 years agoMerge "ART: Target-dependent stack overflow, less check elision"
Andreas Gampe [Thu, 19 Jun 2014 02:39:21 +0000 (02:39 +0000)]
Merge "ART: Target-dependent stack overflow, less check elision"

10 years agoART: Target-dependent stack overflow, less check elision
Andreas Gampe [Thu, 19 Jun 2014 00:01:15 +0000 (17:01 -0700)]
ART: Target-dependent stack overflow, less check elision

Refactor the separate stack overflow reserved sizes from thread.h
into instruction_set.h and make sure they're used in the compiler.

Refactor the decision on when to elide stack overflow checks:
especially with large interpreter stack frames, it is not a good
idea to elide checks when the frame size is even close to the
reserved size. Currently enforce checks when the frame size is
>= 2KB, but make sure that frame sizes 1KB and below will elide
the checks (number from experience).

Bug: 15728765
Change-Id: I016bfd3d8218170cbccbd123ed5e2203db167c06

10 years agoMerge "Ensure classes are initialized rather than initializing."
Ian Rogers [Wed, 18 Jun 2014 23:56:39 +0000 (23:56 +0000)]
Merge "Ensure classes are initialized rather than initializing."

10 years agoEnsure classes are initialized rather than initializing.
Ian Rogers [Wed, 18 Jun 2014 23:07:20 +0000 (16:07 -0700)]
Ensure classes are initialized rather than initializing.

A class can be being initialized on a different thread, in that case other
threads should block trying to access the class. The initializing state shows
the class is being initialized but not that its safe for other threads to
access. Change occurances of IsInitializing to IsInitialized primarily in
slow-path code.
Bug: 15347354

Change-Id: Ib586d0a385be6086a890dfbf8868d76f16767fac

10 years agoMerge "ART: Start implementation of OpRegRegRegExtend for ARM64"
Andreas Gampe [Thu, 19 Jun 2014 17:23:37 +0000 (17:23 +0000)]
Merge "ART: Start implementation of OpRegRegRegExtend for ARM64"

10 years agoART: Start implementation of OpRegRegRegExtend for ARM64
Andreas Gampe [Thu, 19 Jun 2014 08:10:07 +0000 (01:10 -0700)]
ART: Start implementation of OpRegRegRegExtend for ARM64

We need a sign-extending add for packed-switch and sparse-switch,
as the 32b values are signed offsets. This starts an implementation
that is sufficient for the use cases.

Change-Id: Ib5bae24b902077346a97d5e9e061533f9cdfcdb0

10 years agoam 241fd119: Merge "Fix GetMethodID to find an interface method from a super-interface"
Brian Carlstrom [Wed, 18 Jun 2014 16:57:07 +0000 (16:57 +0000)]
am 241fd119: Merge "Fix GetMethodID to find an interface method from a super-interface"

* commit '241fd1192dfc0f7322660343179f9fc0591ed9ff':
  Fix GetMethodID to find an interface method from a super-interface

10 years agox86_64: Enable core.oat/boot.oat compilation
Dmitry Petrochenko [Fri, 13 Jun 2014 08:15:32 +0000 (15:15 +0700)]
x86_64: Enable core.oat/boot.oat compilation

This patch enabled compilation of image.

Change-Id: Idacce4a3898964d3a05762925dba236d7254a254
Signed-off-by: Dmitry Petrochenko <dmitry.petrochenko@intel.com>
10 years agoam 06729a64: Merge "Add missing parens to Makefile rule."
Nicolas Geoffray [Wed, 18 Jun 2014 15:21:22 +0000 (15:21 +0000)]
am 06729a64: Merge "Add missing parens to Makefile rule."

* commit '06729a643fe4a2b70f2c9258cd0a8eb23eb45df4':
  Add missing parens to Makefile rule.

10 years agoam 7258eaa0: Merge "Build rules for running run-test with optimizing compiler."
Nicolas Geoffray [Wed, 18 Jun 2014 14:44:32 +0000 (14:44 +0000)]
am 7258eaa0: Merge "Build rules for running run-test with optimizing compiler."

* commit '7258eaa0c78d14c779231c025608dc617a6dca69':
  Build rules for running run-test with optimizing compiler.

10 years agoam 9b743ef7: Merge "AArch64: Fix OpCmpMemImmBranch."
Bill Buzbee [Wed, 18 Jun 2014 13:26:33 +0000 (13:26 +0000)]
am 9b743ef7: Merge "AArch64: Fix OpCmpMemImmBranch."

* commit '9b743ef7955a70952f3e147f9ce8d9d47c9051f9':
  AArch64: Fix OpCmpMemImmBranch.

10 years agox86_64: Several fixes required for enabling promotion
Dmitry Petrochenko [Wed, 18 Jun 2014 12:11:41 +0000 (19:11 +0700)]
x86_64: Several fixes required for enabling promotion

This patch includes x86_64 fixes which solve the issues
reproducible with promotion optimization enabled.

Change-Id: I3a3b0d290380d639705cd58f38b8d62b1eb930d3
Signed-off-by: Serguei Katkov <serguei.i.katkov@intel.com>
Signed-off-by: Dmitry Petrochenko <dmitry.petrochenko@intel.com>
10 years agoam 5969734b: Merge "Add x86 inlined abs method for float/double"
Vladimir Marko [Wed, 18 Jun 2014 11:23:03 +0000 (11:23 +0000)]
am 5969734b: Merge "Add x86 inlined abs method for float/double"

* commit '5969734b3036a7073c378e0687dd3e90c43d21a7':
  Add x86 inlined abs method for float/double

10 years agoam 71921a3f: Merge "x86_64: Clobber r8 to r11 and xmm0 to xmm15"
Ian Rogers [Wed, 18 Jun 2014 10:05:09 +0000 (10:05 +0000)]
am 71921a3f: Merge "x86_64: Clobber r8 to r11 and xmm0 to xmm15"

* commit '71921a3ff18ba27061a013465c1b2d850a235dfa':
  x86_64: Clobber r8 to r11 and xmm0 to xmm15

10 years agoam ad6a3285: Merge "Fix systrace logging, total paused time, and bytes saved message."
Mathieu Chartier [Tue, 17 Jun 2014 23:12:01 +0000 (23:12 +0000)]
am ad6a3285: Merge "Fix systrace logging, total paused time, and bytes saved message."

* commit 'ad6a328506e30b7feb8ddfd2867dec7633a3e52b':
  Fix systrace logging, total paused time, and bytes saved message.

10 years agoMerge "Fix systrace logging, total paused time, and bytes saved message."
Mathieu Chartier [Tue, 17 Jun 2014 23:00:01 +0000 (23:00 +0000)]
Merge "Fix systrace logging, total paused time, and bytes saved message."

10 years agoFix systrace logging, total paused time, and bytes saved message.
Mathieu Chartier [Tue, 17 Jun 2014 22:04:40 +0000 (15:04 -0700)]
Fix systrace logging, total paused time, and bytes saved message.

Moved the GC top level systrace logging to be inside of Collector::Run.
This prevents cases where we forgot to call it such as background
compaction. Fixed a unit error regarding total pause time. Fixed
negative bytes saved to use the word "expanded".

Bug: 15702709

Change-Id: Ic2991ecad2daa000d0aee9d559b8bc77d8c160aa

10 years agoam 4fab5a1f: Merge "Enable background compaction by default"
Mathieu Chartier [Tue, 17 Jun 2014 22:42:16 +0000 (22:42 +0000)]
am 4fab5a1f: Merge "Enable background compaction by default"

* commit '4fab5a1f9b34f558d1f4002de73e233d8a0d47b7':
  Enable background compaction by default

10 years agoMerge "Add an option to enable collecting dex pc in ART profiler"
Calin Juravle [Thu, 19 Jun 2014 12:09:33 +0000 (12:09 +0000)]
Merge "Add an option to enable collecting dex pc in ART profiler"

10 years agoAdd an option to enable collecting dex pc in ART profiler
Wei Jin [Mon, 9 Jun 2014 23:19:15 +0000 (16:19 -0700)]
Add an option to enable collecting dex pc in ART profiler

This CL allows the ART profiler to collect both method signature and
dex pc. The type of the profile data is controlled by the option
"-Xprofile-type:{method,dexpc}". To avoid conflicting with the
original profile data based on method signatures, the new profile
data are stored in files with extension ".pc".

Change-Id: I8afb2541d386bff77c5b07fc9367d817a79f58e1

10 years agoMerge "Add missing parens to Makefile rule."
Nicolas Geoffray [Wed, 18 Jun 2014 15:08:40 +0000 (15:08 +0000)]
Merge "Add missing parens to Makefile rule."

10 years agoAdd missing parens to Makefile rule.
Nicolas Geoffray [Wed, 18 Jun 2014 15:07:49 +0000 (16:07 +0100)]
Add missing parens to Makefile rule.

Change-Id: I5bff24a696a07c734d05d0ee42f3cf6cd57c0904

10 years agoMerge "Build rules for running run-test with optimizing compiler."
Nicolas Geoffray [Wed, 18 Jun 2014 14:37:12 +0000 (14:37 +0000)]
Merge "Build rules for running run-test with optimizing compiler."

10 years agoMerge "Add x86 inlined abs method for float/double"
Vladimir Marko [Wed, 18 Jun 2014 11:14:22 +0000 (11:14 +0000)]
Merge "Add x86 inlined abs method for float/double"

10 years agoAdd x86 inlined abs method for float/double
Yixin Shou [Wed, 5 Mar 2014 11:07:48 +0000 (06:07 -0500)]
Add x86 inlined abs method for float/double

Add the optimized implementation of inlined abs method for
float/double for X86 side.

Change-Id: I2f367542f321d88a976129f9f7156fd3c2965c8a
Signed-off-by: Yixin Shou <yixin.shou@intel.com>
10 years agoMerge "Fix art_quick_instrumentation_exit for ARM64"
Sebastien Hertz [Thu, 19 Jun 2014 14:55:02 +0000 (14:55 +0000)]
Merge "Fix art_quick_instrumentation_exit for ARM64"

10 years agoFix art_quick_instrumentation_exit for ARM64
Sebastien Hertz [Thu, 19 Jun 2014 09:51:41 +0000 (11:51 +0200)]
Fix art_quick_instrumentation_exit for ARM64

Stores the integer result in x0 into the stack. Also avoids clobbering integer
result in x0 by setting it to xSELF after copying it to x2 when calling the
artInstrumentationMethodExitFromCode function.

Bug: 15690361
Change-Id: I9fb873cf32f194779f299607dda8a7316a99c528

10 years agoMerge "Add mark compact collector."
Mathieu Chartier [Thu, 19 Jun 2014 20:10:51 +0000 (20:10 +0000)]
Merge "Add mark compact collector."

10 years agoAdd mark compact collector.
Mathieu Chartier [Tue, 10 Jun 2014 18:22:31 +0000 (11:22 -0700)]
Add mark compact collector.

The mark compact collector is a 4 phase collection, doing a normal
full mark_sweep, calculating forwarding addresses of objects in the
from space, updating references of objects in the from space, and
moving the objects in the from space.

Support is diabled by default since it needs to have non movable
classes and field arrays. Performance numbers is around 50% as fast.

The main advantage that this has over semispace is that the worst
case memory usage is 50% since we only need one space isntead of two.

TODO: Make field arrays and classes movable. This causes complication
since Object::VisitReferences relies on these, so if we update the
fields of an object but another future object uses this object to
figure out what fields are reference fields it doesn't work.

Bug: 14059466

Change-Id: I661ed3b71ad4dde124ef80312c95696b4a5665a1

10 years agoMerge "Fix GetMethodID to find an interface method from a super-interface"
Brian Carlstrom [Wed, 18 Jun 2014 16:44:50 +0000 (16:44 +0000)]
Merge "Fix GetMethodID to find an interface method from a super-interface"

10 years agoFix GetMethodID to find an interface method from a super-interface
Brian Carlstrom [Wed, 18 Jun 2014 15:34:01 +0000 (08:34 -0700)]
Fix GetMethodID to find an interface method from a super-interface

Bug: 15651032
Change-Id: I5df113e9489a1615e901f03bed92ed2a1a42bd67

10 years agoMerge "Enable background compaction by default"
Mathieu Chartier [Tue, 17 Jun 2014 22:28:15 +0000 (22:28 +0000)]
Merge "Enable background compaction by default"

10 years agoMerge "AArch64: Fix OpCmpMemImmBranch."
Bill Buzbee [Wed, 18 Jun 2014 13:17:33 +0000 (13:17 +0000)]
Merge "AArch64: Fix OpCmpMemImmBranch."

10 years agoAArch64: Fix OpCmpMemImmBranch.
Zheng Xu [Tue, 17 Jun 2014 10:17:31 +0000 (18:17 +0800)]
AArch64: Fix OpCmpMemImmBranch.

The temp register can be 64-bit in some cases(ArgReg or RefReg).
Always compare 32-bit value no matter what the temp register is.

Change-Id: Ib237dd081da0b5900b8c2418df1621d3245cb03d

10 years agoMerge "x86_64: Clobber r8 to r11 and xmm0 to xmm15"
Ian Rogers [Wed, 18 Jun 2014 09:46:57 +0000 (09:46 +0000)]
Merge "x86_64: Clobber r8 to r11 and xmm0 to xmm15"

10 years agoam dd69b14f: Merge "Fix error with remembered sets creation."
Mathieu Chartier [Tue, 17 Jun 2014 19:05:12 +0000 (19:05 +0000)]
am dd69b14f: Merge "Fix error with remembered sets creation."

* commit 'dd69b14f522d9cf8230e38c69bf3952a8073c02a':
  Fix error with remembered sets creation.

10 years agoEnable background compaction by default
Mathieu Chartier [Tue, 17 Jun 2014 19:01:06 +0000 (12:01 -0700)]
Enable background compaction by default

Bug: 8981901

Change-Id: I2b1fe8169779268c130b8804961f968e1ba43cda

10 years agoam bfa45cdd: Merge "Change reference processing to use heap references."
Mathieu Chartier [Tue, 17 Jun 2014 18:58:40 +0000 (18:58 +0000)]
am bfa45cdd: Merge "Change reference processing to use heap references."

* commit 'bfa45cdda3e65cefb61fdbe75e8f4c13087d4641':
  Change reference processing to use heap references.

10 years agoam 9506afda: Merge "Revert "Add x86 inlined abs method for float/double""
Vladimir Marko [Tue, 17 Jun 2014 18:19:34 +0000 (18:19 +0000)]
am 9506afda: Merge "Revert "Add x86 inlined abs method for float/double""

* commit '9506afda1776a7a14f8ec22588d6cadc2acbeee3':
  Revert "Add x86 inlined abs method for float/double"

10 years agoam b5c526df: Merge "AArch64: Add transition assembly to wrapper native functions."
Bill Buzbee [Tue, 17 Jun 2014 18:07:43 +0000 (18:07 +0000)]
am b5c526df: Merge "AArch64: Add transition assembly to wrapper native functions."

* commit 'b5c526df4c2f9a7fccd7602628f265ba20cb1476':
  AArch64: Add transition assembly to wrapper native functions.

10 years agoam 38510acc: Merge "ART: Make verifier check invocation args of unresolved methods"
Andreas Gampe [Tue, 17 Jun 2014 16:08:03 +0000 (16:08 +0000)]
am 38510acc: Merge "ART: Make verifier check invocation args of unresolved methods"

* commit '38510acc063ca32c2a842101d3d0006a0b2a4931':
  ART: Make verifier check invocation args of unresolved methods

10 years agoam fbb2ea0b: Merge "Revert "Revert "Fix access to FP registers when visiting stack"""
Sebastien Hertz [Tue, 17 Jun 2014 16:02:26 +0000 (16:02 +0000)]
am fbb2ea0b: Merge "Revert "Revert "Fix access to FP registers when visiting stack"""

* commit 'fbb2ea0bc20aa2d11abb0ac50df40fbb3bb1a6f2':
  Revert "Revert "Fix access to FP registers when visiting stack""

10 years agoam 838b38fa: Merge "ART: Implement rem_double/rem_float for x86/x86-64"
Bill Buzbee [Tue, 17 Jun 2014 13:15:18 +0000 (13:15 +0000)]
am 838b38fa: Merge "ART: Implement rem_double/rem_float for x86/x86-64"

* commit '838b38fa3b2fb4a64f8a316459d372020f6e8feb':
  ART: Implement rem_double/rem_float for x86/x86-64

10 years agoam f4d7d950: Merge "Fix build: style issue."
Vladimir Marko [Tue, 17 Jun 2014 10:26:18 +0000 (10:26 +0000)]
am f4d7d950: Merge "Fix build: style issue."

* commit 'f4d7d950ec4765dbb96bcf88fa3b6c3a7c477865':
  Fix build: style issue.

10 years agoam a992a282: Merge "Revert "Fix access to FP registers when visiting stack""
Sebastien Hertz [Tue, 17 Jun 2014 10:00:44 +0000 (10:00 +0000)]
am a992a282: Merge "Revert "Fix access to FP registers when visiting stack""

* commit 'a992a2820c70997d80bb46d09831a66a60827d17':
  Revert "Fix access to FP registers when visiting stack"

10 years agoam d87c29c7: Merge "Add x86 inlined abs method for float/double"
Vladimir Marko [Tue, 17 Jun 2014 09:56:09 +0000 (09:56 +0000)]
am d87c29c7: Merge "Add x86 inlined abs method for float/double"

* commit 'd87c29c7c5f04f643677d87cd202e90bda8fed02':
  Add x86 inlined abs method for float/double

10 years agoam 988bbed8: Merge "Fix access to FP registers when visiting stack"
Sebastien Hertz [Tue, 17 Jun 2014 09:32:54 +0000 (09:32 +0000)]
am 988bbed8: Merge "Fix access to FP registers when visiting stack"

* commit '988bbed8d3b3239f69d548aaf05580cdde3349d2':
  Fix access to FP registers when visiting stack

10 years agoam 4b855675: Merge "Fix run-test for OSX."
Ian Rogers [Tue, 17 Jun 2014 08:52:37 +0000 (08:52 +0000)]
am 4b855675: Merge "Fix run-test for OSX."

* commit '4b855675b7c77e265aa69a9134dd50cc21273095':
  Fix run-test for OSX.

10 years agoMerge "Fix error with remembered sets creation."
Mathieu Chartier [Tue, 17 Jun 2014 18:45:34 +0000 (18:45 +0000)]
Merge "Fix error with remembered sets creation."

10 years agoFix error with remembered sets creation.
Mathieu Chartier [Tue, 17 Jun 2014 16:50:02 +0000 (09:50 -0700)]
Fix error with remembered sets creation.

There was an error where we were not re-creating the remembered sets
in PreZygoteFork. This caused a rare check failure due to the
stale remembered set occasionally having the same space as the newly
created one.

Bug: 15680452
Change-Id: Ibfa569e67ad0ff032f3e9696a99b992a18583243

10 years agoMerge "Change reference processing to use heap references."
Mathieu Chartier [Tue, 17 Jun 2014 18:43:23 +0000 (18:43 +0000)]
Merge "Change reference processing to use heap references."

10 years agoMerge "AArch64: Add transition assembly to wrapper native functions."
Bill Buzbee [Tue, 17 Jun 2014 17:53:43 +0000 (17:53 +0000)]
Merge "AArch64: Add transition assembly to wrapper native functions."

10 years agoAArch64: Add transition assembly to wrapper native functions.
Zheng Xu [Tue, 17 Jun 2014 04:25:48 +0000 (12:25 +0800)]
AArch64: Add transition assembly to wrapper native functions.

There is slight difference between managed code ABI and AAPCS. We
can make managed code ABI to be the same with AAPCS. But considering
that, we might introduce more differences later for performance. It
is better to have a wrapper to deal with the differences.

Change-Id: I46ced072e9e3a83f713d2bf86fa478fc6144ee81

10 years agoMerge "ART: Implement rem_double/rem_float for x86/x86-64"
Bill Buzbee [Tue, 17 Jun 2014 13:07:38 +0000 (13:07 +0000)]
Merge "ART: Implement rem_double/rem_float for x86/x86-64"

10 years agoART: Implement rem_double/rem_float for x86/x86-64
Alexei Zavjalov [Wed, 11 Jun 2014 20:08:01 +0000 (03:08 +0700)]
ART: Implement rem_double/rem_float for x86/x86-64

This adds inlined version of the rem_double/rem_float bytecodes
for x86/x86-64 platforms. This patch also removes unnecessary
fmod and fmodf stubs from runtime.

Change-Id: I2311aa2adf08d6614527e0da070e3b6ce2343a20
Signed-off-by: Alexei Zavjalov <alexei.zavjalov@intel.com>
10 years agoMerge "Fix run-test for OSX."
Ian Rogers [Tue, 17 Jun 2014 05:24:03 +0000 (05:24 +0000)]
Merge "Fix run-test for OSX."

10 years agoFix run-test for OSX.
Ian Rogers [Tue, 17 Jun 2014 05:16:21 +0000 (22:16 -0700)]
Fix run-test for OSX.

Change-Id: I6b5dfeba5a3d04fa2bea3fde4604fa84ed362615

10 years agoMerge "ART: Make verifier check invocation args of unresolved methods"
Andreas Gampe [Tue, 17 Jun 2014 15:58:28 +0000 (15:58 +0000)]
Merge "ART: Make verifier check invocation args of unresolved methods"

10 years agoMerge "Fix build: style issue."
Vladimir Marko [Tue, 17 Jun 2014 10:18:36 +0000 (10:18 +0000)]
Merge "Fix build: style issue."

10 years agoFix build: style issue.
Vladimir Marko [Tue, 17 Jun 2014 10:13:30 +0000 (11:13 +0100)]
Fix build: style issue.

Change-Id: I2a1e81dc7c95b7e21f4fde47e2f88dae653b25f0

10 years agoMerge "Fix access to FP registers when visiting stack"
Sebastien Hertz [Tue, 17 Jun 2014 09:22:17 +0000 (09:22 +0000)]
Merge "Fix access to FP registers when visiting stack"