OSDN Git Service

android-x86/art.git
9 years agoam de61b043: am 5e4e4f2d: Merge "Use down_cast instead of reinterpret_cast in Optimiz...
Roland Levillain [Tue, 2 Jun 2015 11:10:02 +0000 (11:10 +0000)]
am de61b043: am 5e4e4f2d: Merge "Use down_cast instead of reinterpret_cast in Optimizing codegens."

* commit 'de61b043d1e0b604deeee36b9d5b792aea760c6c':
  Use down_cast instead of reinterpret_cast in Optimizing codegens.

9 years agoam 5e4e4f2d: Merge "Use down_cast instead of reinterpret_cast in Optimizing codegens."
Roland Levillain [Tue, 2 Jun 2015 11:02:43 +0000 (11:02 +0000)]
am 5e4e4f2d: Merge "Use down_cast instead of reinterpret_cast in Optimizing codegens."

* commit '5e4e4f2decd9d54720ce50a1817247f38e068165':
  Use down_cast instead of reinterpret_cast in Optimizing codegens.

9 years agoMerge "Use down_cast instead of reinterpret_cast in Optimizing codegens."
Roland Levillain [Tue, 2 Jun 2015 10:52:35 +0000 (10:52 +0000)]
Merge "Use down_cast instead of reinterpret_cast in Optimizing codegens."

9 years agoam ad8f9299: am f86808b5: Merge "Add clear cache for JIT"
Mathieu Chartier [Tue, 2 Jun 2015 03:27:44 +0000 (03:27 +0000)]
am ad8f9299: am f86808b5: Merge "Add clear cache for JIT"

* commit 'ad8f9299ae1afba804933754256a757d6d532ab7':
  Add clear cache for JIT

9 years agoam f86808b5: Merge "Add clear cache for JIT"
Mathieu Chartier [Tue, 2 Jun 2015 03:15:06 +0000 (03:15 +0000)]
am f86808b5: Merge "Add clear cache for JIT"

* commit 'f86808b55b550962c627b50511b98f4de8cd0e60':
  Add clear cache for JIT

9 years agoMerge "Add clear cache for JIT"
Mathieu Chartier [Tue, 2 Jun 2015 03:07:20 +0000 (03:07 +0000)]
Merge "Add clear cache for JIT"

9 years agoAdd clear cache for JIT
Mathieu Chartier [Tue, 2 Jun 2015 02:12:36 +0000 (19:12 -0700)]
Add clear cache for JIT

Bug: 21572270

Change-Id: I711a9ee2d9688a8e4b59380c401f10f42c6c068e

9 years agoam 947ed8bb: am 8fa1d6a1: Merge "Fix bogus image test assert"
Mathieu Chartier [Tue, 2 Jun 2015 00:17:19 +0000 (00:17 +0000)]
am 947ed8bb: am 8fa1d6a1: Merge "Fix bogus image test assert"

* commit '947ed8bbd316a1ae15f2fef733421987f6832505':
  Fix bogus image test assert

9 years agoam 8fa1d6a1: Merge "Fix bogus image test assert"
Mathieu Chartier [Tue, 2 Jun 2015 00:06:36 +0000 (00:06 +0000)]
am 8fa1d6a1: Merge "Fix bogus image test assert"

* commit '8fa1d6a1371cc452e32808b4e97e81da2310ef60':
  Fix bogus image test assert

9 years agoMerge "Fix bogus image test assert"
Mathieu Chartier [Mon, 1 Jun 2015 23:49:20 +0000 (23:49 +0000)]
Merge "Fix bogus image test assert"

9 years agoFix bogus image test assert
Mathieu Chartier [Mon, 1 Jun 2015 23:33:53 +0000 (16:33 -0700)]
Fix bogus image test assert

Previously we were comparing the size of the non moving space to
size of the image file.

Now we properly compare the size of the image space against the size
of the image file.

Bug: 19264997
Change-Id: I7359f1f73ae3df60c5147245935a24431c04808a

9 years agoam 62f5b91b: am 816de3a3: Merge "Copy miranda methods before suspend point"
Mathieu Chartier [Mon, 1 Jun 2015 23:16:02 +0000 (23:16 +0000)]
am 62f5b91b: am 816de3a3: Merge "Copy miranda methods before suspend point"

* commit '62f5b91b8b46a937623843bb238e273167704b6f':
  Copy miranda methods before suspend point

9 years agoam 816de3a3: Merge "Copy miranda methods before suspend point"
Mathieu Chartier [Mon, 1 Jun 2015 23:01:15 +0000 (23:01 +0000)]
am 816de3a3: Merge "Copy miranda methods before suspend point"

* commit '816de3a319c80b966e34928c38f1f904657711fb':
  Copy miranda methods before suspend point

