OSDN Git Service

android-x86/art.git
9 years agoam 92540564: Merge "[MIPS] Fix method tracing for mips64"
Andreas Gampe [Thu, 11 Jun 2015 00:30:48 +0000 (00:30 +0000)]
am 92540564: Merge "[MIPS] Fix method tracing for mips64"

* commit '925405641e550d015ff5fb32ed5dc8f4fb174649':
  [MIPS] Fix method tracing for mips64

9 years agoMerge "[MIPS] Fix method tracing for mips64"
Andreas Gampe [Thu, 11 Jun 2015 00:20:44 +0000 (00:20 +0000)]
Merge "[MIPS] Fix method tracing for mips64"

9 years agoam 2ce3fe3b: Merge "Fix premature deoptimization if the loop body isn\'t entered."
Mingyao Yang [Thu, 11 Jun 2015 00:07:51 +0000 (00:07 +0000)]
am 2ce3fe3b: Merge "Fix premature deoptimization if the loop body isn\'t entered."

* commit '2ce3fe3be7745048a1b43edae8a80cd42055e5da':
  Fix premature deoptimization if the loop body isn't entered.

9 years agoMerge "Fix premature deoptimization if the loop body isn't entered."
Mingyao Yang [Wed, 10 Jun 2015 23:53:07 +0000 (23:53 +0000)]
Merge "Fix premature deoptimization if the loop body isn't entered."

9 years agoFix premature deoptimization if the loop body isn't entered.
Mingyao Yang [Tue, 19 May 2015 23:01:59 +0000 (16:01 -0700)]
Fix premature deoptimization if the loop body isn't entered.

Add a test between initial_ and end_ to see if the loop body is entered.
If the loop body isn't entered at all, we jump to the loop header. Loop header is
still executed and is going to test the condition again and loop body won't be
entered. This makes sure no deoptimization is triggered if the loop body isn't
even entered.

Bug: 21034044
Change-Id: I2b6de1f22fbc4568ca419f76382ebd87806d9694

9 years agoam ae63ea96: Merge "Revert "Revert "Test that we can unwind framework code."""
David Srbecky [Wed, 10 Jun 2015 23:25:46 +0000 (23:25 +0000)]
am ae63ea96: Merge "Revert "Revert "Test that we can unwind framework code."""

* commit 'ae63ea96c36472a7b3f7ed26083a30b25b352270':
  Revert "Revert "Test that we can unwind framework code.""

9 years agoam 1297660a: Merge "run-test: add --never-clean option"
Igor Murashkin [Wed, 10 Jun 2015 23:25:44 +0000 (23:25 +0000)]
am 1297660a: Merge "run-test: add --never-clean option"

* commit '1297660a4f5c08def2a13019b167a582471f695c':
  run-test: add --never-clean option

9 years agoMerge "Revert "Revert "Test that we can unwind framework code."""
David Srbecky [Wed, 10 Jun 2015 23:12:32 +0000 (23:12 +0000)]
Merge "Revert "Revert "Test that we can unwind framework code."""

9 years agoMerge "run-test: add --never-clean option"
Igor Murashkin [Wed, 10 Jun 2015 23:10:56 +0000 (23:10 +0000)]
Merge "run-test: add --never-clean option"

9 years agorun-test: add --never-clean option
Igor Murashkin [Wed, 10 Jun 2015 22:57:17 +0000 (15:57 -0700)]
run-test: add --never-clean option

The --never-clean option forces the temporary directory created for
running the test to be retained after run-test finishes execution.

This is useful to help with debugging problems in your run, build,
run-test-jar, etc scripts.

Change-Id: Idc6c767521581deaa80674b583834af05bf027da

9 years agoam cbc1e2ed: Merge "Add more log output to the CFI test."
David Srbecky [Wed, 10 Jun 2015 22:45:31 +0000 (22:45 +0000)]
am cbc1e2ed: Merge "Add more log output to the CFI test."

* commit 'cbc1e2ed4a7d3d43d59c20713888058097c8188f':
  Add more log output to the CFI test.

9 years agoMerge "Add more log output to the CFI test."
David Srbecky [Wed, 10 Jun 2015 22:34:34 +0000 (22:34 +0000)]
Merge "Add more log output to the CFI test."

9 years agoam bb076e59: Merge "Add allocation stack traces for HPROF dump."
Mathieu Chartier [Wed, 10 Jun 2015 22:12:32 +0000 (22:12 +0000)]
am bb076e59: Merge "Add allocation stack traces for HPROF dump."

* commit 'bb076e59aa3fcaa6c80a68ab388e4b082c119c3b':
  Add allocation stack traces for HPROF dump.

