OSDN Git Service

android-x86/art.git
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 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.

9 years agoMerge "Fix heap trimmer daemon sleeping." into lmp-dev
Mathieu Chartier [Thu, 4 Sep 2014 17:38:39 +0000 (17:38 +0000)]
Merge "Fix heap trimmer daemon sleeping." into lmp-dev

9 years agoFix heap trimmer daemon sleeping.
Mathieu Chartier [Thu, 4 Sep 2014 04:26:36 +0000 (21:26 -0700)]
Fix heap trimmer daemon sleeping.

Problem:
Heap trimmer daemon sleeping caused app launch occasionally to take a
while due stopping the heap trimming thread taking a long time.

The heap trimmer thread now never sleeps, we prevent issues caused
by frequent back and forth process state changes by only
transitioning to background if it has been kCollectorTransitionWait
time since the last transition to background. Similar logic for heap
trimming.

Bug: 17310019

Change-Id: I23980421cc388f36b66a4c03ed15dd11d43f59b5

9 years agoresolved conflicts for merge of 7b04ae29 to lmp-dev-plus-aosp
Ian Rogers [Thu, 4 Sep 2014 17:31:03 +0000 (10:31 -0700)]
resolved conflicts for merge of 7b04ae29 to lmp-dev-plus-aosp

Change-Id: I14be394092fb83ef2707614e3a9822acb4306d72

9 years agoMerge "VisitClassesWithoutClassesLock isn't safe if classes move."
Ian Rogers [Thu, 4 Sep 2014 17:23:53 +0000 (17:23 +0000)]
Merge "VisitClassesWithoutClassesLock isn't safe if classes move."

9 years agoMerge "Fix stack overflow and duplicate methods while tracing."
Ian Rogers [Thu, 4 Sep 2014 17:09:14 +0000 (17:09 +0000)]
Merge "Fix stack overflow and duplicate methods while tracing."

9 years agoam 3c2559a1: am 57f2bbda: ART: Fix x86_64 GenSelect case when destination is Ref
Jean Christophe Beyler [Thu, 4 Sep 2014 17:07:01 +0000 (17:07 +0000)]
am 3c2559a1: am 57f2bbda: ART: Fix x86_64 GenSelect case when destination is Ref

* commit '3c2559a194fce54300e6e1d86f6c2ce57ff25e4d':
  ART: Fix x86_64 GenSelect case when destination is Ref

9 years agoFix stack overflow and duplicate methods while tracing.
Jeff Hao [Wed, 3 Sep 2014 20:48:16 +0000 (13:48 -0700)]
Fix stack overflow and duplicate methods while tracing.

Bug: 16386215
Change-Id: I0d0ae0113a3a00013ce84a1f5a110e2c52f19b86
(cherry picked from commit 6b28a456b075fe53dfb7e924a44dbf35d0d41eb3)

9 years agoam 57f2bbda: ART: Fix x86_64 GenSelect case when destination is Ref
Jean Christophe Beyler [Thu, 4 Sep 2014 16:55:10 +0000 (16:55 +0000)]
am 57f2bbda: ART: Fix x86_64 GenSelect case when destination is Ref

* commit '57f2bbda741d2d3d769a50268b4e0b9b54959684':
  ART: Fix x86_64 GenSelect case when destination is Ref

9 years agoam 53558354: Merge "ART: Fix x86_64 GenSelect case when destination is Ref"
Ian Rogers [Thu, 4 Sep 2014 16:32:23 +0000 (16:32 +0000)]
am 53558354: Merge "ART: Fix x86_64 GenSelect case when destination is Ref"

* commit '5355835411cafcc2772e061cb7aef3b8ca1e6ea1':
  ART: Fix x86_64 GenSelect case when destination is Ref

9 years agoART: Fix x86_64 GenSelect case when destination is Ref
Jean Christophe Beyler [Thu, 4 Sep 2014 15:34:28 +0000 (08:34 -0700)]
ART: Fix x86_64 GenSelect case when destination is Ref

Reference in x86_64 is a 64-bit solo register. As a result, the invocation
  of OpRegImm results in an error when Select opcode of the kind:
    ref = boolean ? null : null;
because opRegImm does not support 64-bit destination for OpMov.

The case above is only possible for ref because no one other constant except
  null is possible.

Bug: 17327895
Change-Id: I7541e744ec1c8619711712fd17be72764efcf3a8
Signed-off-by: Serguei Katkov <serguei.i.katkov@intel.com>
(cherry picked from commit 3f51e7d942c22edaab3a7e703a1e6a2dd6a26f77)

9 years agoMerge "ART: Fix x86_64 GenSelect case when destination is Ref"
Ian Rogers [Thu, 4 Sep 2014 16:14:37 +0000 (16:14 +0000)]
Merge "ART: Fix x86_64 GenSelect case when destination is Ref"