9 years agoMerge "Copy miranda methods before suspend point"
Mathieu Chartier [Mon, 1 Jun 2015 22:51:31 +0000 (22:51 +0000)]
Merge "Copy miranda methods before suspend point"

9 years agoCopy miranda methods before suspend point
Mathieu Chartier [Mon, 1 Jun 2015 21:30:06 +0000 (14:30 -0700)]
Copy miranda methods before suspend point

This fixes a bug where moving GC could happen at vtable CopyOf and
result miranda methods having stale pointers since they are not part
of the class roots at this point.

Also some minor cleanup.

Bug: 21564728
Change-Id: Ife520db6973782e40edcb2074c17274b799af738

9 years agoam eef2f837: am 4181a96a: Merge "Fix accidental IMT and root marking regression"
Mathieu Chartier [Mon, 1 Jun 2015 20:39:00 +0000 (20:39 +0000)]
am eef2f837: am 4181a96a: Merge "Fix accidental IMT and root marking regression"

* commit 'eef2f83727b4a7e4b4194d295f4d2cc1227515a0':
  Fix accidental IMT and root marking regression

9 years agoam 4181a96a: Merge "Fix accidental IMT and root marking regression"
Mathieu Chartier [Mon, 1 Jun 2015 20:29:08 +0000 (20:29 +0000)]
am 4181a96a: Merge "Fix accidental IMT and root marking regression"

* commit '4181a96a151c6444232c4951a2f837c8e2e15d35':
  Fix accidental IMT and root marking regression

9 years agoMerge "Fix accidental IMT and root marking regression"
Mathieu Chartier [Mon, 1 Jun 2015 20:15:19 +0000 (20:15 +0000)]
Merge "Fix accidental IMT and root marking regression"

9 years agoam 71f0a8a1: Merge "Fix another source of undeterministic inlining." into mnc-dev
Nicolas Geoffray [Mon, 1 Jun 2015 18:50:53 +0000 (18:50 +0000)]
am 71f0a8a1: Merge "Fix another source of undeterministic inlining." into mnc-dev

* commit '71f0a8a123fa27bdc857a98afebbaf0ed09dac15':
  Fix another source of undeterministic inlining.

9 years agoresolved conflicts for merge of 952b1642 to mnc-dev-plus-aosp
Andreas Gampe [Mon, 1 Jun 2015 18:47:09 +0000 (11:47 -0700)]
resolved conflicts for merge of 952b1642 to mnc-dev-plus-aosp

Change-Id: I6d8b7a0d55cca998e1241acc855e606b7f769609

9 years agoam 87f47244: Merge changes I3eee8df3,I78cc01fb into mnc-dev
Andreas Gampe [Mon, 1 Jun 2015 18:43:17 +0000 (18:43 +0000)]
am 87f47244: Merge changes I3eee8df3,I78cc01fb into mnc-dev

* commit '87f47244c2eb2c0af1adb153e03ad2cfceb16aa1':
  Fix test 115-native-bridge for Mips.
  ART: Add support for special handlers in sigchainlib

9 years agoresolved conflicts for merge of 47ca5fa9 to mnc-dev-plus-aosp
Andreas Gampe [Mon, 1 Jun 2015 18:41:09 +0000 (11:41 -0700)]
resolved conflicts for merge of 47ca5fa9 to mnc-dev-plus-aosp

Change-Id: Ia46207ce3a07f2d050871141d0f6b0eb6857e19e

9 years agoMerge "resolved conflicts for merge of 2293e267 to mnc-dev-plus-aosp" into mnc-dev...
Nicolas Geoffray [Mon, 1 Jun 2015 18:07:06 +0000 (18:07 +0000)]
Merge "resolved conflicts for merge of 2293e267 to mnc-dev-plus-aosp" into mnc-dev-plus-aosp

9 years agoam 6e91e67c: am 5986c72f: Merge "Fix lint error."
Nicolas Geoffray [Mon, 1 Jun 2015 18:04:18 +0000 (18:04 +0000)]
am 6e91e67c: am 5986c72f: Merge "Fix lint error."

* commit '6e91e67ce68cb0d313c662bf30e74ca2e34b5fcf':
  Fix lint error.

9 years agoresolved conflicts for merge of 2293e267 to mnc-dev-plus-aosp
Nicolas Geoffray [Mon, 1 Jun 2015 18:00:58 +0000 (19:00 +0100)]
resolved conflicts for merge of 2293e267 to mnc-dev-plus-aosp

Change-Id: Ibf43ca550063c76b7212cc8250ec9603b09f6550

9 years agoFix accidental IMT and root marking regression
Mathieu Chartier [Mon, 1 Jun 2015 17:47:36 +0000 (10:47 -0700)]
Fix accidental IMT and root marking regression