9 years agoMerge "Add allocation stack traces for HPROF dump."
Mathieu Chartier [Wed, 10 Jun 2015 22:04:49 +0000 (22:04 +0000)]
Merge "Add allocation stack traces for HPROF dump."

9 years agoAdd allocation stack traces for HPROF dump.
Man Cao [Thu, 28 May 2015 00:25:30 +0000 (17:25 -0700)]
Add allocation stack traces for HPROF dump.

This feature is currently only enabled when DDMS's allocation tracking
is enabled. In the future there should be a way to enable this feature
before an application starts.

Also updates DDMS's recent allocation tracking to use a new backend
data structure that is shared with this feature.

The following system properties controls customizable parameters:
dalvik.vm.allocTrackerMax: max number of objects that have allocation
                           records, default 512K;

dalvik.vm.recentAllocMax:  max number of records that are sent to DDMS
                           when clicking "Get allocation" button,
                           default 64K-1 (limit of the protocol);

dalvik.vm.allocStackDepth: max number of stack frames in an allocation
                           record, default 4.

Bug: 20037135
Change-Id: I26ed378a5613678bd3c43e846025f90470a8e059

9 years agoRevert "Revert "Test that we can unwind framework code.""
David Srbecky [Wed, 10 Jun 2015 21:52:06 +0000 (21:52 +0000)]
Revert "Revert "Test that we can unwind framework code.""

This reverts commit 2c4733d647b24860e074aac4722d803da182adde.

Change-Id: I16a1eebe4b80363621edc1fcb55cdcf40fc3ac84

9 years agoAdd more log output to the CFI test.
David Srbecky [Wed, 10 Jun 2015 21:43:11 +0000 (22:43 +0100)]
Add more log output to the CFI test.

Change-Id: Iff2674eb9c889db4bbed4bd8af85b6df2cdd1da3

9 years agoam 6dbf5a5a: Merge "Revert "Revert "Support for inlining virtual and interface calls."""
Nicolas Geoffray [Wed, 10 Jun 2015 15:28:07 +0000 (15:28 +0000)]
am 6dbf5a5a: Merge "Revert "Revert "Support for inlining virtual and interface calls."""

* commit '6dbf5a5a075a371cb2ff3659058e93a985485baa':
  Revert "Revert "Support for inlining virtual and interface calls.""

9 years agoMerge "Revert "Revert "Support for inlining virtual and interface calls."""
Nicolas Geoffray [Wed, 10 Jun 2015 15:14:46 +0000 (15:14 +0000)]
Merge "Revert "Revert "Support for inlining virtual and interface calls."""

9 years agoRevert "Revert "Support for inlining virtual and interface calls.""
Nicolas Geoffray [Tue, 9 Jun 2015 09:37:32 +0000 (10:37 +0100)]
Revert "Revert "Support for inlining virtual and interface calls.""

It now works thanks to:
- https://android-review.googlesource.com/#/c/154016/ where
  the invoke type is changed.
- The new FindMethodIndexIn method in this change, that
  locates the right method index relative to the caller's
  dex file.

This reverts commit 6e4758615308bb525b6350c30468e33a2e1f2274.

Change-Id: Iddba11664a9241e210fec211cd2aed9f4b90d118

9 years agoam 57ae6c3f: Merge "Revert "art/tools: add new tests for the build bot""
Sergio Giro [Wed, 10 Jun 2015 14:24:23 +0000 (14:24 +0000)]
am 57ae6c3f: Merge "Revert "art/tools: add new tests for the build bot""

* commit '57ae6c3f01d194a7efe8a1837ffbd05914c587c6':
  Revert "art/tools: add new tests for the build bot"

9 years agoam bebf6bdf: Merge "Add optimizations for instanceof/checkcast."
Nicolas Geoffray [Wed, 10 Jun 2015 14:17:49 +0000 (14:17 +0000)]
am bebf6bdf: Merge "Add optimizations for instanceof/checkcast."

* commit 'bebf6bdf833ea9e090171303200bd8adc9321762':
  Add optimizations for instanceof/checkcast.

9 years agoam 8241f718: Merge "Revert "art/tools: add new tests for the build bot""
Nicolas Geoffray [Wed, 10 Jun 2015 14:17:48 +0000 (14:17 +0000)]
am 8241f718: Merge "Revert "art/tools: add new tests for the build bot""

* commit '8241f7188b2c2b0feb330403e6178ee7b3ed31f1':
  Revert "art/tools: add new tests for the build bot"

9 years ago[MIPS] Fix method tracing for mips64
Lazar Trsic [Wed, 10 Jun 2015 14:05:46 +0000 (16:05 +0200)]
[MIPS] Fix method tracing for mips64

