OSDN Git Service

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

9 years agoSet correct size of PT_PHDR ELF segment.
David Srbecky [Fri, 29 May 2015 14:21:20 +0000 (15:21 +0100)]
Set correct size of PT_PHDR ELF segment.

This is just a nit pick, I do not believe that having it too
long could have caused any trouble since the correct number of
elements is stored in ELF header and extra space was zero padded.

Bug: 20556771
Change-Id: Ide56e6aa40f9b7175b55a830caf34c47e48213af

9 years agoam 0028b9d3: Merge "ART: Add support for special handlers in sigchainlib"
Andreas Gampe [Fri, 29 May 2015 15:35:37 +0000 (15:35 +0000)]
am 0028b9d3: Merge "ART: Add support for special handlers in sigchainlib"

* commit '0028b9d3b7d73ba0a045d50a0fe2797e51a4e6b6':
  ART: Add support for special handlers in sigchainlib

9 years agoMerge "ART: Add support for special handlers in sigchainlib"
Andreas Gampe [Fri, 29 May 2015 15:26:21 +0000 (15:26 +0000)]
Merge "ART: Add support for special handlers in sigchainlib"

9 years agoam 66a7d7a4: Merge "Support for inlining methods that call/throw."
Nicolas Geoffray [Fri, 29 May 2015 14:06:47 +0000 (14:06 +0000)]
am 66a7d7a4: Merge "Support for inlining methods that call/throw."

* commit '66a7d7a4612b0dfb8a409fbf05bbefd07122fd80':
  Support for inlining methods that call/throw.

9 years agoam bd699ea0: Merge "Bring Reference Type Propagation to Instance/StaticInstanceField"
Roland Levillain [Fri, 29 May 2015 14:06:45 +0000 (14:06 +0000)]
am bd699ea0: Merge "Bring Reference Type Propagation to Instance/StaticInstanceField"

* commit 'bd699ea018d12b061282f17a6abf329590ab263c':
  Bring Reference Type Propagation to Instance/StaticInstanceField

9 years agoMerge "Support for inlining methods that call/throw."
Nicolas Geoffray [Fri, 29 May 2015 14:03:10 +0000 (14:03 +0000)]
Merge "Support for inlining methods that call/throw."

9 years agoMerge "Bring Reference Type Propagation to Instance/StaticInstanceField"
Roland Levillain [Fri, 29 May 2015 13:57:36 +0000 (13:57 +0000)]
Merge "Bring Reference Type Propagation to Instance/StaticInstanceField"

9 years agoSupport for inlining methods that call/throw.
Nicolas Geoffray [Mon, 18 May 2015 21:31:29 +0000 (22:31 +0100)]
Support for inlining methods that call/throw.

Mostly fixes here and there to make it working.

Change-Id: I1b535e895105d78b65634636d675b818551f783e

9 years agoam 05f763b8: Merge "Also add run-test dependencies to build-art-*-tests."
Nicolas Geoffray [Fri, 29 May 2015 13:08:55 +0000 (13:08 +0000)]
am 05f763b8: Merge "Also add run-test dependencies to build-art-*-tests."

* commit '05f763b892c1fea61428752aa5576f4f656a6463':
  Also add run-test dependencies to build-art-*-tests.

9 years agoMerge "Also add run-test dependencies to build-art-*-tests."
Nicolas Geoffray [Fri, 29 May 2015 12:55:54 +0000 (12:55 +0000)]
Merge "Also add run-test dependencies to build-art-*-tests."

9 years agoam a15c78d3: Merge "Use the new HCurrentMethod in HLoadString."
Nicolas Geoffray [Fri, 29 May 2015 12:55:31 +0000 (12:55 +0000)]
am a15c78d3: Merge "Use the new HCurrentMethod in HLoadString."

* commit 'a15c78d3cc28f514a482ffd792a767e97fe53c95':
  Use the new HCurrentMethod in HLoadString.