9 years agoART: Fix x86_64 GenSelect case when destination is Ref
Jean Christophe Beyler [Thu, 4 Sep 2014 15:34:28 +0000 (08:34 -0700)]
ART: Fix x86_64 GenSelect case when destination is Ref

Reference in x86_64 is a 64-bit solo register. As a result, the invocation
  of OpRegImm results in an error when Select opcode of the kind:
    ref = boolean ? null : null;
because opRegImm does not support 64-bit destination for OpMov.

The case above is only possible for ref because no one other constant except
  null is possible.

Bug: 17327895
Change-Id: I7541e744ec1c8619711712fd17be72764efcf3a8
Signed-off-by: Serguei Katkov <serguei.i.katkov@intel.com>
9 years agoam 90fd7f57: am 607dcd8a: Merge "ART: Fix computation of frame size for direct proxy...
Ian Rogers [Thu, 4 Sep 2014 16:10:58 +0000 (16:10 +0000)]
am 90fd7f57: am 607dcd8a: Merge "ART: Fix computation of frame size for direct proxy methods" into lmp-dev

* commit '90fd7f5762bfbc9009fb1acfeb7815fb2ca6cfb9':
  ART: Fix computation of frame size for direct proxy methods

9 years agoam f96ad932: Merge "ART: Reduce LockCallTemps usage"
Ian Rogers [Thu, 4 Sep 2014 16:05:21 +0000 (16:05 +0000)]
am f96ad932: Merge "ART: Reduce LockCallTemps usage"

* commit 'f96ad932cf2c4f814f92ed3a8679d50aa1b02dcd':
  ART: Reduce LockCallTemps usage

9 years agoam 607dcd8a: Merge "ART: Fix computation of frame size for direct proxy methods"...
Ian Rogers [Thu, 4 Sep 2014 15:59:36 +0000 (15:59 +0000)]
am 607dcd8a: Merge "ART: Fix computation of frame size for direct proxy methods" into lmp-dev

* commit '607dcd8a2aca4e44a564b7839c285315230545fd':
  ART: Fix computation of frame size for direct proxy methods

9 years agoam 2fb54e87: Merge "ART: Allow oatdump to print vr stack locations"
Ian Rogers [Thu, 4 Sep 2014 15:55:14 +0000 (15:55 +0000)]
am 2fb54e87: Merge "ART: Allow oatdump to print vr stack locations"

* commit '2fb54e875697126de075ae736fd6cb136b7b4f94':
  ART: Allow oatdump to print vr stack locations

9 years agoMerge "ART: Fix computation of frame size for direct proxy methods" into lmp-dev
Ian Rogers [Thu, 4 Sep 2014 15:53:16 +0000 (15:53 +0000)]
Merge "ART: Fix computation of frame size for direct proxy methods" into lmp-dev

9 years agoMerge "ART: Reduce LockCallTemps usage"
Ian Rogers [Thu, 4 Sep 2014 15:48:22 +0000 (15:48 +0000)]
Merge "ART: Reduce LockCallTemps usage"

9 years agoART: Reduce LockCallTemps usage
Maxim Kazantsev [Mon, 18 Aug 2014 11:43:55 +0000 (18:43 +0700)]
ART: Reduce LockCallTemps usage

Using FlushAllRegs/LockCallTemps in integer arithmetics causes
excess register flushing and clobbering. This patch adds API that
allows to flush, clobber and lock only those registers we really
need for calculations.

Change-Id: Idabaa4fff4d18a33e5040a80f66f2df6432f8be0
Signed-off-by: Max Kazantsev <maxim.kazantsev@intel.com>
9 years agoam 328c430e: Merge "ART: Vectorization opcode implementation fixes"
Ian Rogers [Thu, 4 Sep 2014 15:45:01 +0000 (15:45 +0000)]
am 328c430e: Merge "ART: Vectorization opcode implementation fixes"

* commit '328c430e923ce8d18532d0fdd26cd233e73763dd':
  ART: Vectorization opcode implementation fixes

9 years agoMerge "ART: Allow oatdump to print vr stack locations"
Ian Rogers [Thu, 4 Sep 2014 15:36:20 +0000 (15:36 +0000)]
Merge "ART: Allow oatdump to print vr stack locations"

9 years agoART: Allow oatdump to print vr stack locations
Razvan A Lupusoru [Sat, 30 Aug 2014 00:56:46 +0000 (17:56 -0700)]
ART: Allow oatdump to print vr stack locations

For both debugging and performance analysis, it is necessary to understand
stack layout. This patch adds capability to oatdump to print out the offsets
of the locals, ins, method*, and out VRs.

Change-Id: I73512f59e4fd2d2b12725a6c76d602182c46ff78
Signed-off-by: Razvan A Lupusoru <razvan.a.lupusoru@intel.com>
9 years agoam d73f52b1: Merge "Add numerator check for integer divide and modulo"
Ian Rogers [Thu, 4 Sep 2014 15:34:15 +0000 (15:34 +0000)]
am d73f52b1: Merge "Add numerator check for integer divide and modulo"