Reg $v0 is being clobbered on using
SETUP_REFS_ONLY_CALLEE_SAVE_FRAME inside instrumentation_exit()
trampoline, when falling through from instrumentation_entry().

To fix, use $t1 for ArtMethod* fetching inside SETUP_ macros.

Also fix some unrelated comment errors.

Change-Id: I4ab169f75988c4f0d924416a30196f21c1a043a3

9 years agoMerge "Revert "art/tools: add new tests for the build bot""
Sergio Giro [Wed, 10 Jun 2015 14:16:29 +0000 (14:16 +0000)]
Merge "Revert "art/tools: add new tests for the build bot""

9 years agoRevert "art/tools: add new tests for the build bot"
Sergio Giro [Wed, 10 Jun 2015 14:16:13 +0000 (14:16 +0000)]
Revert "art/tools: add new tests for the build bot"

This reverts commit 10ec4f937e351bc21c0eebada30c6df3f8570406.

Was breaking many tests in the test environment.

Change-Id: I96cdbfe9620e4daff19ab448dc44e5315d89ebb7

9 years agoMerge "Add optimizations for instanceof/checkcast."
Nicolas Geoffray [Wed, 10 Jun 2015 14:14:42 +0000 (14:14 +0000)]
Merge "Add optimizations for instanceof/checkcast."

9 years agoMerge "Revert "art/tools: add new tests for the build bot""
Nicolas Geoffray [Wed, 10 Jun 2015 14:06:47 +0000 (14:06 +0000)]
Merge "Revert "art/tools: add new tests for the build bot""

9 years agoRevert "art/tools: add new tests for the build bot"
Nicolas Geoffray [Wed, 10 Jun 2015 14:06:31 +0000 (14:06 +0000)]
Revert "art/tools: add new tests for the build bot"

Unfortunately too many "localhost" netd failures.

This reverts commit 10ec4f937e351bc21c0eebada30c6df3f8570406.

Change-Id: Ibe28977e1e9f207f00a24f4c3167d08aa36cce5f

9 years agoAdd optimizations for instanceof/checkcast.
Guillaume Sanchez [Tue, 9 Jun 2015 17:33:02 +0000 (18:33 +0100)]
Add optimizations for instanceof/checkcast.

The optimizations try to statically determine the outcome of the
type tests, replacing/removing the instructions when possible.

This required to fix the is_exact flag for ReferenceTypePropagation.

Change-Id: I6cea29b6c351d118b62060e8420333085e9383fb

9 years agoam 7c0efe18: Merge "art/tools: add new tests for the build bot"
Sergio Giro [Wed, 10 Jun 2015 11:48:46 +0000 (11:48 +0000)]
am 7c0efe18: Merge "art/tools: add new tests for the build bot"

* commit '7c0efe186dff1dd457fd1f7932021fa7cfdf9d6f':
  art/tools: add new tests for the build bot

9 years agoMerge "art/tools: add new tests for the build bot"
Sergio Giro [Wed, 10 Jun 2015 11:40:08 +0000 (11:40 +0000)]
Merge "art/tools: add new tests for the build bot"

9 years agoart/tools: add new tests for the build bot
Sergio Giro [Fri, 5 Jun 2015 10:17:18 +0000 (11:17 +0100)]
art/tools: add new tests for the build bot

Otherwise, it's difficult to know when they start to fail

Bug: 21722374
Change-Id: I599e62ebafc28cf0dd60104c156f09ada8868bdc

9 years agoam 5a176fb8: Merge "Add boilerplate code for architecture-specific HInstructions."
Nicolas Geoffray [Wed, 10 Jun 2015 09:57:43 +0000 (09:57 +0000)]
am 5a176fb8: Merge "Add boilerplate code for architecture-specific HInstructions."

* commit '5a176fb8738f20fbbac0b65d65f82b23e0be5d18':
  Add boilerplate code for architecture-specific HInstructions.

9 years agoMerge "Add boilerplate code for architecture-specific HInstructions."
Nicolas Geoffray [Wed, 10 Jun 2015 09:46:53 +0000 (09:46 +0000)]
Merge "Add boilerplate code for architecture-specific HInstructions."

9 years agoAdd boilerplate code for architecture-specific HInstructions.
Alexandre Rames [Tue, 9 Jun 2015 09:29:30 +0000 (10:29 +0100)]
Add boilerplate code for architecture-specific HInstructions.

Change-Id: I2723cd96e5f03012c840863dd38d7b2168117db8

9 years agoam 864a2d95: Merge "Revert "Test that we can unwind framework code.""
David Srbecky [Wed, 10 Jun 2015 04:02:41 +0000 (04:02 +0000)]
am 864a2d95: Merge "Revert "Test that we can unwind framework code.""