Was always using the conflict trampoline. Also included fix for
regression in GC time caused by extra roots. Most of the regression
was IMT.

Fixed bug in DumpGcPerformanceInfo where we would get SIGABRT due to
detached thread.

EvaluateAndApplyChanges:
From ~2500 -> ~1980
GC time: 8.2s -> 7.2s due to 1s less of MarkConcurrentRoots

Bug: 19264997
Change-Id: I4333e80a8268c2ed1284f87f25b9f113d4f2c7e0

9 years agoam 5986c72f: Merge "Fix lint error."
Nicolas Geoffray [Mon, 1 Jun 2015 17:51:22 +0000 (17:51 +0000)]
am 5986c72f: Merge "Fix lint error."

* commit '5986c72f85ff5af78cf5be10d53534947f8097a4':
  Fix lint error.

9 years agoMerge "Fix lint error."
Nicolas Geoffray [Mon, 1 Jun 2015 17:38:02 +0000 (17:38 +0000)]
Merge "Fix lint error."

9 years agoFix lint error.
Nicolas Geoffray [Mon, 1 Jun 2015 17:37:24 +0000 (18:37 +0100)]
Fix lint error.

Change-Id: Ibba7622a0c66eba653147f2e861606fffc7f685e

9 years agoam a094d223: am bf96caf9: Merge "ART: Fix wrong hard-failure handling in verifier"
Andreas Gampe [Mon, 1 Jun 2015 17:31:34 +0000 (17:31 +0000)]
am a094d223: am bf96caf9: Merge "ART: Fix wrong hard-failure handling in verifier"

* commit 'a094d223f43aa79195a5ce0dfd934fbc0725e2f2':
  ART: Fix wrong hard-failure handling in verifier

9 years agoam d53c3973: am f78197de: Merge "Fix gtest by adding fake lifetime positions."
Nicolas Geoffray [Mon, 1 Jun 2015 17:31:32 +0000 (17:31 +0000)]
am d53c3973: am f78197de: Merge "Fix gtest by adding fake lifetime positions."

* commit 'd53c3973555aff86fd3b395a2444c0d71b14ff59':
  Fix gtest by adding fake lifetime positions.

9 years agoUse down_cast instead of reinterpret_cast in Optimizing codegens.
Roland Levillain [Mon, 1 Jun 2015 17:24:13 +0000 (18:24 +0100)]
Use down_cast instead of reinterpret_cast in Optimizing codegens.

Change-Id: Ifa23023ffaca631a4f6b5745dd7492c39521a26f

9 years agoam bf96caf9: Merge "ART: Fix wrong hard-failure handling in verifier"
Andreas Gampe [Mon, 1 Jun 2015 17:23:25 +0000 (17:23 +0000)]
am bf96caf9: Merge "ART: Fix wrong hard-failure handling in verifier"

* commit 'bf96caf9afb3a07a524c6346ced9256995fc9d05':
  ART: Fix wrong hard-failure handling in verifier

9 years agoam f78197de: Merge "Fix gtest by adding fake lifetime positions."
Nicolas Geoffray [Mon, 1 Jun 2015 17:23:24 +0000 (17:23 +0000)]
am f78197de: Merge "Fix gtest by adding fake lifetime positions."

* commit 'f78197def7342ea64ee70660c8ea4428e33b3bd3':
  Fix gtest by adding fake lifetime positions.

9 years agoMerge "ART: Fix wrong hard-failure handling in verifier"
Andreas Gampe [Mon, 1 Jun 2015 17:20:00 +0000 (17:20 +0000)]
Merge "ART: Fix wrong hard-failure handling in verifier"

9 years agoMerge "Fix another source of undeterministic inlining." into mnc-dev
Nicolas Geoffray [Mon, 1 Jun 2015 17:13:34 +0000 (17:13 +0000)]
Merge "Fix another source of undeterministic inlining." into mnc-dev

9 years agoMerge "Fix gtest by adding fake lifetime positions."
Nicolas Geoffray [Mon, 1 Jun 2015 17:13:17 +0000 (17:13 +0000)]
Merge "Fix gtest by adding fake lifetime positions."

9 years agoFix gtest by adding fake lifetime positions.
Nicolas Geoffray [Mon, 1 Jun 2015 17:12:38 +0000 (18:12 +0100)]
Fix gtest by adding fake lifetime positions.

Change-Id: I7cd89143103ac3e372406dff5d3837c9d91bb00d

9 years agoam aef10e45: am 45fc7d43: Merge "Enable jsr166 tests"
Nicolas Geoffray [Mon, 1 Jun 2015 17:04:36 +0000 (17:04 +0000)]
am aef10e45: am 45fc7d43: Merge "Enable jsr166 tests"