* commit 'd73f52b1b9bea825d98830a906511a9e97ab277d':
  Add numerator check for integer divide and modulo

9 years agoam bfa2b553: Merge "ART: Only call CalculateBasicBlockInformation once"
Ian Rogers [Thu, 4 Sep 2014 15:34:14 +0000 (15:34 +0000)]
am bfa2b553: Merge "ART: Only call CalculateBasicBlockInformation once"

* commit 'bfa2b5537a138c15895a67c55de38bb83fcd03c3':
  ART: Only call CalculateBasicBlockInformation once

9 years agoMerge "ART: Vectorization opcode implementation fixes"
Ian Rogers [Thu, 4 Sep 2014 15:27:29 +0000 (15:27 +0000)]
Merge "ART: Vectorization opcode implementation fixes"

9 years agoMerge "Add numerator check for integer divide and modulo"
Ian Rogers [Thu, 4 Sep 2014 15:20:55 +0000 (15:20 +0000)]
Merge "Add numerator check for integer divide and modulo"

9 years agoMerge "ART: Only call CalculateBasicBlockInformation once"
Ian Rogers [Thu, 4 Sep 2014 15:14:44 +0000 (15:14 +0000)]
Merge "ART: Only call CalculateBasicBlockInformation once"

9 years agoART: Only call CalculateBasicBlockInformation once
Jean Christophe Beyler [Tue, 2 Sep 2014 21:22:17 +0000 (14:22 -0700)]
ART: Only call CalculateBasicBlockInformation once

CalculateBasicBlockInformation gets called twice now when dirty is true.

Change-Id: I8aa0569e4c00ea884a45ecea957a4ae06a328969
Signed-off-by: Jean Christophe Beyler <jean.christophe.beyler@intel.com>
9 years agoam 7b3dd82b: Merge "ART: Fix computation of frame size for direct proxy methods"
Ian Rogers [Thu, 4 Sep 2014 14:39:15 +0000 (14:39 +0000)]
am 7b3dd82b: Merge "ART: Fix computation of frame size for direct proxy methods"

* commit '7b3dd82bfaa2b3558587f1614144ad8ccfdbd7a9':
  ART: Fix computation of frame size for direct proxy methods

9 years agoART: Fix computation of frame size for direct proxy methods
Serguei Katkov [Fri, 29 Aug 2014 11:20:15 +0000 (18:20 +0700)]
ART: Fix computation of frame size for direct proxy methods

Proxy method has only one direct method and it is a constructor which
is cloned from java.lang.reflect.Proxy class together with code.
As a result its body is a compiled quick code and frame size should be
computed accordingly in contrast with other virtual methods which are
invoked through stub.

Change-Id: I0ac99b2f567b281c9342152bad1149dd6cd39480
Signed-off-by: Serguei Katkov <serguei.i.katkov@intel.com>
(cherry picked from commit 805bab1738549b2477b3ad4d9d57fd7c681451b9)

9 years agoMerge "ART: Fix computation of frame size for direct proxy methods"
Ian Rogers [Thu, 4 Sep 2014 14:22:44 +0000 (14:22 +0000)]
Merge "ART: Fix computation of frame size for direct proxy methods"

9 years agoART: Fix computation of frame size for direct proxy methods
Serguei Katkov [Fri, 29 Aug 2014 11:20:15 +0000 (18:20 +0700)]
ART: Fix computation of frame size for direct proxy methods

Proxy method has only one direct method and it is a constructor which
is cloned from java.lang.reflect.Proxy class together with code.
As a result its body is a compiled quick code and frame size should be
computed accordingly in contrast with other virtual methods which are
invoked through stub.

Change-Id: I0ac99b2f567b281c9342152bad1149dd6cd39480
Signed-off-by: Serguei Katkov <serguei.i.katkov@intel.com>
9 years agoam 23628703: Merge "Fix native allocation watermark clamping."
Mathieu Chartier [Thu, 4 Sep 2014 04:55:32 +0000 (04:55 +0000)]
am 23628703: Merge "Fix native allocation watermark clamping."

* commit '236287039744ee1938f4a4e3fd1fe48090c359d0':
  Fix native allocation watermark clamping.

9 years agoam d83f82c8: am e1a86627: Merge "Fix native allocation watermark clamping." into...
Mathieu Chartier [Thu, 4 Sep 2014 04:44:44 +0000 (04:44 +0000)]
am d83f82c8: am e1a86627: Merge "Fix native allocation watermark clamping." into lmp-dev

* commit 'd83f82c8e1d934d569c868b06f03b33698616f7d':
  Fix native allocation watermark clamping.

9 years agoMerge "Fix native allocation watermark clamping."
Mathieu Chartier [Thu, 4 Sep 2014 04:36:08 +0000 (04:36 +0000)]
Merge "Fix native allocation watermark clamping."

9 years agoFix native allocation watermark clamping.
Mathieu Chartier [Wed, 3 Sep 2014 17:30:11 +0000 (10:30 -0700)]
Fix native allocation watermark clamping.