* commit '864a2d955aa85ab989c86d7f1eeacbe0b11f8b0f':
  Revert "Test that we can unwind framework code."

9 years agoMerge "Revert "Test that we can unwind framework code.""
David Srbecky [Wed, 10 Jun 2015 03:53:10 +0000 (03:53 +0000)]
Merge "Revert "Test that we can unwind framework code.""

9 years agoRevert "Test that we can unwind framework code."
David Srbecky [Wed, 10 Jun 2015 03:51:48 +0000 (03:51 +0000)]
Revert "Test that we can unwind framework code."

This reverts commit 5c40961dc2c7aa80a183e2eaa828580e0e89e2dd.

Change-Id: Ib4d827623fe76c9c3b639e7d1e205c7033fc2bc7

9 years agoam 2ecc308d: Merge "Test that we can unwind framework code."
David Srbecky [Tue, 9 Jun 2015 23:28:46 +0000 (23:28 +0000)]
am 2ecc308d: Merge "Test that we can unwind framework code."

* commit '2ecc308d8a02c3ba59b5a7a5431c0c9b1146bd47':
  Test that we can unwind framework code.

9 years agoMerge "Test that we can unwind framework code."
David Srbecky [Tue, 9 Jun 2015 23:16:19 +0000 (23:16 +0000)]
Merge "Test that we can unwind framework code."

9 years agoam 73d01bc3: Merge "ART: Check long and double register pairs in invokes"
Andreas Gampe [Tue, 9 Jun 2015 23:13:36 +0000 (23:13 +0000)]
am 73d01bc3: Merge "ART: Check long and double register pairs in invokes"

* commit '73d01bc3b227a2090be4b383c4731e1a520a282d':
  ART: Check long and double register pairs in invokes

9 years agoMerge "ART: Check long and double register pairs in invokes"
Andreas Gampe [Tue, 9 Jun 2015 23:00:48 +0000 (23:00 +0000)]
Merge "ART: Check long and double register pairs in invokes"

9 years agoam edc9ea10: Merge "Make dex file verifier check for dups between direct and virtual...
Jeff Hao [Tue, 9 Jun 2015 21:24:47 +0000 (21:24 +0000)]
am edc9ea10: Merge "Make dex file verifier check for dups between direct and virtual methods."

* commit 'edc9ea1047a0e31fc55442c60871ebe1f7eb15f4':
  Make dex file verifier check for dups between direct and virtual methods.

9 years agoMerge "Make dex file verifier check for dups between direct and virtual methods."
Jeff Hao [Tue, 9 Jun 2015 21:12:19 +0000 (21:12 +0000)]
Merge "Make dex file verifier check for dups between direct and virtual methods."

9 years agoam e0a9ee09: Merge "Increase ulimit to 64MB for --no-relocate"
Mathieu Chartier [Tue, 9 Jun 2015 20:33:30 +0000 (20:33 +0000)]
am e0a9ee09: Merge "Increase ulimit to 64MB for --no-relocate"

* commit 'e0a9ee09b9147f80009bc9b287079e894d1d46d3':
  Increase ulimit to 64MB for --no-relocate

9 years agoMerge "Increase ulimit to 64MB for --no-relocate"
Mathieu Chartier [Tue, 9 Jun 2015 20:23:40 +0000 (20:23 +0000)]
Merge "Increase ulimit to 64MB for --no-relocate"

9 years agoIncrease ulimit to 64MB for --no-relocate
Mathieu Chartier [Tue, 9 Jun 2015 20:02:50 +0000 (13:02 -0700)]
Increase ulimit to 64MB for --no-relocate

Fixes hprof test.

Bug: 21730274
Change-Id: I70e49ca4a5d66414715e8ad894e3b5b5322052ee

9 years agoTest that we can unwind framework code.
David Srbecky [Mon, 8 Jun 2015 22:41:25 +0000 (23:41 +0100)]
Test that we can unwind framework code.

Change-Id: I8c0c6c14f3b95ac1fea6ca6a969a1baea80d55fc

9 years agoMake dex file verifier check for dups between direct and virtual methods.
Jeff Hao [Fri, 5 Jun 2015 01:12:26 +0000 (18:12 -0700)]
Make dex file verifier check for dups between direct and virtual methods.

The dex file verifier now rejects classes that have the same method index
in both direct and virtual methods.

Bug: 17878919
Change-Id: I431b4715e39ca2cce4df3ebef020b7ec0661a4c0

9 years agoART: Check long and double register pairs in invokes
Andreas Gampe [Sat, 6 Jun 2015 03:22:12 +0000 (20:22 -0700)]
ART: Check long and double register pairs in invokes