* commit 'aef10e45d979bca79536ec96ff204c1094727813':
  Enable jsr166 tests

9 years agoam 484bdb04: am 79895983: Merge "Tweak one hint and one split in the linear scan."
Nicolas Geoffray [Mon, 1 Jun 2015 17:04:34 +0000 (17:04 +0000)]
am 484bdb04: am 79895983: Merge "Tweak one hint and one split in the linear scan."

* commit '484bdb047e32303ba0e2056906eac414cd5f0522':
  Tweak one hint and one split in the linear scan.

9 years agoresolved conflicts for merge of 73a93774 to mnc-dev-plus-aosp
Jeff Hao [Mon, 1 Jun 2015 16:58:07 +0000 (09:58 -0700)]
resolved conflicts for merge of 73a93774 to mnc-dev-plus-aosp

Change-Id: I67697bbcab762006fc9c7eed17d06c7e02b0a4a2

9 years agoART: Fix wrong hard-failure handling in verifier
Andreas Gampe [Tue, 26 May 2015 20:35:39 +0000 (13:35 -0700)]
ART: Fix wrong hard-failure handling in verifier

Correctly return null for the method when a hard failure is
encountered. Also improve logging for order failures. Add a
regression test.

Bug: 20224106

(cherry picked from commit 3b74e275838729c5023cd80116f1b3b81306ee19)

Change-Id: I6e08202617147378b204af169308b67fc69f92c6

9 years agoam 45fc7d43: Merge "Enable jsr166 tests"
Nicolas Geoffray [Mon, 1 Jun 2015 16:50:48 +0000 (16:50 +0000)]
am 45fc7d43: Merge "Enable jsr166 tests"

* commit '45fc7d43e614491a3c436838588b19e4b94e4ccd':
  Enable jsr166 tests

9 years agoam 79895983: Merge "Tweak one hint and one split in the linear scan."
Nicolas Geoffray [Mon, 1 Jun 2015 16:50:46 +0000 (16:50 +0000)]
am 79895983: Merge "Tweak one hint and one split in the linear scan."

* commit '798959832ad4592965e4a201e0968b9c4e16bf10':
  Tweak one hint and one split in the linear scan.

9 years agoMerge "Enable jsr166 tests"
Nicolas Geoffray [Mon, 1 Jun 2015 16:48:53 +0000 (16:48 +0000)]
Merge "Enable jsr166 tests"

9 years agoMerge "Tweak one hint and one split in the linear scan."
Nicolas Geoffray [Mon, 1 Jun 2015 16:42:04 +0000 (16:42 +0000)]
Merge "Tweak one hint and one split in the linear scan."

9 years agoam 02a19021: am 7b9f2144: Merge "Revert "Revert "Switch to using ELF-64 for 64-bit...
David Srbecky [Mon, 1 Jun 2015 16:07:29 +0000 (16:07 +0000)]
am 02a19021: am 7b9f2144: Merge "Revert "Revert "Switch to using ELF-64 for 64-bit architectures."""

* commit '02a1902119be8d1749162c102fcb3b51736aef23':
  Revert "Revert "Switch to using ELF-64 for 64-bit architectures.""

9 years agoam 7b9f2144: Merge "Revert "Revert "Switch to using ELF-64 for 64-bit architectures."""
David Srbecky [Mon, 1 Jun 2015 15:53:03 +0000 (15:53 +0000)]
am 7b9f2144: Merge "Revert "Revert "Switch to using ELF-64 for 64-bit architectures."""

* commit '7b9f214463b9a5a49b497421713efead3fb32ec4':
  Revert "Revert "Switch to using ELF-64 for 64-bit architectures.""

9 years agoMerge "Revert "Revert "Switch to using ELF-64 for 64-bit architectures."""
David Srbecky [Mon, 1 Jun 2015 15:35:06 +0000 (15:35 +0000)]
Merge "Revert "Revert "Switch to using ELF-64 for 64-bit architectures."""

9 years agoMerge "ART: Fix wrong hard-failure handling in verifier" into mnc-dev
Andreas Gampe [Mon, 1 Jun 2015 15:28:37 +0000 (15:28 +0000)]
Merge "ART: Fix wrong hard-failure handling in verifier" into mnc-dev

9 years agoMerge changes I3eee8df3,I78cc01fb into mnc-dev
Andreas Gampe [Mon, 1 Jun 2015 15:23:43 +0000 (15:23 +0000)]
Merge changes I3eee8df3,I78cc01fb into mnc-dev

* changes:
  Fix test 115-native-bridge for Mips.
  ART: Add support for special handlers in sigchainlib