9 years agoMerge "Use the new HCurrentMethod in HLoadString."
Nicolas Geoffray [Fri, 29 May 2015 12:43:13 +0000 (12:43 +0000)]
Merge "Use the new HCurrentMethod in HLoadString."

9 years agoAlso add run-test dependencies to build-art-*-tests.
Nicolas Geoffray [Fri, 29 May 2015 12:40:25 +0000 (13:40 +0100)]
Also add run-test dependencies to build-art-*-tests.

Change-Id: If02c1a9426c2d04f4fad8892e387b2fb6c48ee2f

9 years agoam 5adb8b6b: Merge "Fix typo in script."
Nicolas Geoffray [Fri, 29 May 2015 11:30:55 +0000 (11:30 +0000)]
am 5adb8b6b: Merge "Fix typo in script."

* commit '5adb8b6b3c7e97b94a2b28258847b947895faeea':
  Fix typo in script.

9 years agoMerge "Fix typo in script."
Nicolas Geoffray [Fri, 29 May 2015 11:20:12 +0000 (11:20 +0000)]
Merge "Fix typo in script."

9 years agoam 1a0bd725: Merge "Update libcore failures"
Nicolas Geoffray [Fri, 29 May 2015 11:17:47 +0000 (11:17 +0000)]
am 1a0bd725: Merge "Update libcore failures"

* commit '1a0bd72563a525dbb5d2a06f818ec7113dcf67c1':
  Update libcore failures

9 years agoFix typo in script.
Nicolas Geoffray [Fri, 29 May 2015 11:17:06 +0000 (12:17 +0100)]
Fix typo in script.

Change-Id: I853bb5758005f9f7c4940f815c3d72a1d48acd21

9 years agoUse the new HCurrentMethod in HLoadString.
Nicolas Geoffray [Fri, 29 May 2015 11:06:56 +0000 (12:06 +0100)]
Use the new HCurrentMethod in HLoadString.

Change-Id: I23d27e5e10736d127519eb3238ff8f25df3843a2

9 years agoMerge "Update libcore failures"
Nicolas Geoffray [Fri, 29 May 2015 11:03:52 +0000 (11:03 +0000)]
Merge "Update libcore failures"

9 years agoUpdate libcore failures
Wojciech Staszkiewicz [Fri, 29 May 2015 10:12:59 +0000 (11:12 +0100)]
Update libcore failures

Default device date (1970) is causing some tests to fail. This
change updates libcore failures to reflect this knowledge.

Change-Id: Ia8151cfa1600fba4b45c203d468de9244b322d61

9 years agoam fa2d9424: Merge "Add a script to build exactly like the chrome buildbot."
Nicolas Geoffray [Fri, 29 May 2015 10:50:44 +0000 (10:50 +0000)]
am fa2d9424: Merge "Add a script to build exactly like the chrome buildbot."

* commit 'fa2d94249871261c973b9c9f3827c494fe270f61':
  Add a script to build exactly like the chrome buildbot.

9 years agoBring Reference Type Propagation to Instance/StaticInstanceField
Guillaume "Vermeille" Sanchez [Wed, 20 May 2015 16:52:13 +0000 (17:52 +0100)]
Bring Reference Type Propagation to Instance/StaticInstanceField

For this, we need the field index in FieldInfo, hence the add of the field.

Change-Id: Id219bd826d8496acf3981307a8c42e2eb6ddb712

9 years agoMerge "Add a script to build exactly like the chrome buildbot."
Nicolas Geoffray [Fri, 29 May 2015 10:41:40 +0000 (10:41 +0000)]
Merge "Add a script to build exactly like the chrome buildbot."

9 years agoAdd a script to build exactly like the chrome buildbot.
Nicolas Geoffray [Fri, 29 May 2015 09:54:12 +0000 (10:54 +0100)]
Add a script to build exactly like the chrome buildbot.