For invokes, ensure that long and double parameters are actually
in registers pairs. We were testing the pair, but skipping the
actual high parameter register.

Bug: 17410612
Change-Id: I8f4c3335ea8b7dc3cf252bee52a5a706ae8905f8

9 years agoam 26b97f87: Merge "Add support for inlining already sharpened interface calls."
Nicolas Geoffray [Tue, 9 Jun 2015 16:28:50 +0000 (16:28 +0000)]
am 26b97f87: Merge "Add support for inlining already sharpened interface calls."

* commit '26b97f87dcd86934f8b75e018c80bb4e8d501b03':
  Add support for inlining already sharpened interface calls.

9 years agoam 6b0d6c62: Merge "Bring back verbosity override"
Sebastien Hertz [Tue, 9 Jun 2015 16:19:44 +0000 (16:19 +0000)]
am 6b0d6c62: Merge "Bring back verbosity override"

* commit '6b0d6c62cbfad62c42e426de1641f2ff7473a446':
  Bring back verbosity override

9 years agoMerge "Add support for inlining already sharpened interface calls."
Nicolas Geoffray [Tue, 9 Jun 2015 16:19:14 +0000 (16:19 +0000)]
Merge "Add support for inlining already sharpened interface calls."

9 years agoMerge "Bring back verbosity override"
Sebastien Hertz [Tue, 9 Jun 2015 16:05:14 +0000 (16:05 +0000)]
Merge "Bring back verbosity override"

9 years agoam 559f11f0: Merge "Follow up on CL 151605"
Sebastien Hertz [Tue, 9 Jun 2015 15:45:53 +0000 (15:45 +0000)]
am 559f11f0: Merge "Follow up on CL 151605"

* commit '559f11f0d5f6b932e5b01f2a7c26604908b7d48d':
  Follow up on CL 151605

9 years agoMerge "Follow up on CL 151605"
Sebastien Hertz [Tue, 9 Jun 2015 15:36:58 +0000 (15:36 +0000)]
Merge "Follow up on CL 151605"

9 years agoam a4207b70: Merge "Revert "Revert "Pass current method to HNewInstance and HNewArray."""
Nicolas Geoffray [Tue, 9 Jun 2015 15:32:44 +0000 (15:32 +0000)]
am a4207b70: Merge "Revert "Revert "Pass current method to HNewInstance and HNewArray."""

* commit 'a4207b70a1b607a192a447bcc4929b2689dc23d2':
  Revert "Revert "Pass current method to HNewInstance and HNewArray.""

9 years agoMerge "Revert "Revert "Pass current method to HNewInstance and HNewArray."""
Nicolas Geoffray [Tue, 9 Jun 2015 15:24:08 +0000 (15:24 +0000)]
Merge "Revert "Revert "Pass current method to HNewInstance and HNewArray."""

9 years agoFollow up on CL 151605
Sebastien Hertz [Tue, 9 Jun 2015 12:09:14 +0000 (14:09 +0200)]
Follow up on CL 151605

- Fixes return type of StackedShadowFrameRecord::GetType
- Makes StackedShadowFrameType an enum class (scoped enum)
- Moves DeoptimizationReturnValueRecord and StackedShadowFrameRecord
  to thread.cc file and use forward declaration in thread.h header
- Fixes tools/generate-operator-out.py for scoped enum classes.

Bug: 20845490
Change-Id: I6b67e288b1db563699161e58ec2e2330d42dd8f5

9 years agoRevert "Revert "Pass current method to HNewInstance and HNewArray.""
Nicolas Geoffray [Tue, 9 Jun 2015 09:34:25 +0000 (10:34 +0100)]
Revert "Revert "Pass current method to HNewInstance and HNewArray.""

Problem exposed by this change was fixed in:
https://android-review.googlesource.com/#/c/154031/

This reverts commit 7b0e353b49ac3f464c662f20e20e240f0231afff.

Change-Id: I680c13dc9db9ba223ab11c7af255222860b4e6d2

9 years agoam aa77f6e5: Merge "Fix a crash in optimizing compiler with the current method."
Nicolas Geoffray [Tue, 9 Jun 2015 15:00:41 +0000 (15:00 +0000)]
am aa77f6e5: Merge "Fix a crash in optimizing compiler with the current method."

* commit 'aa77f6e5839b2ad3bf8ca2c06a44ec92e2667af1':
  Fix a crash in optimizing compiler with the current method.

9 years agoMerge "Fix a crash in optimizing compiler with the current method."
Nicolas Geoffray [Tue, 9 Jun 2015 14:51:21 +0000 (14:51 +0000)]
Merge "Fix a crash in optimizing compiler with the current method."