9 years agoMerge "ART: Use v2 version of NativeBridge struct" into mnc-dev
Andreas Gampe [Mon, 1 Jun 2015 15:23:39 +0000 (15:23 +0000)]
Merge "ART: Use v2 version of NativeBridge struct" into mnc-dev

9 years agoresolved conflicts for merge of a2ea7405 to mnc-dev-plus-aosp
Vladimir Marko [Mon, 1 Jun 2015 14:54:09 +0000 (15:54 +0100)]
resolved conflicts for merge of a2ea7405 to mnc-dev-plus-aosp

9 years agoam c9d45055: Merge "ART: Add Mips o32 callee-save registers to SaveAll frame" into...
Andreas Gampe [Mon, 1 Jun 2015 14:46:35 +0000 (14:46 +0000)]
am c9d45055: Merge "ART: Add Mips o32 callee-save registers to SaveAll frame" into mnc-dev

* commit 'c9d450554eb7a8dd74e36698d736572fa57d1a7b':
  ART: Add Mips o32 callee-save registers to SaveAll frame

9 years agoTweak one hint and one split in the linear scan.
Nicolas Geoffray [Mon, 1 Jun 2015 12:51:57 +0000 (13:51 +0100)]
Tweak one hint and one split in the linear scan.

- Return a hinted register if it is available. Otherwise
  another move will be necessary.
- Use SplitBetween instead of raw split when a register
  is not fully available. This will find the best split
  position.

Change-Id: Ie464e536204ab556eb09345fe6426621eb86e5ac

9 years agoam 0f243e16: am c2ec6287: Merge "Fix JDWP tests after ArtMethod change"
Sebastien Hertz [Mon, 1 Jun 2015 10:55:57 +0000 (10:55 +0000)]
am 0f243e16: am c2ec6287: Merge "Fix JDWP tests after ArtMethod change"

* commit '0f243e16898dc91c2be2f7532959c4327857498f':
  Fix JDWP tests after ArtMethod change

9 years agoam 82bf4242: am 1f94058f: Merge "ART: Fix casts for 64-bit pointers on 32-bit compiler."
Vladimir Marko [Mon, 1 Jun 2015 10:55:56 +0000 (10:55 +0000)]
am 82bf4242: am 1f94058f: Merge "ART: Fix casts for 64-bit pointers on 32-bit compiler."

* commit '82bf4242e8e3675f73ca4f586524892fcd3a61dc':
  ART: Fix casts for 64-bit pointers on 32-bit compiler.

9 years agoam c2ec6287: Merge "Fix JDWP tests after ArtMethod change"
Sebastien Hertz [Mon, 1 Jun 2015 10:41:26 +0000 (10:41 +0000)]
am c2ec6287: Merge "Fix JDWP tests after ArtMethod change"

* commit 'c2ec62874804f341439455fb00a128010139d0fc':
  Fix JDWP tests after ArtMethod change

9 years agoam 1f94058f: Merge "ART: Fix casts for 64-bit pointers on 32-bit compiler."
Vladimir Marko [Mon, 1 Jun 2015 10:41:24 +0000 (10:41 +0000)]
am 1f94058f: Merge "ART: Fix casts for 64-bit pointers on 32-bit compiler."

* commit '1f94058f901ab5cd1a9870d45ff29b9d5d0a8802':
  ART: Fix casts for 64-bit pointers on 32-bit compiler.

9 years agoMerge "Fix JDWP tests after ArtMethod change"
Sebastien Hertz [Mon, 1 Jun 2015 10:31:09 +0000 (10:31 +0000)]
Merge "Fix JDWP tests after ArtMethod change"

9 years agoMerge "ART: Fix casts for 64-bit pointers on 32-bit compiler."
Vladimir Marko [Mon, 1 Jun 2015 10:27:36 +0000 (10:27 +0000)]
Merge "ART: Fix casts for 64-bit pointers on 32-bit compiler."

9 years agoFix JDWP tests after ArtMethod change
Sebastien Hertz [Mon, 1 Jun 2015 09:42:27 +0000 (11:42 +0200)]
Fix JDWP tests after ArtMethod change

Fixes Throwable::GetStackDepth for exception event detection after
internal stack trace representation change.

Adds missing ArtMethod::GetInterfaceMethodIfProxy call in case of
proxy method.

Bug: 19264997
Change-Id: I363e293796848c3ec491c963813f62d868da44d2

9 years agoART: Fix casts for 64-bit pointers on 32-bit compiler.
Vladimir Marko [Mon, 1 Jun 2015 10:02:59 +0000 (11:02 +0100)]
ART: Fix casts for 64-bit pointers on 32-bit compiler.