The main issue causing the test to fail is that
native_footprint_gc_watermark_ becoming > growth_limit_ due to no
clamping.

Temporary runFinalization fix is calling runFinalization 2x.

Bug: 17371542

(cherry picked from commit 4c7fc5950853b0c368e2148db77ced7c4d3c303c)

Change-Id: I05b85e95560c32c33d53bc96abf87d5262007395

9 years agoam e1a86627: Merge "Fix native allocation watermark clamping." into lmp-dev
Mathieu Chartier [Thu, 4 Sep 2014 04:34:00 +0000 (04:34 +0000)]
am e1a86627: Merge "Fix native allocation watermark clamping." into lmp-dev

* commit 'e1a8662792260953efe05fd991d945e508298aa8':
  Fix native allocation watermark clamping.

9 years agoMerge "Fix native allocation watermark clamping." into lmp-dev
Mathieu Chartier [Thu, 4 Sep 2014 04:23:13 +0000 (04:23 +0000)]
Merge "Fix native allocation watermark clamping." into lmp-dev

9 years agoam badae981: Merge "Add exception check to AllocateInternalWithGc"
Mathieu Chartier [Thu, 4 Sep 2014 03:59:34 +0000 (03:59 +0000)]
am badae981: Merge "Add exception check to AllocateInternalWithGc"

* commit 'badae981ada1fa279e54360df177ab6f40c299b9':
  Add exception check to AllocateInternalWithGc

9 years agoFix native allocation watermark clamping.
Mathieu Chartier [Wed, 3 Sep 2014 17:30:11 +0000 (10:30 -0700)]
Fix native allocation watermark clamping.

The main issue causing the test to fail is that
native_footprint_gc_watermark_ becoming > growth_limit_ due to no
clamping.

Temporary runFinalization fix is calling runFinalization 2x.

Bug: 17371542
Change-Id: I188cb530a44dd109e066a22091f12f8d2d4350c3

9 years agoMerge "Add exception check to AllocateInternalWithGc"
Mathieu Chartier [Thu, 4 Sep 2014 03:32:56 +0000 (03:32 +0000)]
Merge "Add exception check to AllocateInternalWithGc"

9 years agoam dbddcf7c: am c4978258: Merge "Add exception check to AllocateInternalWithGc" into...
Mathieu Chartier [Thu, 4 Sep 2014 03:24:12 +0000 (03:24 +0000)]
am dbddcf7c: am c4978258: Merge "Add exception check to AllocateInternalWithGc" into lmp-dev

* commit 'dbddcf7ccc664c5818f2f04e87775ed0cd6fa7c5':
  Add exception check to AllocateInternalWithGc

9 years agoam c4978258: Merge "Add exception check to AllocateInternalWithGc" into lmp-dev
Mathieu Chartier [Thu, 4 Sep 2014 02:35:34 +0000 (02:35 +0000)]
am c4978258: Merge "Add exception check to AllocateInternalWithGc" into lmp-dev

* commit 'c4978258172beb35c3c8f0c31a5f7eb06b9a1de2':
  Add exception check to AllocateInternalWithGc

9 years agoAdd exception check to AllocateInternalWithGc
Mathieu Chartier [Wed, 3 Sep 2014 18:21:08 +0000 (11:21 -0700)]
Add exception check to AllocateInternalWithGc

Trying to figure out if the pending exception comes before or during
AllocateInternalWithGc.

Bug: 17164348

(cherry picked from commit 98d43cb0da3c34d1888d1e31d953c2940fd0f897)

Change-Id: I2aac4b67f0c3f1c0fe3c9dc321316f76494c4074

9 years agoMerge "Add exception check to AllocateInternalWithGc" into lmp-dev
Mathieu Chartier [Thu, 4 Sep 2014 02:29:14 +0000 (02:29 +0000)]
Merge "Add exception check to AllocateInternalWithGc" into lmp-dev

9 years agoam a07557cc: Merge "Remove abuse of mirror::Object* to reference special values."
Ian Rogers [Thu, 4 Sep 2014 00:43:31 +0000 (00:43 +0000)]
am a07557cc: Merge "Remove abuse of mirror::Object* to reference special values."

* commit 'a07557ccece64fa7084bb01b9d26957bd0977c10':
  Remove abuse of mirror::Object* to reference special values.

9 years agoVisitClassesWithoutClassesLock isn't safe if classes move.
Ian Rogers [Fri, 29 Aug 2014 22:40:08 +0000 (15:40 -0700)]
VisitClassesWithoutClassesLock isn't safe if classes move.

Which they do, so avoid by doing an array allocation.
Also, tidy member variables to the end of ClassLinker.
Remove unnecessary mutable. Tidy and fix a locks required/excluded.

Change-Id: I2404a9e7a1ea997d68ab1206f97d2a20dffbda06