9 years agoAdd support for inlining already sharpened interface calls.
Nicolas Geoffray [Tue, 9 Jun 2015 14:43:38 +0000 (15:43 +0100)]
Add support for inlining already sharpened interface calls.

Change-Id: Ia6b557c5e98e493b187b1f30da0c62449d9dd4d4

9 years agoFix a crash in optimizing compiler with the current method.
Nicolas Geoffray [Tue, 9 Jun 2015 13:12:28 +0000 (14:12 +0100)]
Fix a crash in optimizing compiler with the current method.

Crash was due to overwriting the location of the current method
in the slow path of an intrinsic.

Change-Id: I6ca58ef5b3cea19925e60b9500aef543bc5f71ef

9 years agoBring back verbosity override
Sebastien Hertz [Mon, 1 Jun 2015 06:28:18 +0000 (08:28 +0200)]
Bring back verbosity override

Brings back the possibility to override verbosity locally (after
command-line parser changes). Also adds a test for "-verbose:deopt"
command-line option.

Change-Id: I634d5226ef473ec4d965d620e973e9e677c0069d

9 years agoam 7c5e26b3: Merge "Revert "Pass current method to HNewInstance and HNewArray.""
Nicolas Geoffray [Tue, 9 Jun 2015 09:46:59 +0000 (09:46 +0000)]
am 7c5e26b3: Merge "Revert "Pass current method to HNewInstance and HNewArray.""

* commit '7c5e26b3ea5262c0aea3374148750e81340a4bf9':
  Revert "Pass current method to HNewInstance and HNewArray."

9 years agoam 93ce3528: Merge "Quick: Fix LoopRepeatingTopologicalSortIterator."
Vladimir Marko [Tue, 9 Jun 2015 09:46:58 +0000 (09:46 +0000)]
am 93ce3528: Merge "Quick: Fix LoopRepeatingTopologicalSortIterator."

* commit '93ce3528cbf61579a0f2929ae56f0dd1fe554973':
  Quick: Fix LoopRepeatingTopologicalSortIterator.

9 years agoam b0c85983: Merge "Pass current method to HNewInstance and HNewArray."
Nicolas Geoffray [Tue, 9 Jun 2015 09:46:57 +0000 (09:46 +0000)]
am b0c85983: Merge "Pass current method to HNewInstance and HNewArray."

* commit 'b0c85983741d695fc568b61a1e0d8f318cd4828f':
  Pass current method to HNewInstance and HNewArray.

9 years agoMerge "Revert "Pass current method to HNewInstance and HNewArray.""
Nicolas Geoffray [Tue, 9 Jun 2015 09:26:04 +0000 (09:26 +0000)]
Merge "Revert "Pass current method to HNewInstance and HNewArray.""

9 years agoRevert "Pass current method to HNewInstance and HNewArray."
Nicolas Geoffray [Tue, 9 Jun 2015 09:25:50 +0000 (09:25 +0000)]
Revert "Pass current method to HNewInstance and HNewArray."

082-inline-execute fails on x86.

This reverts commit e21aa42e1341d34250742abafdd83311ad9fa737.

Change-Id: Ib3fd25faee2e0128001e40d3d51a74f959bc4449

9 years agoMerge "Quick: Fix LoopRepeatingTopologicalSortIterator."
Vladimir Marko [Tue, 9 Jun 2015 09:05:36 +0000 (09:05 +0000)]
Merge "Quick: Fix LoopRepeatingTopologicalSortIterator."

9 years agoMerge "Pass current method to HNewInstance and HNewArray."
Nicolas Geoffray [Tue, 9 Jun 2015 08:13:15 +0000 (08:13 +0000)]
Merge "Pass current method to HNewInstance and HNewArray."

9 years agoam f7bd8faf: Merge "Revert "Revert "Use HCurrentMethod in HInvokeStaticOrDirect."""
Nicolas Geoffray [Tue, 9 Jun 2015 08:07:44 +0000 (08:07 +0000)]
am f7bd8faf: Merge "Revert "Revert "Use HCurrentMethod in HInvokeStaticOrDirect."""

* commit 'f7bd8fafdf3bbf05fbcfc659cd798b3fd59051d5':
  Revert "Revert "Use HCurrentMethod in HInvokeStaticOrDirect.""

9 years agoMerge "Revert "Revert "Use HCurrentMethod in HInvokeStaticOrDirect."""
Nicolas Geoffray [Tue, 9 Jun 2015 07:55:16 +0000 (07:55 +0000)]
Merge "Revert "Revert "Use HCurrentMethod in HInvokeStaticOrDirect."""