The buildbot will use that script directly.

Change-Id: I837432f1e1e9b9d238d91de9af51ad955f7cd76d

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
Change-Id: I2399c4058d488bbdbf6709c63e367f1b7c251b1d

9 years agoam 25e447d5: Merge "ART: Fix valgrind Makefile"
Andreas Gampe [Fri, 29 May 2015 03:29:58 +0000 (03:29 +0000)]
am 25e447d5: Merge "ART: Fix valgrind Makefile"

* commit '25e447d53cf4e7ca087c8ac77df11acddb595564':
  ART: Fix valgrind Makefile

9 years agoMerge "ART: Fix valgrind Makefile"
Andreas Gampe [Fri, 29 May 2015 03:18:25 +0000 (03:18 +0000)]
Merge "ART: Fix valgrind Makefile"

9 years agoART: Fix valgrind Makefile
Andreas Gampe [Fri, 29 May 2015 03:17:09 +0000 (20:17 -0700)]
ART: Fix valgrind Makefile

Add a missing dependency that lead to runtime errors.

Change-Id: Idbaed6bcc56a644713f10847f8600dc0f962202f

9 years agoam 33601370: Merge "ART: Add Mips o32 callee-save registers to SaveAll frame"
Andreas Gampe [Fri, 29 May 2015 00:57:53 +0000 (00:57 +0000)]
am 33601370: Merge "ART: Add Mips o32 callee-save registers to SaveAll frame"

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

9 years agoMerge "ART: Add Mips o32 callee-save registers to SaveAll frame"
Andreas Gampe [Fri, 29 May 2015 00:47:42 +0000 (00:47 +0000)]
Merge "ART: Add Mips o32 callee-save registers to SaveAll frame"

9 years agoam 78011df8: Merge "Add JNI String.<init> test for global and weak global refs."
Jeff Hao [Thu, 28 May 2015 23:12:31 +0000 (23:12 +0000)]
am 78011df8: Merge "Add JNI String.<init> test for global and weak global refs."

* commit '78011df89ac172d25f337132386c2a284b34dfdd':
  Add JNI String.<init> test for global and weak global refs.

9 years agoam 24c24d43: Merge "Fix updating of JNI references for String.<init>."
Jeff Hao [Thu, 28 May 2015 23:12:30 +0000 (23:12 +0000)]
am 24c24d43: Merge "Fix updating of JNI references for String.<init>."

* commit '24c24d43f53224bf41a41eb214c5256dda93668d':
  Fix updating of JNI references for String.<init>.

9 years agoMerge "Add JNI String.<init> test for global and weak global refs."
Jeff Hao [Thu, 28 May 2015 22:50:19 +0000 (22:50 +0000)]
Merge "Add JNI String.<init> test for global and weak global refs."

9 years agoAdd JNI String.<init> test for global and weak global refs.
Jeff Hao [Thu, 28 May 2015 21:32:07 +0000 (14:32 -0700)]
Add JNI String.<init> test for global and weak global refs.

Test for change:
https://android-review.googlesource.com/#/c/152265/

(cherry picked from commit 7be83025b62ab499ed8b2b59521f8fbe8e2b13ab)

Change-Id: If10a5fcf7a554d798d2bb21d493e5a7266ed0079

9 years agoMerge "Fix updating of JNI references for String.<init>."
Jeff Hao [Thu, 28 May 2015 22:47:58 +0000 (22:47 +0000)]
Merge "Fix updating of JNI references for String.<init>."

9 years agoam 023e6f6d: Merge "Add --generate-debug-info flag and remove the other two flags."
David Srbecky [Thu, 28 May 2015 18:53:23 +0000 (18:53 +0000)]
am 023e6f6d: Merge "Add --generate-debug-info flag and remove the other two flags."

* commit '023e6f6d67d6ab520e194d142f3adaafb6e3a11d':
  Add --generate-debug-info flag and remove the other two flags.

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
Change-Id: I78cc01fbdabe169154ff6b94c9f3ddb95b5c7448