9 years agoresolved conflicts for merge of 30558697 to lmp-dev-plus-aosp
Jeff Hao [Thu, 4 Sep 2014 00:38:23 +0000 (17:38 -0700)]
resolved conflicts for merge of 30558697 to lmp-dev-plus-aosp

Change-Id: I30a0acb0ba2e8dd6d983e738af744397ee5e53ae

9 years agoMerge "Remove abuse of mirror::Object* to reference special values."
Ian Rogers [Thu, 4 Sep 2014 00:20:48 +0000 (00:20 +0000)]
Merge "Remove abuse of mirror::Object* to reference special values."

9 years agoRemove abuse of mirror::Object* to reference special values.
Ian Rogers [Wed, 3 Sep 2014 23:16:56 +0000 (16:16 -0700)]
Remove abuse of mirror::Object* to reference special values.

Remove kInvalidIndirectRefObject, kClearedJniWeakGlobal and
ObjectRegistry::kInvalidObject. Handle error conditions by passing in or
returning an error value.
GetObjectRefType is simplified to be faster and not return invalid references
that are not expected according to the spec. Adjust check JNI and
jni_internal_test appropriately.
Fix cases in the debugger/JDWP of out arguments being passed by reference.
Bug: 17376993

Change-Id: I3ce8a28c01827e163f4dc288449959464da788b1

9 years agoam 6b28a456: Fix stack overflow and duplicate methods while tracing.
Jeff Hao [Wed, 3 Sep 2014 23:27:41 +0000 (23:27 +0000)]
am 6b28a456: Fix stack overflow and duplicate methods while tracing.

* commit '6b28a456b075fe53dfb7e924a44dbf35d0d41eb3':
  Fix stack overflow and duplicate methods while tracing.

9 years agoFix stack overflow and duplicate methods while tracing.
Jeff Hao [Wed, 3 Sep 2014 20:48:16 +0000 (13:48 -0700)]
Fix stack overflow and duplicate methods while tracing.

Bug: 16386215
Change-Id: I0d0ae0113a3a00013ce84a1f5a110e2c52f19b86

9 years agoAdd exception check to AllocateInternalWithGc
Mathieu Chartier [Wed, 3 Sep 2014 18:21:08 +0000 (11:21 -0700)]
Add exception check to AllocateInternalWithGc

Trying to figure out if the pending exception comes before or during
AllocateInternalWithGc.

Bug: 17164348

Change-Id: Id46d82bfc0f84d16e5ffdafe41658aee4cc2c702

9 years agoART: Vectorization opcode implementation fixes
Lupusoru, Razvan A [Mon, 28 Jul 2014 21:11:01 +0000 (14:11 -0700)]
ART: Vectorization opcode implementation fixes

This patch fixes the implementation of the x86 vectorization opcodes.

Change-Id: I0028d54a9fa6edce791b7e3a053002d076798748
Signed-off-by: Razvan A Lupusoru <razvan.a.lupusoru@intel.com>
Signed-off-by: Udayan Banerji <udayan.banerji@intel.com>
Signed-off-by: Philbert Lin <philbert.lin@intel.com>
9 years agoam b119fc31: am ff4cfe07: Fix SetupResourceMasks to pass correct parameters
Junmo Park [Wed, 3 Sep 2014 16:28:59 +0000 (16:28 +0000)]
am b119fc31: am ff4cfe07: Fix SetupResourceMasks to pass correct parameters

* commit 'b119fc31eca8eaf9318a1a49cb10cdab03f7d1b1':
  Fix SetupResourceMasks to pass correct parameters

9 years agoam ff4cfe07: Fix SetupResourceMasks to pass correct parameters
Junmo Park [Wed, 3 Sep 2014 16:18:47 +0000 (16:18 +0000)]
am ff4cfe07: Fix SetupResourceMasks to pass correct parameters

* commit 'ff4cfe07009ac0b0f07475ef2aa91d9aaf9ab291':
  Fix SetupResourceMasks to pass correct parameters

9 years agoam b148ad48: am f72fd02c: Merge "Quick compiler: disable GVN DO NOT MERGE" into lmp-dev
buzbee [Wed, 3 Sep 2014 14:56:40 +0000 (14:56 +0000)]
am b148ad48: am f72fd02c: Merge "Quick compiler: disable GVN DO NOT MERGE" into lmp-dev

* commit 'b148ad486920d464c0713f34e77eb53778f5d36d':
  Quick compiler: disable GVN DO NOT MERGE

9 years agoam 1c9a7470: am c60bdf66: Fix native allocation test.
Mathieu Chartier [Wed, 3 Sep 2014 14:33:34 +0000 (14:33 +0000)]
am 1c9a7470: am c60bdf66: Fix native allocation test.

* commit '1c9a7470e0c2cc2b50ae48584f6a08296030d4c8':
  Fix native allocation test.

9 years agoam 1e64b55d: am 4d05d931: Merge "ART: Fix read-out-of-bounds in the compiler" into...
Andreas Gampe [Wed, 3 Sep 2014 14:33:12 +0000 (14:33 +0000)]
am 1e64b55d: am 4d05d931: Merge "ART: Fix read-out-of-bounds in the compiler" into lmp-dev