Bug: 19264997
Change-Id: Ief45cdd4bae5a43fc8bfdfa7cf744e2c57529457

9 years agoFix another source of undeterministic inlining.
Nicolas Geoffray [Wed, 27 May 2015 11:53:36 +0000 (12:53 +0100)]
Fix another source of undeterministic inlining.

bug:20037935

(cherry picked from commit 5ae1325048f3d2143f62735ed41acebf28ee6742)

Change-Id: I4bbec76988cfd3061084055c16d2d9ef46845f0a

9 years agoMerge "Make inlining deterministic." into mnc-dev
Nicolas Geoffray [Mon, 1 Jun 2015 07:58:14 +0000 (07:58 +0000)]
Merge "Make inlining deterministic." into mnc-dev

9 years agoam ea2b7625: am a96bea54: Merge "Fix some ArtMethod related bugs"
Mathieu Chartier [Mon, 1 Jun 2015 05:47:00 +0000 (05:47 +0000)]
am ea2b7625: am a96bea54: Merge "Fix some ArtMethod related bugs"

* commit 'ea2b7625af2b4d76a165e7aa80efd7574f185f49':
  Fix some ArtMethod related bugs

9 years agoam a96bea54: Merge "Fix some ArtMethod related bugs"
Mathieu Chartier [Mon, 1 Jun 2015 05:32:42 +0000 (05:32 +0000)]
am a96bea54: Merge "Fix some ArtMethod related bugs"

* commit 'a96bea54b7e3def5490d169f2bf92be2e68dd001':
  Fix some ArtMethod related bugs

9 years agoMerge "Fix some ArtMethod related bugs"
Mathieu Chartier [Mon, 1 Jun 2015 05:22:48 +0000 (05:22 +0000)]
Merge "Fix some ArtMethod related bugs"

9 years agoFix some ArtMethod related bugs
Mathieu Chartier [Sun, 31 May 2015 21:29:23 +0000 (14:29 -0700)]
Fix some ArtMethod related bugs

Added root visiting for runtime methods, not currently required
since the GcRoots in these methods are null.

Added missing GetInterfaceMethodIfProxy in GetMethodLine, fixes
--trace run-tests 005, 044.

Fixed optimizing compiler bug where we used a normal stack location
instead of double on ARM64, this fixes the debuggable tests.

TODO: Fix JDWP tests.

Bug: 19264997

Change-Id: I7c55f69c61d1b45351fd0dc7185ffe5efad82bd3

9 years agoam dd69dcb6: am 442dd37d: Merge "Fix test 115-native-bridge for Mips."
Andreas Gampe [Mon, 1 Jun 2015 00:15:05 +0000 (00:15 +0000)]
am dd69dcb6: am 442dd37d: Merge "Fix test 115-native-bridge for Mips."

* commit 'dd69dcb6da57cfd07d821339a4721f635d763139':
  Fix test 115-native-bridge for Mips.

9 years agoam 442dd37d: Merge "Fix test 115-native-bridge for Mips."
Andreas Gampe [Mon, 1 Jun 2015 00:00:42 +0000 (00:00 +0000)]
am 442dd37d: Merge "Fix test 115-native-bridge for Mips."

* commit '442dd37d27b44ab4f86be3a8ec26afedbfe911f9':
  Fix test 115-native-bridge for Mips.

9 years agoFix test 115-native-bridge for Mips.
Douglas Leung [Sat, 30 May 2015 02:50:02 +0000 (19:50 -0700)]
Fix test 115-native-bridge for Mips.

(cherry picked from commit d0af5479d61013362e43ae15cb69c9f8da915e08)

Change-Id: I3eee8df39e774d233f11c43a5578f407bfdebca1

9 years agoART: Add support for special handlers in sigchainlib
Andreas Gampe [Sat, 23 May 2015 01:31:50 +0000 (18:31 -0700)]
ART: Add support for special handlers in sigchainlib

Add support for a special managed handler in sigchainlib that
will be called as the first user handler.

Use this support for native bridge v2. Extend test 115-native-bridge
to test the functionality.

Bug: 20217701

(cherry picked from commit 03c2cc89428914adf52229d6a3867eef6127911a)

Change-Id: I78cc01fbdabe169154ff6b94c9f3ddb95b5c7448

9 years agoART: Use v2 version of NativeBridge struct
Andreas Gampe [Thu, 21 May 2015 01:01:30 +0000 (18:01 -0700)]
ART: Use v2 version of NativeBridge struct

Update the struct to the new version, but without implementation.

Bug: 20217701

(cherry picked from commit 540cc3d49c858e670591d8c00fcd87576cdbede6)

Change-Id: Ic23a60b949f119c7d8b0e7cb27a61e6c16532a23