9 years agoMerge "Add --generate-debug-info flag and remove the other two flags."
David Srbecky [Thu, 28 May 2015 18:37:35 +0000 (18:37 +0000)]
Merge "Add --generate-debug-info flag and remove the other two flags."

9 years agoAdd --generate-debug-info flag and remove the other two flags.
David Srbecky [Thu, 28 May 2015 15:12:43 +0000 (16:12 +0100)]
Add --generate-debug-info flag and remove the other two flags.

Replace the flags --include-debug-symbols and --include-cfi
with single flag called --generate-debug-info (with alias -g).

The name "symbol" was not ideal, since depending on context it
may be interpreted as "ELF symbols", or "debugging information".

This CL also means that we have only the options to include
either all debugging information or none.  This should be fine,
since we can use standard tools to strip anything we do not want.

Change-Id: I721fded56d755d7eed0ef36aa84e841a1f5747f8

9 years agoam 6f84e504: Merge "ART: Distinguish Checker lines from comments"
David Brazdil [Thu, 28 May 2015 14:55:45 +0000 (14:55 +0000)]
am 6f84e504: Merge "ART: Distinguish Checker lines from comments"

* commit '6f84e50443f1ead31efb25ecbdfb51c1037e4519':
  ART: Distinguish Checker lines from comments

9 years agoMerge "ART: Distinguish Checker lines from comments"
David Brazdil [Thu, 28 May 2015 14:47:03 +0000 (14:47 +0000)]
Merge "ART: Distinguish Checker lines from comments"

9 years agoART: Add Mips o32 callee-save registers to SaveAll frame
Andreas Gampe [Thu, 28 May 2015 01:31:42 +0000 (18:31 -0700)]
ART: Add Mips o32 callee-save registers to SaveAll frame

The floating point registers f20-f31 are callee-save in the Mips
ABI. While the managed code does not touch them, they need to be
saved when throwing an exception, so that they will be correctly
restored and not smashed.

Bug: 21266656
Change-Id: Ia96d52ce7fb41bf604da1797ce4d7a703e292415

9 years agoART: Distinguish Checker lines from comments
David Brazdil [Thu, 28 May 2015 10:14:54 +0000 (11:14 +0100)]
ART: Distinguish Checker lines from comments

In order to prevent tests passing due to lines with hard-to-spot
formatting errors begin ignored, e.g. by forgetting the colon after
"//CHECK", Checker will now require its assertions to start with "///"
or "##", respectivelly for Java and Smali. Such lines will never be
ignored and will fail the test unless successfully parsed.

Change-Id: I0da9a8f13eb96d950af8c85df17d1899a853a299

9 years agoam b4e2fbbe: Merge "Add a HCurrentMethod node."
Nicolas Geoffray [Thu, 28 May 2015 10:21:18 +0000 (10:21 +0000)]
am b4e2fbbe: Merge "Add a HCurrentMethod node."

* commit 'b4e2fbbed28c3bcdb8fd0fee5a201ba78e1edf28':
  Add a HCurrentMethod node.

9 years agoMerge "Add a HCurrentMethod node."
Nicolas Geoffray [Thu, 28 May 2015 10:10:24 +0000 (10:10 +0000)]
Merge "Add a HCurrentMethod node."

9 years agoam 31db3432: Merge "Fix single-step in native thread"
Sebastien Hertz [Thu, 28 May 2015 10:05:55 +0000 (10:05 +0000)]
am 31db3432: Merge "Fix single-step in native thread"

* commit '31db3432157caac55584a59827c69b303ba09d13':
  Fix single-step in native thread

9 years agoMerge "Fix single-step in native thread"
Sebastien Hertz [Thu, 28 May 2015 09:56:32 +0000 (09:56 +0000)]
Merge "Fix single-step in native thread"