* commit '1e64b55d5bec5d8555bb9f3cbdaafe24b57defd7':
  ART: Fix read-out-of-bounds in the compiler

9 years agoam f4bb9ef6: am 635531a2: Merge "Change native allocations to use growth limit."...
Mathieu Chartier [Wed, 3 Sep 2014 14:33:11 +0000 (14:33 +0000)]
am f4bb9ef6: am 635531a2: Merge "Change native allocations to use growth limit." into lmp-dev

* commit 'f4bb9ef65cdc2c8cb8d50d023ab57320310cf96a':
  Change native allocations to use growth limit.

9 years agoam 3fa54ea1: am 37bb8184: Merge "Pre-allocate the NoClassDefFoundError to be thrown...
Ian Rogers [Wed, 3 Sep 2014 14:33:09 +0000 (14:33 +0000)]
am 3fa54ea1: am 37bb8184: Merge "Pre-allocate the NoClassDefFoundError to be thrown for boot classes." into lmp-dev

* commit '3fa54ea15bcf6d0f79c1b04c1bd1f804a4526412':
  Pre-allocate the NoClassDefFoundError to be thrown for boot classes.

9 years agoMerge '0122cf8b' "Reduce and speed-up class def searches." into lmp-dev-plus-aosp.
Marcin Kosiba [Wed, 3 Sep 2014 14:16:47 +0000 (15:16 +0100)]
Merge '0122cf8b' "Reduce and speed-up class def searches." into lmp-dev-plus-aosp.

Conflicts:
compiler/driver/compiler_driver.cc
runtime/class_linker.cc

Change-Id: I9c98e6a34858f6f9863fc6a0df0506f3a28bd7ee

9 years agoFix SetupResourceMasks to pass correct parameters
Junmo Park [Sat, 30 Aug 2014 11:13:02 +0000 (20:13 +0900)]
Fix SetupResourceMasks to pass correct parameters

Calling SetupTargetResourceMasks function with correct parameter.
SetupTargetResourceMasks(lir, flags, use_mask, def_mask) is correct order.

b/17369806

(cherry-picked from commit sha 2a09504334a3a3b4c47100197df0827cc6740433)

Change-Id: I49118c3f2d3d06fac83fa3d5014b7fdaff6a2b00

9 years agoam f72fd02c: Merge "Quick compiler: disable GVN DO NOT MERGE" into lmp-dev
buzbee [Wed, 3 Sep 2014 13:02:13 +0000 (13:02 +0000)]
am f72fd02c: Merge "Quick compiler: disable GVN DO NOT MERGE" into lmp-dev

* commit 'f72fd02c4ea0f1aa610b8a4f9f51ef86c285b1cf':
  Quick compiler: disable GVN DO NOT MERGE

9 years agoMerge "Quick compiler: disable GVN DO NOT MERGE" into lmp-dev
buzbee [Wed, 3 Sep 2014 12:50:49 +0000 (12:50 +0000)]
Merge "Quick compiler: disable GVN DO NOT MERGE" into lmp-dev

9 years agoam 2a095043: Merge "Fix SetupResourceMasks to pass correct parameters"
Vladimir Marko [Wed, 3 Sep 2014 12:09:05 +0000 (12:09 +0000)]
am 2a095043: Merge "Fix SetupResourceMasks to pass correct parameters"

* commit '2a09504334a3a3b4c47100197df0827cc6740433':
  Fix SetupResourceMasks to pass correct parameters

9 years agoMerge "Fix SetupResourceMasks to pass correct parameters"
Vladimir Marko [Wed, 3 Sep 2014 11:48:42 +0000 (11:48 +0000)]
Merge "Fix SetupResourceMasks to pass correct parameters"

9 years agoam 859efc4e: Merge "ART fix oat debug source map operations"
Vladimir Marko [Wed, 3 Sep 2014 09:33:27 +0000 (09:33 +0000)]
am 859efc4e: Merge "ART fix oat debug source map operations"

* commit '859efc4e6f5f0bba503ff55dc08a59d8ce7a81d1':
  ART fix oat debug source map operations

9 years agoMerge "ART fix oat debug source map operations"
Vladimir Marko [Wed, 3 Sep 2014 08:53:49 +0000 (08:53 +0000)]
Merge "ART fix oat debug source map operations"

9 years agoam a70343f9: Merge "Reduce lock contention when debugging"
Sebastien Hertz [Wed, 3 Sep 2014 07:41:59 +0000 (07:41 +0000)]
am a70343f9: Merge "Reduce lock contention when debugging"

* commit 'a70343f996aea274a2568e8f2bcda829cdbc61d7':
  Reduce lock contention when debugging

9 years agoMerge "Reduce lock contention when debugging"
Sebastien Hertz [Wed, 3 Sep 2014 07:17:29 +0000 (07:17 +0000)]
Merge "Reduce lock contention when debugging"