9 years agoam 430afefe: Merge "Enable 64-bit CFI tests."
David Srbecky [Tue, 9 Jun 2015 01:53:38 +0000 (01:53 +0000)]
am 430afefe: Merge "Enable 64-bit CFI tests."

* commit '430afefe1cced35cf5eb12ce7a6dcbfc5007c97e':
  Enable 64-bit CFI tests.

9 years agoMerge "Enable 64-bit CFI tests."
David Srbecky [Tue, 9 Jun 2015 01:41:11 +0000 (01:41 +0000)]
Merge "Enable 64-bit CFI tests."

9 years agoEnable 64-bit CFI tests.
David Srbecky [Tue, 9 Jun 2015 00:21:23 +0000 (01:21 +0100)]
Enable 64-bit CFI tests.

Those should work now since we have switched to ELF-64.

Change-Id: Id95b8b309843b30864a860c745d16b50d7f88bda

9 years agoam 0f683394: Merge "More LOW_4G optimizations"
Mathieu Chartier [Mon, 8 Jun 2015 18:49:24 +0000 (18:49 +0000)]
am 0f683394: Merge "More LOW_4G optimizations"

* commit '0f6833940b4c58884ebab685d8d22e56c02be0d5':
  More LOW_4G optimizations

9 years agoMerge "More LOW_4G optimizations"
Mathieu Chartier [Mon, 8 Jun 2015 18:33:42 +0000 (18:33 +0000)]
Merge "More LOW_4G optimizations"

9 years agoMore LOW_4G optimizations
Mathieu Chartier [Thu, 4 Jun 2015 23:22:41 +0000 (16:22 -0700)]
More LOW_4G optimizations

Eagerly try to map at an address when it doesn't overlap with
the ART known maps.

Reduces time spent creating the heap on N9 from ~100ms to ~10ms.

(cherry picked from commit 3ae250c16bae3462e040b844dbc2e2fc732d67ba)

Bug: 20727525
Change-Id: Ie8982ca9d1f3158104b2b53b992c3a28841fc443

9 years agoam a56b2e09: Merge "Fix nested deoptimization."
Mingyao Yang [Mon, 8 Jun 2015 17:50:14 +0000 (17:50 +0000)]
am a56b2e09: Merge "Fix nested deoptimization."

* commit 'a56b2e09cc311d3b8eb9384decc76a13ed5da6e9':
  Fix nested deoptimization.

9 years agoMerge "Fix nested deoptimization."
Mingyao Yang [Mon, 8 Jun 2015 17:41:30 +0000 (17:41 +0000)]
Merge "Fix nested deoptimization."

9 years agoQuick: Fix LoopRepeatingTopologicalSortIterator.
Vladimir Marko [Mon, 8 Jun 2015 15:39:02 +0000 (16:39 +0100)]
Quick: Fix LoopRepeatingTopologicalSortIterator.

Always push the loop head on the loop head stack. This fixes
a bug where we failed to return to an unnatural loop head to
recalculate its GVN data.

Bug: 17410955
Change-Id: I3a2c3225e5d16268c3f56f7f90228759c7da37a9

9 years agoRevert "Revert "Use HCurrentMethod in HInvokeStaticOrDirect.""
Nicolas Geoffray [Thu, 4 Jun 2015 17:21:04 +0000 (18:21 +0100)]
Revert "Revert "Use HCurrentMethod in HInvokeStaticOrDirect.""

Fix was to special case baseline for x86, which does not have enough
registers to allocate the current method.

This reverts commit c345f141f11faad177aa9635a78088d00cf66086.

Change-Id: I5997aa52f8d4df373ae5ff4d4150dac0c44c4c10

9 years agoam 8c4cce0a: Merge "Revert "Support for inlining virtual and interface calls.""
Nicolas Geoffray [Mon, 8 Jun 2015 16:02:08 +0000 (16:02 +0000)]
am 8c4cce0a: Merge "Revert "Support for inlining virtual and interface calls.""

* commit '8c4cce0abe6cfa8f4157cfa42b18474d9536c159':
  Revert "Support for inlining virtual and interface calls."

9 years agoam c2c22074: Merge "Revert "Do a type check for knowing if we can inline.""
Nicolas Geoffray [Mon, 8 Jun 2015 16:02:04 +0000 (16:02 +0000)]
am c2c22074: Merge "Revert "Do a type check for knowing if we can inline.""

* commit 'c2c22074a4d24a53e66a4aa2afbb039746fef498':
  Revert "Do a type check for knowing if we can inline."

9 years agoMerge "Revert "Support for inlining virtual and interface calls.""
Nicolas Geoffray [Mon, 8 Jun 2015 15:54:38 +0000 (15:54 +0000)]
Merge "Revert "Support for inlining virtual and interface calls.""