9 years agoMerge "Fix test 115-native-bridge for Mips."
Andreas Gampe [Sun, 31 May 2015 23:50:26 +0000 (23:50 +0000)]
Merge "Fix test 115-native-bridge for Mips."

9 years agoFix test 115-native-bridge for Mips.
Douglas Leung [Sat, 30 May 2015 02:50:02 +0000 (19:50 -0700)]
Fix test 115-native-bridge for Mips.

Change-Id: I3eee8df39e774d233f11c43a5578f407bfdebca1

9 years agoam 0efe6490: am 119a8025: Merge "Move mirror::ArtMethod to native"
Mathieu Chartier [Sat, 30 May 2015 02:21:00 +0000 (02:21 +0000)]
am 0efe6490: am 119a8025: Merge "Move mirror::ArtMethod to native"

* commit '0efe64909fe9e1162079d7091078da13f51da6da':
  Move mirror::ArtMethod to native

9 years agoam 119a8025: Merge "Move mirror::ArtMethod to native"
Mathieu Chartier [Sat, 30 May 2015 02:05:02 +0000 (02:05 +0000)]
am 119a8025: Merge "Move mirror::ArtMethod to native"

* commit '119a8025bbc1c6f4a2d537e9a6d22f33ef31e552':
  Move mirror::ArtMethod to native

9 years agoMerge "Move mirror::ArtMethod to native"
Mathieu Chartier [Sat, 30 May 2015 01:54:15 +0000 (01:54 +0000)]
Merge "Move mirror::ArtMethod to native"

9 years agoMove mirror::ArtMethod to native
Mathieu Chartier [Wed, 22 Apr 2015 20:56:20 +0000 (13:56 -0700)]
Move mirror::ArtMethod to native

Optimizing + quick tests are passing, devices boot.

TODO: Test and fix bugs in mips64.

Saves 16 bytes per most ArtMethod, 7.5MB reduction in system PSS.
Some of the savings are from removal of virtual methods and direct
methods object arrays.

Bug: 19264997
Change-Id: I622469a0cfa0e7082a2119f3d6a9491eb61e3f3d

9 years agoam a05c0db9: am 2006b7b9: Merge "Add unstarted runtime test for String.<init>."
Jeff Hao [Fri, 29 May 2015 23:07:44 +0000 (23:07 +0000)]
am a05c0db9: am 2006b7b9: Merge "Add unstarted runtime test for String.<init>."

* commit 'a05c0db93e63719c4b59d75d559e068c3bc6bcc0':
  Add unstarted runtime test for String.<init>.

9 years agoam 2006b7b9: Merge "Add unstarted runtime test for String.<init>."
Jeff Hao [Fri, 29 May 2015 22:52:46 +0000 (22:52 +0000)]
am 2006b7b9: Merge "Add unstarted runtime test for String.<init>."

* commit '2006b7b9b8e32722bd0d640c62549d8a0ac624b6':
  Add unstarted runtime test for String.<init>.

9 years agoMerge "Add unstarted runtime test for String.<init>."
Jeff Hao [Fri, 29 May 2015 22:40:31 +0000 (22:40 +0000)]
Merge "Add unstarted runtime test for String.<init>."

9 years agoAdd unstarted runtime test for String.<init>.
Jeff Hao [Fri, 29 May 2015 17:53:17 +0000 (10:53 -0700)]
Add unstarted runtime test for String.<init>.

Bug: 21173514

(cherry picked from commit 73a937740841154eb32a0aa15f938f1c06f26091)

Change-Id: If7bd360c396e2594f34efe3a6237f77c7129112b

9 years agoAdd unstarted runtime test for String.<init>.
Jeff Hao [Fri, 29 May 2015 17:53:17 +0000 (10:53 -0700)]
Add unstarted runtime test for String.<init>.

Bug: 21173514
Change-Id: I369806644879fffc01bdc123d81a551e6eedf465

9 years agoam ec723892: am 03663443: Merge "Make some parts of ELF more (pointer) aligned."
David Srbecky [Fri, 29 May 2015 20:20:13 +0000 (20:20 +0000)]
am ec723892: am 03663443: Merge "Make some parts of ELF more (pointer) aligned."

* commit 'ec723892a0411dd6bdc9df00728a44d3ed8e13ad':
  Make some parts of ELF more (pointer) aligned.

9 years agoam 03663443: Merge "Make some parts of ELF more (pointer) aligned."
David Srbecky [Fri, 29 May 2015 20:00:30 +0000 (20:00 +0000)]
am 03663443: Merge "Make some parts of ELF more (pointer) aligned."

* commit '0366344363c66138e5cfbac6de12cdbb3ac5c76e':
  Make some parts of ELF more (pointer) aligned.