9 years agoam dc720bf1: am e610faf9: Merge "ART: Tighten verifier list reading and offsets"...
Andreas Gampe [Wed, 3 Sep 2014 06:13:38 +0000 (06:13 +0000)]
am dc720bf1: am e610faf9: Merge "ART: Tighten verifier list reading and offsets" into lmp-dev

* commit 'dc720bf11457c7a3d568f6e23e82586b6ce18ffd':
  ART: Tighten verifier list reading and offsets

9 years agoresolved conflicts for merge of 64dc9daf to lmp-dev-plus-aosp
Mathieu Chartier [Wed, 3 Sep 2014 05:38:04 +0000 (22:38 -0700)]
resolved conflicts for merge of 64dc9daf to lmp-dev-plus-aosp

Change-Id: I4f69fc547e4cde43f4ab6d8080076d5b62b0fe75

9 years agoQuick compiler: disable GVN DO NOT MERGE
buzbee [Wed, 3 Sep 2014 01:36:37 +0000 (18:36 -0700)]
Quick compiler: disable GVN DO NOT MERGE

Disable global value numbering optimization for lmp (but
keep on for master).

b/16398693

Change-Id: I125c588c987a81db54a15da1eec9dee2b009956f

9 years agoam 4a946795: Merge "Quick compiler, aarch64: Insane sanity checker"
buzbee [Wed, 3 Sep 2014 02:12:45 +0000 (02:12 +0000)]
am 4a946795: Merge "Quick compiler, aarch64: Insane sanity checker"

* commit '4a9467959d4693f805c39536eed3c3bc5e8bbfd8':
  Quick compiler, aarch64: Insane sanity checker

9 years agoMerge "Quick compiler, aarch64: Insane sanity checker"
buzbee [Wed, 3 Sep 2014 01:41:16 +0000 (01:41 +0000)]
Merge "Quick compiler, aarch64: Insane sanity checker"

9 years agoam 878bb62d: Merge "Fix native allocation test."
Mathieu Chartier [Wed, 3 Sep 2014 01:33:30 +0000 (01:33 +0000)]
am 878bb62d: Merge "Fix native allocation test."

* commit '878bb62d86636b42ea0a0203945f160606adfc61':
  Fix native allocation test.

9 years agoam 2cc4e2a1: Merge "Change native allocations to use growth limit."
Mathieu Chartier [Wed, 3 Sep 2014 01:33:28 +0000 (01:33 +0000)]
am 2cc4e2a1: Merge "Change native allocations to use growth limit."

* commit '2cc4e2a1ae9a8827503b1508dca8346a465da20a':
  Change native allocations to use growth limit.

9 years agoam 47e877ab: Merge "ART: Fix StubTest Interface Trampoline test"
Andreas Gampe [Wed, 3 Sep 2014 01:28:20 +0000 (01:28 +0000)]
am 47e877ab: Merge "ART: Fix StubTest Interface Trampoline test"

* commit '47e877ab2d6744f4360d37f179eb5affd6a46470':
  ART: Fix StubTest Interface Trampoline test

9 years agoMerge "Fix native allocation test."
Mathieu Chartier [Wed, 3 Sep 2014 01:14:14 +0000 (01:14 +0000)]
Merge "Fix native allocation test."

9 years agoMerge "Change native allocations to use growth limit."
Mathieu Chartier [Wed, 3 Sep 2014 01:13:57 +0000 (01:13 +0000)]
Merge "Change native allocations to use growth limit."

9 years agoam c60bdf66: Fix native allocation test.
Mathieu Chartier [Wed, 3 Sep 2014 01:08:48 +0000 (01:08 +0000)]
am c60bdf66: Fix native allocation test.

* commit 'c60bdf667b5c6fa767548942f0115547523593b4':
  Fix native allocation test.

9 years agoMerge "ART: Fix StubTest Interface Trampoline test"
Andreas Gampe [Wed, 3 Sep 2014 01:00:21 +0000 (01:00 +0000)]
Merge "ART: Fix StubTest Interface Trampoline test"

9 years agoART: Fix StubTest Interface Trampoline test
Andreas Gampe [Wed, 21 May 2014 22:37:53 +0000 (15:37 -0700)]
ART: Fix StubTest Interface Trampoline test

The imt conflict test does not actually need a proper conflict,
as we do not invoke through a lookup.

Added simple check for art_quick_invoke_interface_trampoline_with_access_check.
Only non-failure testing, as failure requires a properly setup frame etc.

Change-Id: I173dac04db950bd23f62eaf13341a7b19802e5e8

9 years agoam 2013de57: Merge "Add missing read barriers to intern table."
Mathieu Chartier [Wed, 3 Sep 2014 00:56:41 +0000 (00:56 +0000)]
am 2013de57: Merge "Add missing read barriers to intern table."

* commit '2013de579050cff717a6fb910ec386a6e61330bc':
  Add missing read barriers to intern table.