9 years agoRevert "Support for inlining virtual and interface calls."
Nicolas Geoffray [Mon, 8 Jun 2015 15:52:23 +0000 (15:52 +0000)]
Revert "Support for inlining virtual and interface calls."

Fails for some apps.

bug: 21674542

This reverts commit 1d5006c34d75758752bf3499892e3d5beb11d5dc.

Change-Id: Ia74b5e54d59f8ffe9992591324a12f71efb67af4

9 years agoMerge "Revert "Do a type check for knowing if we can inline.""
Nicolas Geoffray [Mon, 8 Jun 2015 15:53:30 +0000 (15:53 +0000)]
Merge "Revert "Do a type check for knowing if we can inline.""

9 years agoRevert "Do a type check for knowing if we can inline."
Nicolas Geoffray [Mon, 8 Jun 2015 15:53:16 +0000 (15:53 +0000)]
Revert "Do a type check for knowing if we can inline."

Fails for some apps.
bug:21674542

This reverts commit 7ce4b3d4c1c562959a8a3640df764ab50f1cbdf1.

Change-Id: Ie25852c022391834858b2f5e34e8c7aeb1c3b3dd

9 years agoPass current method to HNewInstance and HNewArray.
Nicolas Geoffray [Mon, 8 Jun 2015 14:35:07 +0000 (15:35 +0100)]
Pass current method to HNewInstance and HNewArray.

Also remove unsed CodeGenerator::LoadCurrentMethod.

Change-Id: I4b8d3f2a30b8e2c76b6b329a72555483c993cb73

9 years agoFix nested deoptimization.
Mingyao Yang [Mon, 18 May 2015 19:12:50 +0000 (12:12 -0700)]
Fix nested deoptimization.

Handle nested deoptimization cases. Create a stacked shadow frame
records to keep track of deoptimization shadow frames. Shadow frames
under construction can be tracked in the same stack.

Bug: 20845490
Change-Id: I768285792c29e7c3cfcd21e7a2600802506024d8

9 years agoam ccd6337f: Merge "ART: Reload class on miranda method in verifier"
Andreas Gampe [Sun, 7 Jun 2015 22:44:52 +0000 (22:44 +0000)]
am ccd6337f: Merge "ART: Reload class on miranda method in verifier"

* commit 'ccd6337f31d13706c602f3d9436e9b4025075b63':
  ART: Reload class on miranda method in verifier

9 years agoam eb459894: Merge "Revert "Revert "Turn off duplicate-classes checking"""
Andreas Gampe [Sun, 7 Jun 2015 22:44:51 +0000 (22:44 +0000)]
am eb459894: Merge "Revert "Revert "Turn off duplicate-classes checking"""

* commit 'eb4598948fdf013241f8f8598c559f0ce92eb8b4':
  Revert "Revert "Turn off duplicate-classes checking""

9 years agoam 7048c404: (-s ours) Merge "Revert "DO NOT MERGE ART: Turn off duplicate-classes...
Andreas Gampe [Sun, 7 Jun 2015 22:44:49 +0000 (22:44 +0000)]
am 7048c404: (-s ours) Merge "Revert "DO NOT MERGE ART: Turn off duplicate-classes checking""

* commit '7048c40488532843dd2fad9730c3ab16be613e13':
  Revert "DO NOT MERGE ART: Turn off duplicate-classes checking"

9 years agoam 346bf296: (-s ours) Merge "DO NOT MERGE ART: Turn off duplicate-classes checking"
Andreas Gampe [Sun, 7 Jun 2015 22:44:48 +0000 (22:44 +0000)]
am 346bf296: (-s ours) Merge "DO NOT MERGE ART: Turn off duplicate-classes checking"

* commit '346bf29623ca0e9471064406a5d29d461f1b27ae':
  DO NOT MERGE ART: Turn off duplicate-classes checking

9 years agoMerge "ART: Reload class on miranda method in verifier"
Andreas Gampe [Sun, 7 Jun 2015 22:39:51 +0000 (22:39 +0000)]
Merge "ART: Reload class on miranda method in verifier"

9 years agoMerge "Revert "Revert "Turn off duplicate-classes checking"""
Andreas Gampe [Sun, 7 Jun 2015 22:36:15 +0000 (22:36 +0000)]
Merge "Revert "Revert "Turn off duplicate-classes checking"""

9 years agoMerge "Revert "DO NOT MERGE ART: Turn off duplicate-classes checking""
Andreas Gampe [Sun, 7 Jun 2015 22:36:00 +0000 (22:36 +0000)]
Merge "Revert "DO NOT MERGE ART: Turn off duplicate-classes checking""