9 years agoMerge "Make some parts of ELF more (pointer) aligned."
David Srbecky [Fri, 29 May 2015 19:48:19 +0000 (19:48 +0000)]
Merge "Make some parts of ELF more (pointer) aligned."

9 years agoFix double-exception in super-class method validation.
Vladimir Marko [Fri, 8 May 2015 11:26:59 +0000 (12:26 +0100)]
Fix double-exception in super-class method validation.

Bug: 19333589

(cherry picked from commit d5e5a0e61b5b1fe0aaa7edc25a08adebd5a92353)

Change-Id: If394a678ef6271c1119dac3f959773f23e789c56

9 years agoMake some parts of ELF more (pointer) aligned.
David Srbecky [Fri, 29 May 2015 17:09:05 +0000 (18:09 +0100)]
Make some parts of ELF more (pointer) aligned.

I am not aware of any problem at the moment, but better
be safe than sorry.  I have noticed that we align less
when comparing our output with output of other tools.

Bug: 20556771
Change-Id: I904e66f5b7776f64cc90ec2802ddb2c630b64d08

9 years agoam c2e6edc0: am 75939a2b: Merge "Fix double-exception in super-class method validation."
Vladimir Marko [Fri, 29 May 2015 17:04:39 +0000 (17:04 +0000)]
am c2e6edc0: am 75939a2b: Merge "Fix double-exception in super-class method validation."

* commit 'c2e6edc05feaaf2376c21c20a35ca4c1aa836930':
  Fix double-exception in super-class method validation.

9 years agoam 75939a2b: Merge "Fix double-exception in super-class method validation."
Vladimir Marko [Fri, 29 May 2015 16:53:24 +0000 (16:53 +0000)]
am 75939a2b: Merge "Fix double-exception in super-class method validation."

* commit '75939a2ba24ca4da3f33f89928cca1540c5ddfc6':
  Fix double-exception in super-class method validation.

9 years agoMerge "Fix double-exception in super-class method validation."
Vladimir Marko [Fri, 29 May 2015 16:44:07 +0000 (16:44 +0000)]
Merge "Fix double-exception in super-class method validation."

9 years agoam 283891a0: am 6cce3c9d: Merge "Link .dynamic to .dynstr"
David Srbecky [Fri, 29 May 2015 16:40:16 +0000 (16:40 +0000)]
am 283891a0: am 6cce3c9d: Merge "Link .dynamic to .dynstr"

* commit '283891a0ac48732941fa10553e96e924e22841e7':
  Link .dynamic to .dynstr

9 years agoam 17ff437b: am 49c595d7: Merge "Set correct size of PT_PHDR ELF segment."
David Srbecky [Fri, 29 May 2015 16:40:15 +0000 (16:40 +0000)]
am 17ff437b: am 49c595d7: Merge "Set correct size of PT_PHDR ELF segment."

* commit '17ff437b2596e4bc4098b75a54fc0bd87f9d7769':
  Set correct size of PT_PHDR ELF segment.

9 years agoam 6cce3c9d: Merge "Link .dynamic to .dynstr"
David Srbecky [Fri, 29 May 2015 16:26:30 +0000 (16:26 +0000)]
am 6cce3c9d: Merge "Link .dynamic to .dynstr"

* commit '6cce3c9d4219f1d45de9dd2af86f860c42af0a78':
  Link .dynamic to .dynstr

9 years agoam 49c595d7: Merge "Set correct size of PT_PHDR ELF segment."
David Srbecky [Fri, 29 May 2015 16:26:28 +0000 (16:26 +0000)]
am 49c595d7: Merge "Set correct size of PT_PHDR ELF segment."

* commit '49c595d7341ee1d6b4bdc05ca2437c61c726cbbf':
  Set correct size of PT_PHDR ELF segment.

9 years agoMerge "Link .dynamic to .dynstr"
David Srbecky [Fri, 29 May 2015 16:18:06 +0000 (16:18 +0000)]
Merge "Link .dynamic to .dynstr"

9 years agoMerge "Set correct size of PT_PHDR ELF segment."
David Srbecky [Fri, 29 May 2015 16:16:55 +0000 (16:16 +0000)]
Merge "Set correct size of PT_PHDR ELF segment."

9 years agoLink .dynamic to .dynstr
David Srbecky [Fri, 29 May 2015 15:33:11 +0000 (16:33 +0100)]
Link .dynamic to .dynstr

This is what the ELF specification says we should do.
(see Figure 1-13: sh_link and sh_info Interpretation)

Also make the entity size of string sections 0 (i.e. not a table).
Size 1 makes some sense as well but it is not what other tools do.

Bug: 20556771
Change-Id: I780ba2e13c09c33c143fca70b38a35f3b8528fb2