9 years agoam 579123b2: Merge "ART: Fix read-out-of-bounds in the compiler"
Andreas Gampe [Wed, 3 Sep 2014 00:56:40 +0000 (00:56 +0000)]
am 579123b2: Merge "ART: Fix read-out-of-bounds in the compiler"

* commit '579123b22546d36ed47e896a567a7ca6b5470d1a':
  ART: Fix read-out-of-bounds in the compiler

9 years agoam fa6fe2df: Merge "ART: Tighten verifier list reading and offsets"
Andreas Gampe [Wed, 3 Sep 2014 00:56:39 +0000 (00:56 +0000)]
am fa6fe2df: Merge "ART: Tighten verifier list reading and offsets"

* commit 'fa6fe2dfb401e30890f1feb48b664eb19636b8d4':
  ART: Tighten verifier list reading and offsets

9 years agoam 62bcfec9: Merge "Change intern table to unordered set."
Mathieu Chartier [Wed, 3 Sep 2014 00:56:38 +0000 (00:56 +0000)]
am 62bcfec9: Merge "Change intern table to unordered set."

* commit '62bcfec936692ff4f75cdc3267c081080b0e6acc':
  Change intern table to unordered set.

9 years agoam 4d05d931: Merge "ART: Fix read-out-of-bounds in the compiler" into lmp-dev
Andreas Gampe [Wed, 3 Sep 2014 00:54:33 +0000 (00:54 +0000)]
am 4d05d931: Merge "ART: Fix read-out-of-bounds in the compiler" into lmp-dev

* commit '4d05d931d3d608f5047e0d9dfb422df018ace716':
  ART: Fix read-out-of-bounds in the compiler

9 years agoam 635531a2: Merge "Change native allocations to use growth limit." into lmp-dev
Mathieu Chartier [Wed, 3 Sep 2014 00:54:32 +0000 (00:54 +0000)]
am 635531a2: Merge "Change native allocations to use growth limit." into lmp-dev

* commit '635531a2d99f413339187ce39b08affdf1b31d9f':
  Change native allocations to use growth limit.

9 years agoam 37bb8184: Merge "Pre-allocate the NoClassDefFoundError to be thrown for boot class...
Ian Rogers [Wed, 3 Sep 2014 00:54:32 +0000 (00:54 +0000)]
am 37bb8184: Merge "Pre-allocate the NoClassDefFoundError to be thrown for boot classes." into lmp-dev

* commit '37bb8184e091e8d9199cfc2fc888dfb40a5c0f20':
  Pre-allocate the NoClassDefFoundError to be thrown for boot classes.

9 years agoam 9db18e16: Merge "Reduce and speed-up class def searches." into lmp-dev
Ian Rogers [Wed, 3 Sep 2014 00:54:31 +0000 (00:54 +0000)]
am 9db18e16: Merge "Reduce and speed-up class def searches." into lmp-dev

* commit '9db18e1679800bc57c1e30f7c5ff786949ffe5cf':
  Reduce and speed-up class def searches.

9 years agoam e610faf9: Merge "ART: Tighten verifier list reading and offsets" into lmp-dev
Andreas Gampe [Wed, 3 Sep 2014 00:54:30 +0000 (00:54 +0000)]
am e610faf9: Merge "ART: Tighten verifier list reading and offsets" into lmp-dev

* commit 'e610faf917fd280fa0d9e02d5c2d0dbacbb037b7':
  ART: Tighten verifier list reading and offsets

9 years agoFix native allocation test.
Mathieu Chartier [Wed, 3 Sep 2014 00:36:08 +0000 (17:36 -0700)]
Fix native allocation test.

Forgot to update with last CL.

(cherry picked from commit c60bdf667b5c6fa767548942f0115547523593b4)

Change-Id: I41ad168a5906ca07938bdd212a55f0e995ee5df7

9 years agoChange native allocations to use growth limit.
Mathieu Chartier [Tue, 2 Sep 2014 23:21:01 +0000 (16:21 -0700)]
Change native allocations to use growth limit.

Previously native allocation tracking used a GC footprint limit
which would cause GC in the allocating thread. This prevented
excessive growth of the heap but could cause jank due to GC in
the allocating thread. The new behavior is using the growth_limit
instead of the native footprint limit.

(cherry picked from commit d9819ecc0bc21a2bb356a4de9b013e36fe618627)

Change-Id: Ia40ed830e8c674cc49d4c0a6fd773d6cb8ff97fa

9 years agoMerge "Add missing read barriers to intern table."
Mathieu Chartier [Wed, 3 Sep 2014 00:47:15 +0000 (00:47 +0000)]
Merge "Add missing read barriers to intern table."

9 years agoFix native allocation test.
Mathieu Chartier [Wed, 3 Sep 2014 00:36:08 +0000 (17:36 -0700)]
Fix native allocation test.

Forgot to update with last CL.

Change-Id: Id2f57870b8d4f848cd93012d9da69beee5184be4