OSDN Git Service

android-x86/art.git
9 years agoam 788d6d8b: am 46ff9b61: Merge "ART: Fix reporting initialized classes by CompilerDr...
Vladimir Marko [Thu, 18 Jun 2015 14:34:42 +0000 (14:34 +0000)]
am 788d6d8b: am 46ff9b61: Merge "ART: Fix reporting initialized classes by CompilerDriver."

* commit '788d6d8b9b83c3bba05f71cc4ce1682647f5822d':
  ART: Fix reporting initialized classes by CompilerDriver.

9 years agoam 46ff9b61: Merge "ART: Fix reporting initialized classes by CompilerDriver."
Vladimir Marko [Thu, 18 Jun 2015 14:27:34 +0000 (14:27 +0000)]
am 46ff9b61: Merge "ART: Fix reporting initialized classes by CompilerDriver."

* commit '46ff9b6100e66306233534e26c16d3c6738070a9':
  ART: Fix reporting initialized classes by CompilerDriver.

9 years agoMerge "ART: Fix reporting initialized classes by CompilerDriver."
Vladimir Marko [Thu, 18 Jun 2015 14:19:22 +0000 (14:19 +0000)]
Merge "ART: Fix reporting initialized classes by CompilerDriver."

9 years agoam 8525b9a2: am d4de42f6: Merge "ART: Remove old DCHECK that trips Baseline"
David Brazdil [Thu, 18 Jun 2015 12:10:03 +0000 (12:10 +0000)]
am 8525b9a2: am d4de42f6: Merge "ART: Remove old DCHECK that trips Baseline"

* commit '8525b9a2fc89447185f9245dacc8f638f92427bf':
  ART: Remove old DCHECK that trips Baseline

9 years agoam 4bbe339e: am 3b574aad: Merge "Bailout from compilation if an invoke is malformed."
Nicolas Geoffray [Thu, 18 Jun 2015 12:10:02 +0000 (12:10 +0000)]
am 4bbe339e: am 3b574aad: Merge "Bailout from compilation if an invoke is malformed."

* commit '4bbe339e801046cbd22f71f9e1c7c446e3c25f18':
  Bailout from compilation if an invoke is malformed.

9 years agoam afcf1055: am 7b295db7: Merge "Fix a bug in optimizing when the null constant has...
Nicolas Geoffray [Thu, 18 Jun 2015 12:10:01 +0000 (12:10 +0000)]
am afcf1055: am 7b295db7: Merge "Fix a bug in optimizing when the null constant has been DCE."

* commit 'afcf105575812cfb672637437ea78fd1b05a70bc':
  Fix a bug in optimizing when the null constant has been DCE.

9 years agoam d4de42f6: Merge "ART: Remove old DCHECK that trips Baseline"
David Brazdil [Thu, 18 Jun 2015 11:58:39 +0000 (11:58 +0000)]
am d4de42f6: Merge "ART: Remove old DCHECK that trips Baseline"

* commit 'd4de42f6fd0f00c5b3ca01fed6a26d11e617c3b9':
  ART: Remove old DCHECK that trips Baseline

9 years agoam 3b574aad: Merge "Bailout from compilation if an invoke is malformed."
Nicolas Geoffray [Thu, 18 Jun 2015 11:58:38 +0000 (11:58 +0000)]
am 3b574aad: Merge "Bailout from compilation if an invoke is malformed."

* commit '3b574aadd67c5ce261a7383c38044af4cf993393':
  Bailout from compilation if an invoke is malformed.

9 years agoam 7b295db7: Merge "Fix a bug in optimizing when the null constant has been DCE."
Nicolas Geoffray [Thu, 18 Jun 2015 11:58:36 +0000 (11:58 +0000)]
am 7b295db7: Merge "Fix a bug in optimizing when the null constant has been DCE."

* commit '7b295db7583a721db1e1d430be78a6ff34f4805d':
  Fix a bug in optimizing when the null constant has been DCE.

9 years agoMerge "ART: Remove old DCHECK that trips Baseline"
David Brazdil [Thu, 18 Jun 2015 11:54:57 +0000 (11:54 +0000)]
Merge "ART: Remove old DCHECK that trips Baseline"

9 years agoMerge "Bailout from compilation if an invoke is malformed."
Nicolas Geoffray [Thu, 18 Jun 2015 11:53:49 +0000 (11:53 +0000)]
Merge "Bailout from compilation if an invoke is malformed."

9 years agoART: Remove old DCHECK that trips Baseline
David Brazdil [Thu, 18 Jun 2015 11:40:01 +0000 (12:40 +0100)]
ART: Remove old DCHECK that trips Baseline

Codegen verified that the entry block always falls through to the next
block. While this is the case with Optimizing, it doesn't hold for
Baseline but it doesn't need to since codegen handles it fine.

Bug:21913514
Change-Id: I751ef227e6cf103af3e7fc35fca4b01c663385a1

9 years agoBailout from compilation if an invoke is malformed.
Nicolas Geoffray [Thu, 18 Jun 2015 10:11:27 +0000 (11:11 +0100)]
Bailout from compilation if an invoke is malformed.

Because the verifier does not check trivially dead instructions,
the compilers must prepare for bogus instructions. This change
fixes the case the arguments for an invoke do not match the
formal parameters.

bug:21865459

Change-Id: Ie9fa9dbaedaad0350a52391252e18c045056454d

9 years agoMerge "Fix a bug in optimizing when the null constant has been DCE."
Nicolas Geoffray [Thu, 18 Jun 2015 11:46:30 +0000 (11:46 +0000)]
Merge "Fix a bug in optimizing when the null constant has been DCE."

9 years agoART: Fix reporting initialized classes by CompilerDriver.
Vladimir Marko [Mon, 15 Jun 2015 17:52:54 +0000 (18:52 +0100)]
ART: Fix reporting initialized classes by CompilerDriver.

Fix a bug where the CompilerDriver was erroneously reporting
classes as initialized during AOT compilation when they were
not guaranteed to be initialized at runtime.

This fix prevents the Quick compiler from inlining calls to
static methods in classes that are not guaranteed to be
initialized, so that the runtime performs the initialization
required for correctness.

Bug: 21847756
Change-Id: I6fee5ef9c05c2e5190ab8a9fe61365d5119011c5

9 years agoam ad0895d3: (-s ours) am f61ab978: (-s ours) Merge "Add support for inlining already...
Nicolas Geoffray [Thu, 18 Jun 2015 09:54:28 +0000 (09:54 +0000)]
am ad0895d3: (-s ours) am f61ab978: (-s ours) Merge "Add support for inlining already sharpened interface calls. DO NOT MERGE ANYWHERE" into mnc-dev

* commit 'ad0895d3681e5696bb592e466fa8ed51224cff44':
  Add support for inlining already sharpened interface calls. DO NOT MERGE ANYWHERE

9 years agoam 23fad477: Fix reference comparison after redundant phi elimination.
Nicolas Geoffray [Thu, 18 Jun 2015 09:54:27 +0000 (09:54 +0000)]
am 23fad477: Fix reference comparison after redundant phi elimination.

* commit '23fad477d90b826956158aac41d70461c2c7a3ed':
  Fix reference comparison after redundant phi elimination.

9 years agoam f61ab978: (-s ours) Merge "Add support for inlining already sharpened interface...
Nicolas Geoffray [Thu, 18 Jun 2015 09:44:11 +0000 (09:44 +0000)]
am f61ab978: (-s ours) Merge "Add support for inlining already sharpened interface calls. DO NOT MERGE ANYWHERE" into mnc-dev

* commit 'f61ab97807441935cab89ebe6e24279e03d62bfe':
  Add support for inlining already sharpened interface calls. DO NOT MERGE ANYWHERE

9 years agoMerge "Add support for inlining already sharpened interface calls. DO NOT MERGE ANYWH...
Nicolas Geoffray [Thu, 18 Jun 2015 09:05:21 +0000 (09:05 +0000)]
Merge "Add support for inlining already sharpened interface calls. DO NOT MERGE ANYWHERE" into mnc-dev

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

bug:21867144

Test had to change a bit because it was using some features from
aosp not present in mnc-dev.

(cherry picked from commit 3507105caea0d209c66a95d5ec5d739949105c5d)

Change-Id: If12ea9a5c64e86b5bd3a5fd4a943bff60fe49762

9 years agoFix reference comparison after redundant phi elimination.
Nicolas Geoffray [Mon, 15 Jun 2015 08:01:08 +0000 (09:01 +0100)]
Fix reference comparison after redundant phi elimination.

Otherwise, the graph could remain mistyped.

bug:21776173

(cherry picked from commit 51d400d4ebd41b9fb4d67ac3179f8fb66a090fdd)

Change-Id: Iff36dfa4e79b14a9dd85c37e0fbb9e1080dd0364

9 years agoam bee9b6ef: am 3c4fb2d1: Merge "Forgot this change in last commit."
Nicolas Geoffray [Thu, 18 Jun 2015 08:01:10 +0000 (08:01 +0000)]
am bee9b6ef: am 3c4fb2d1: Merge "Forgot this change in last commit."

* commit 'bee9b6ef11cdcc67c82ef33c165994f3beaee3ff':
  Forgot this change in last commit.

9 years agoam 3c4fb2d1: Merge "Forgot this change in last commit."
Nicolas Geoffray [Thu, 18 Jun 2015 07:50:25 +0000 (07:50 +0000)]
am 3c4fb2d1: Merge "Forgot this change in last commit."

* commit '3c4fb2d1836a81823677191ad91203779427b610':
  Forgot this change in last commit.

9 years agoMerge "Forgot this change in last commit."
Nicolas Geoffray [Thu, 18 Jun 2015 07:42:02 +0000 (07:42 +0000)]
Merge "Forgot this change in last commit."

9 years agoam c6e3ac6d: am f16474d0: Merge "Fix some java_lang_Class related moving GC bugs"
Mathieu Chartier [Thu, 18 Jun 2015 00:22:49 +0000 (00:22 +0000)]
am c6e3ac6d: am f16474d0: Merge "Fix some java_lang_Class related moving GC bugs"

* commit 'c6e3ac6d2bac749d5d0375fa93917b80781658a7':
  Fix some java_lang_Class related moving GC bugs

9 years agoam f16474d0: Merge "Fix some java_lang_Class related moving GC bugs"
Mathieu Chartier [Thu, 18 Jun 2015 00:11:45 +0000 (00:11 +0000)]
am f16474d0: Merge "Fix some java_lang_Class related moving GC bugs"

* commit 'f16474d08ed51a3ccfaa70360aefdf12ebc79da1':
  Fix some java_lang_Class related moving GC bugs

9 years agoMerge "Fix some java_lang_Class related moving GC bugs"
Mathieu Chartier [Thu, 18 Jun 2015 00:02:11 +0000 (00:02 +0000)]
Merge "Fix some java_lang_Class related moving GC bugs"

9 years agoFix some java_lang_Class related moving GC bugs
Mathieu Chartier [Wed, 17 Jun 2015 23:11:12 +0000 (16:11 -0700)]
Fix some java_lang_Class related moving GC bugs

There was some missing handles around mirror::Class*.

Bug: 21898408
Change-Id: Icb754074dfb469473101d20d6873a5bc3274abc5

9 years agoam f8509d31: am 5592c688: Merge "Add missing EndAssertNoThreadSuspension"
Mathieu Chartier [Wed, 17 Jun 2015 22:57:56 +0000 (22:57 +0000)]
am f8509d31: am 5592c688: Merge "Add missing EndAssertNoThreadSuspension"

* commit 'f8509d3192ffd0959b822f31f18089315b873f76':
  Add missing EndAssertNoThreadSuspension

9 years agoam 5592c688: Merge "Add missing EndAssertNoThreadSuspension"
Mathieu Chartier [Wed, 17 Jun 2015 22:49:28 +0000 (22:49 +0000)]
am 5592c688: Merge "Add missing EndAssertNoThreadSuspension"

* commit '5592c688070fa327f56036c4c67c790289db63d9':
  Add missing EndAssertNoThreadSuspension

9 years agoMerge "Add missing EndAssertNoThreadSuspension"
Mathieu Chartier [Wed, 17 Jun 2015 22:42:46 +0000 (22:42 +0000)]
Merge "Add missing EndAssertNoThreadSuspension"

9 years agoam b0c9a125: am 0420f81a: Merge "Release dummy MemMaps corresponding to dlopen."
David Srbecky [Wed, 17 Jun 2015 22:25:55 +0000 (22:25 +0000)]
am b0c9a125: am 0420f81a: Merge "Release dummy MemMaps corresponding to dlopen."

* commit 'b0c9a1251fa8fc16928dd102195b74cfc93cd32d':
  Release dummy MemMaps corresponding to dlopen.

9 years agoFix a bug in optimizing when the null constant has been DCE.
Nicolas Geoffray [Wed, 17 Jun 2015 22:09:05 +0000 (23:09 +0100)]
Fix a bug in optimizing when the null constant has been DCE.

If it has been DCE, we should create a new one, instead of
using the old one.

Also move the first DCE to a place where it could actually
be useful.

bug:21870788

Change-Id: I28fc52ae481ef92cba45fc1b5abcf07c995f524c

9 years agoam 0420f81a: Merge "Release dummy MemMaps corresponding to dlopen."
David Srbecky [Wed, 17 Jun 2015 22:10:49 +0000 (22:10 +0000)]
am 0420f81a: Merge "Release dummy MemMaps corresponding to dlopen."

* commit '0420f81a5c6c08bc62060b8ff5dda8949f9a9ce9':
  Release dummy MemMaps corresponding to dlopen.

9 years agoMerge "Release dummy MemMaps corresponding to dlopen."
David Srbecky [Wed, 17 Jun 2015 21:59:58 +0000 (21:59 +0000)]
Merge "Release dummy MemMaps corresponding to dlopen."

9 years agoam a3b9d4ed: Add missing EndAssertNoThreadSuspension
Mathieu Chartier [Wed, 17 Jun 2015 21:53:37 +0000 (21:53 +0000)]
am a3b9d4ed: Add missing EndAssertNoThreadSuspension

* commit 'a3b9d4eda1ef0845f307891f349eaf752750ac16':
  Add missing EndAssertNoThreadSuspension

9 years agoRelease dummy MemMaps corresponding to dlopen.
David Srbecky [Wed, 17 Jun 2015 17:36:23 +0000 (18:36 +0100)]
Release dummy MemMaps corresponding to dlopen.

This fixes memory leak.

Change-Id: I857f078e8559a56b2d10dd081256c41ab28c8ec6

9 years agoAdd missing EndAssertNoThreadSuspension
Mathieu Chartier [Wed, 17 Jun 2015 21:14:36 +0000 (14:14 -0700)]
Add missing EndAssertNoThreadSuspension

(cherry picked from commit a3b9d4eda1ef0845f307891f349eaf752750ac16)

Bug: 21872507
Change-Id: I20f9920e4a12511ce498c252bca955d82a4f4102

9 years agoAdd missing EndAssertNoThreadSuspension
Mathieu Chartier [Wed, 17 Jun 2015 21:14:36 +0000 (14:14 -0700)]
Add missing EndAssertNoThreadSuspension

Bug: 21872507
Change-Id: I20f9920e4a12511ce498c252bca955d82a4f4102

9 years agoForgot this change in last commit.
Nicolas Geoffray [Mon, 15 Jun 2015 13:35:01 +0000 (14:35 +0100)]
Forgot this change in last commit.

bug:21746693
Change-Id: I1ae9690d393cf1bae10cb06ff1c6754ab2a50595

9 years agoam cd0d0b93: am b66fda7c: Merge "ART: Allow PackedSwitch instructions with zero targets"
David Brazdil [Wed, 17 Jun 2015 18:05:23 +0000 (18:05 +0000)]
am cd0d0b93: am b66fda7c: Merge "ART: Allow PackedSwitch instructions with zero targets"

* commit 'cd0d0b93977603dfa70f8db69822c2a040622b08':
  ART: Allow PackedSwitch instructions with zero targets

9 years agoam b66fda7c: Merge "ART: Allow PackedSwitch instructions with zero targets"
David Brazdil [Wed, 17 Jun 2015 17:52:41 +0000 (17:52 +0000)]
am b66fda7c: Merge "ART: Allow PackedSwitch instructions with zero targets"

* commit 'b66fda7c7e2e3c24e2a146c3f9d904b1828346a1':
  ART: Allow PackedSwitch instructions with zero targets

9 years agoMerge "ART: Allow PackedSwitch instructions with zero targets"
David Brazdil [Wed, 17 Jun 2015 17:42:11 +0000 (17:42 +0000)]
Merge "ART: Allow PackedSwitch instructions with zero targets"

9 years agoam 9ede035a: am 43d154be: Merge "Revert "ART: Allow PackedSwitch instructions with...
David Brazdil [Wed, 17 Jun 2015 17:26:48 +0000 (17:26 +0000)]
am 9ede035a: am 43d154be: Merge "Revert "ART: Allow PackedSwitch instructions with zero targets""

* commit '9ede035ac5b64dd1a44847ea797eea13946b1fac':
  Revert "ART: Allow PackedSwitch instructions with zero targets"

9 years agoART: Allow PackedSwitch instructions with zero targets
David Brazdil [Wed, 17 Jun 2015 17:20:52 +0000 (18:20 +0100)]
ART: Allow PackedSwitch instructions with zero targets

Optimizing and the interpreter wrongly assumed that a PackedSwitch
always has at least one target. This patch removes the corresponding
DCHECKs and adds a regression test case.

This is a resubmission of CL I32b7033ed38de6f1d1a6ee5d5bf12f3a47c9b37e

Bug: 21863783
Change-Id: I04e6e124bdd16591ba27c79490e6ce183c36b691

9 years agoam 43d154be: Merge "Revert "ART: Allow PackedSwitch instructions with zero targets""
David Brazdil [Wed, 17 Jun 2015 17:12:38 +0000 (17:12 +0000)]
am 43d154be: Merge "Revert "ART: Allow PackedSwitch instructions with zero targets""

* commit '43d154bed3ad0bba766211af1f2637500d30a93f':
  Revert "ART: Allow PackedSwitch instructions with zero targets"

9 years agoMerge "Revert "ART: Allow PackedSwitch instructions with zero targets""
David Brazdil [Wed, 17 Jun 2015 17:01:16 +0000 (17:01 +0000)]
Merge "Revert "ART: Allow PackedSwitch instructions with zero targets""

9 years agoRevert "ART: Allow PackedSwitch instructions with zero targets"
David Brazdil [Wed, 17 Jun 2015 16:59:53 +0000 (16:59 +0000)]
Revert "ART: Allow PackedSwitch instructions with zero targets"

This fixed Optimizing but revealed the same issue in the interpreter.

This reverts commit 241f9c41924e33e0c3bab9a7c4306397458749ca.

Change-Id: Iad5a28b24f2c21d3575cf8ecc8b7c8fbf98d1132

9 years agoam c957bb09: am cb5dc7f4: Merge "ART: Allow PackedSwitch instructions with zero targets"
David Brazdil [Wed, 17 Jun 2015 16:54:28 +0000 (16:54 +0000)]
am c957bb09: am cb5dc7f4: Merge "ART: Allow PackedSwitch instructions with zero targets"

* commit 'c957bb09f6555be3c64704ac6f0a3fb6d802ae74':
  ART: Allow PackedSwitch instructions with zero targets

9 years agoam cb5dc7f4: Merge "ART: Allow PackedSwitch instructions with zero targets"
David Brazdil [Wed, 17 Jun 2015 16:41:15 +0000 (16:41 +0000)]
am cb5dc7f4: Merge "ART: Allow PackedSwitch instructions with zero targets"

* commit 'cb5dc7f4b795c3ef7ec48989542efdbe44898b94':
  ART: Allow PackedSwitch instructions with zero targets

9 years agoam afe9e134: Set default visibility on art_sigsegv_fault.
Oleksiy Vyalov [Wed, 17 Jun 2015 16:36:08 +0000 (16:36 +0000)]
am afe9e134: Set default visibility on art_sigsegv_fault.

* commit 'afe9e134a773242b142b0740383f085f08ec1cba':
  Set default visibility on art_sigsegv_fault.

9 years agoMerge "ART: Allow PackedSwitch instructions with zero targets"
David Brazdil [Wed, 17 Jun 2015 16:32:51 +0000 (16:32 +0000)]
Merge "ART: Allow PackedSwitch instructions with zero targets"

9 years agoART: Allow PackedSwitch instructions with zero targets
David Brazdil [Wed, 17 Jun 2015 14:38:35 +0000 (15:38 +0100)]
ART: Allow PackedSwitch instructions with zero targets

Optimizing's Builder wrongly assumed that a PackedSwitch always has
at least one target. This patch removes the corresponding DCHECK and
adds a regression test case.

Bug:21863783
Change-Id: I32b7033ed38de6f1d1a6ee5d5bf12f3a47c9b37e

9 years agoSet default visibility on art_sigsegv_fault.
Oleksiy Vyalov [Sun, 14 Jun 2015 22:17:26 +0000 (15:17 -0700)]
Set default visibility on art_sigsegv_fault.

libart.so is built with flag -fvisibility=protected
which complicates setting breakpoints on art_sigsegv_fault.
According to the GCC manual "Protected visibility indicates
that the symbol will be placed in the dynamic symbol table,
but that references within the defining module will bind
to the local symbol.". This implies that a breakpoint on
a protected symbol will not be hit.

Without this change gdbclient with ART debugging enabled
doesn't break at art_sigsegv_fault as expected.

Bonus build fix included (commit c37769b6) :

Fix lint error.

Blank line at the start of a code block.

(cherry picked from commit f775bab533cd385c00ee30b56bdcb6f962fc5239)
(cherry picked from commit c37769b63faf7b120a6ed80f5cfb92667f5090c4)

bug: 21893559

Change-Id: Ie388f027f717a7bd2351a0163a38e50d3acbba8f

9 years agoam 98c8ade0: am edb83c60: Merge "Fix bug in optimizing around instanceof."
Nicolas Geoffray [Wed, 17 Jun 2015 11:09:55 +0000 (11:09 +0000)]
am 98c8ade0: am edb83c60: Merge "Fix bug in optimizing around instanceof."

* commit '98c8ade02a02743b01a93942504051ce3246db94':
  Fix bug in optimizing around instanceof.

9 years agoam edb83c60: Merge "Fix bug in optimizing around instanceof."
Nicolas Geoffray [Wed, 17 Jun 2015 10:58:59 +0000 (10:58 +0000)]
am edb83c60: Merge "Fix bug in optimizing around instanceof."

* commit 'edb83c606e034d76bed1331f34cdc435df47bb95':
  Fix bug in optimizing around instanceof.

9 years agoMerge "Fix bug in optimizing around instanceof."
Nicolas Geoffray [Wed, 17 Jun 2015 10:50:00 +0000 (10:50 +0000)]
Merge "Fix bug in optimizing around instanceof."

9 years agoFix bug in optimizing around instanceof.
Nicolas Geoffray [Wed, 17 Jun 2015 10:35:11 +0000 (11:35 +0100)]
Fix bug in optimizing around instanceof.

We were too aggressive when removing instanceof. We should
not remove it when there is one of the two static types that
is an interface.

Change-Id: I1fd80915b99b094f7b4393e7adb2b160201b30d5

9 years agoam 29518ae1: am 4b9a93e7: Merge "Remove bogus DCHECK in BCE."
Nicolas Geoffray [Wed, 17 Jun 2015 10:01:54 +0000 (10:01 +0000)]
am 29518ae1: am 4b9a93e7: Merge "Remove bogus DCHECK in BCE."

* commit '29518ae102dd8438c5920f6757014d032f6cba97':
  Remove bogus DCHECK in BCE.

9 years agoam f3c1e0d9: am 445e3502: Merge "More stack map dumping."
Nicolas Geoffray [Wed, 17 Jun 2015 10:01:52 +0000 (10:01 +0000)]
am f3c1e0d9: am 445e3502: Merge "More stack map dumping."

* commit 'f3c1e0d98b90a90281d5196b1efc5cf494e834b2':
  More stack map dumping.

9 years agoam 4f579be1: am a2890553: Merge "Fix lint error."
Narayan Kamath [Wed, 17 Jun 2015 10:01:51 +0000 (10:01 +0000)]
am 4f579be1: am a2890553: Merge "Fix lint error."

* commit '4f579be197e9841e5c71cc28823c8056789fa8fc':
  Fix lint error.

9 years agoam 419357d8: am 233cf0e8: Merge "Exercise sun.misc.Unsafe.getObject."
Roland Levillain [Wed, 17 Jun 2015 10:01:50 +0000 (10:01 +0000)]
am 419357d8: am 233cf0e8: Merge "Exercise sun.misc.Unsafe.getObject."

* commit '419357d89f948aeae875d569c9a312e7d3571415':
  Exercise sun.misc.Unsafe.getObject.

9 years agoam 17ab6767: am 088bd0d2: Merge "Revert "Revert "ART: Implement literal pool for...
Vladimir Marko [Wed, 17 Jun 2015 10:01:48 +0000 (10:01 +0000)]
am 17ab6767: am 088bd0d2: Merge "Revert "Revert "ART: Implement literal pool for arm, fix branch fixup."""

* commit '17ab67676c951cfd5eca61d7f6d2eb20d40f7d54':
  Revert "Revert "ART: Implement literal pool for arm, fix branch fixup.""

9 years agoam fc4e395a: am b3daa231: Merge "Set default visibility on art_sigsegv_fault."
Narayan Kamath [Wed, 17 Jun 2015 10:01:47 +0000 (10:01 +0000)]
am fc4e395a: am b3daa231: Merge "Set default visibility on art_sigsegv_fault."

* commit 'fc4e395af2c41862d1519b74ec818cdb52b04691':
  Set default visibility on art_sigsegv_fault.

9 years agoam d56dd524: am ed44919d: Merge "CFI test: kill the other process in native code."
Nicolas Geoffray [Wed, 17 Jun 2015 10:01:46 +0000 (10:01 +0000)]
am d56dd524: am ed44919d: Merge "CFI test: kill the other process in native code."

* commit 'd56dd5248cbd0d520dfd2ae3dc1c712d3e91b28d':
  CFI test: kill the other process in native code.

9 years agoam 4b9a93e7: Merge "Remove bogus DCHECK in BCE."
Nicolas Geoffray [Wed, 17 Jun 2015 09:48:48 +0000 (09:48 +0000)]
am 4b9a93e7: Merge "Remove bogus DCHECK in BCE."

* commit '4b9a93e7774d6650f6f3b637d018109d6fe97546':
  Remove bogus DCHECK in BCE.

9 years agoam 445e3502: Merge "More stack map dumping."
Nicolas Geoffray [Wed, 17 Jun 2015 09:48:47 +0000 (09:48 +0000)]
am 445e3502: Merge "More stack map dumping."

* commit '445e35028bc5cb6d921dc60e579b7b40ceb16c71':
  More stack map dumping.

9 years agoam a2890553: Merge "Fix lint error."
Narayan Kamath [Wed, 17 Jun 2015 09:48:45 +0000 (09:48 +0000)]
am a2890553: Merge "Fix lint error."

* commit 'a28905535905ed2b86de6f621991b8775beb493e':
  Fix lint error.

9 years agoam 233cf0e8: Merge "Exercise sun.misc.Unsafe.getObject."
Roland Levillain [Wed, 17 Jun 2015 09:48:44 +0000 (09:48 +0000)]
am 233cf0e8: Merge "Exercise sun.misc.Unsafe.getObject."

* commit '233cf0e8584225f1f7d21d4999cda18c23469d59':
  Exercise sun.misc.Unsafe.getObject.

9 years agoam 088bd0d2: Merge "Revert "Revert "ART: Implement literal pool for arm, fix branch...
Vladimir Marko [Wed, 17 Jun 2015 09:48:42 +0000 (09:48 +0000)]
am 088bd0d2: Merge "Revert "Revert "ART: Implement literal pool for arm, fix branch fixup."""

* commit '088bd0d28acb70302d20f6e19a9db7f0536c09ee':
  Revert "Revert "ART: Implement literal pool for arm, fix branch fixup.""

9 years agoam b3daa231: Merge "Set default visibility on art_sigsegv_fault."
Narayan Kamath [Wed, 17 Jun 2015 09:48:41 +0000 (09:48 +0000)]
am b3daa231: Merge "Set default visibility on art_sigsegv_fault."

* commit 'b3daa2312747eaf852c948c189ca0745db116447':
  Set default visibility on art_sigsegv_fault.

9 years agoam ed44919d: Merge "CFI test: kill the other process in native code."
Nicolas Geoffray [Wed, 17 Jun 2015 09:48:39 +0000 (09:48 +0000)]
am ed44919d: Merge "CFI test: kill the other process in native code."

* commit 'ed44919da8f7ab96117fd9d30b3fbfcd88f1433c':
  CFI test: kill the other process in native code.

9 years agoMerge "Remove bogus DCHECK in BCE."
Nicolas Geoffray [Wed, 17 Jun 2015 09:44:18 +0000 (09:44 +0000)]
Merge "Remove bogus DCHECK in BCE."

9 years agoRemove bogus DCHECK in BCE.
Nicolas Geoffray [Wed, 17 Jun 2015 09:17:49 +0000 (10:17 +0100)]
Remove bogus DCHECK in BCE.

When creating a phi for the array length when we add HDeoptimization
nodes, we might update accesses in inner loops to use that phi instead
of the array length. The BCE phase was not expecting this case.

Change-Id: I639f4ea6f5889726142041a42736183f162c7437

9 years agoMerge "More stack map dumping."
Nicolas Geoffray [Wed, 17 Jun 2015 09:19:09 +0000 (09:19 +0000)]
Merge "More stack map dumping."

9 years agoMore stack map dumping.
Nicolas Geoffray [Wed, 17 Jun 2015 08:44:43 +0000 (09:44 +0100)]
More stack map dumping.

Change-Id: I1f734c0c9eabda1cc6adaf32579e4c3be4a45c9a

9 years agoMerge "Fix lint error."
Narayan Kamath [Wed, 17 Jun 2015 08:57:36 +0000 (08:57 +0000)]
Merge "Fix lint error."

9 years agoMerge "Exercise sun.misc.Unsafe.getObject."
Roland Levillain [Wed, 17 Jun 2015 08:56:12 +0000 (08:56 +0000)]
Merge "Exercise sun.misc.Unsafe.getObject."

9 years agoFix lint error.
Narayan Kamath [Wed, 17 Jun 2015 08:49:40 +0000 (09:49 +0100)]
Fix lint error.

Blank line at the start of a code block.

Change-Id: Ifc0d78acc8b2eecbdc1a340009757f9218ce2c5c

9 years agoMerge "Revert "Revert "ART: Implement literal pool for arm, fix branch fixup."""
Vladimir Marko [Wed, 17 Jun 2015 08:45:51 +0000 (08:45 +0000)]
Merge "Revert "Revert "ART: Implement literal pool for arm, fix branch fixup."""

9 years agoRevert "Revert "ART: Implement literal pool for arm, fix branch fixup.""
Vladimir Marko [Tue, 16 Jun 2015 11:33:24 +0000 (11:33 +0000)]
Revert "Revert "ART: Implement literal pool for arm, fix branch fixup.""

This reverts commit fbeb4aede0ddc5b1e6a5a3a40cc6266fe8518c98.

Adjust block label positions. Bad catch block labels were the
reason for the revert.

Change-Id: Ia6950d639d46b9da6b07f3ade63ab46d03d63310

9 years agoMerge "Set default visibility on art_sigsegv_fault."
Narayan Kamath [Wed, 17 Jun 2015 08:34:57 +0000 (08:34 +0000)]
Merge "Set default visibility on art_sigsegv_fault."

9 years agoSet default visibility on art_sigsegv_fault.
Oleksiy Vyalov [Sun, 14 Jun 2015 22:17:26 +0000 (15:17 -0700)]
Set default visibility on art_sigsegv_fault.

libart.so is built with flag -fvisibility=protected
which complicates setting breakpoints on art_sigsegv_fault.
According to the GCC manual "Protected visibility indicates
that the symbol will be placed in the dynamic symbol table,
but that references within the defining module will bind
to the local symbol.". This implies that a breakpoint on
a protected symbol will not be hit.

Without this change gdbclient with ART debugging enabled
doesn't break at art_sigsegv_fault as expected.

Change-Id: Ib73344e710966eddf55a6facb29558504a511f00

9 years agoMerge "CFI test: kill the other process in native code."
Nicolas Geoffray [Wed, 17 Jun 2015 08:08:48 +0000 (08:08 +0000)]
Merge "CFI test: kill the other process in native code."

9 years agoCFI test: kill the other process in native code.
David Srbecky [Wed, 17 Jun 2015 02:52:54 +0000 (03:52 +0100)]
CFI test: kill the other process in native code.

Killing it from Java does not seem reliable and the CFI
test tends to leave alive processes on the system.
This might be particularly troubling on the build bot.

Change-Id: I888b61037ab77fb4ff929762ea40af53f7a6ed6e

9 years agoam 1070c1ce: am b3e3000a: Merge "Find the dlopened file using address rather than...
David Srbecky [Wed, 17 Jun 2015 02:17:56 +0000 (02:17 +0000)]
am 1070c1ce: am b3e3000a: Merge "Find the dlopened file using address rather than file path."

* commit '1070c1ce23448fab59e326368bacbb13d54288c6':
  Find the dlopened file using address rather than file path.

9 years agoam b3e3000a: Merge "Find the dlopened file using address rather than file path."
David Srbecky [Wed, 17 Jun 2015 02:03:54 +0000 (02:03 +0000)]
am b3e3000a: Merge "Find the dlopened file using address rather than file path."

* commit 'b3e3000a59a3b0d765840bd1a939213a2b400763':
  Find the dlopened file using address rather than file path.

9 years agoMerge "Find the dlopened file using address rather than file path."
David Srbecky [Wed, 17 Jun 2015 01:56:52 +0000 (01:56 +0000)]
Merge "Find the dlopened file using address rather than file path."

9 years agoFind the dlopened file using address rather than file path.
David Srbecky [Wed, 17 Jun 2015 01:11:07 +0000 (02:11 +0100)]
Find the dlopened file using address rather than file path.

This should fix the build bot.  It was failing because the
path which we pass to dlopen is not the path that gets mmaped.

Bug: 21854739
Change-Id: I0c28c74b62743f74f9ff3ae89e6f1beb0c1113ae

9 years agoam fd1c3574: am 89c63739: Merge "Add more logging output for dlopen."
David Srbecky [Tue, 16 Jun 2015 23:47:36 +0000 (23:47 +0000)]
am fd1c3574: am 89c63739: Merge "Add more logging output for dlopen."

* commit 'fd1c357462d3decb4bb50ebc6ccb26b6ce7a17f2':
  Add more logging output for dlopen.

9 years agoam 3c9229d7: am 86b35f97: Merge "Revert "Revert "Use dlopen to load oat files."""
David Srbecky [Tue, 16 Jun 2015 23:47:35 +0000 (23:47 +0000)]
am 3c9229d7: am 86b35f97: Merge "Revert "Revert "Use dlopen to load oat files."""

* commit '3c9229d767191c19d4e16c2354996591f6b74fcd':
  Revert "Revert "Use dlopen to load oat files.""

9 years agoam 89c63739: Merge "Add more logging output for dlopen."
David Srbecky [Tue, 16 Jun 2015 23:32:50 +0000 (23:32 +0000)]
am 89c63739: Merge "Add more logging output for dlopen."

* commit '89c63739e280ab94399d263624558e1d99fb5af7':
  Add more logging output for dlopen.

9 years agoam 86b35f97: Merge "Revert "Revert "Use dlopen to load oat files."""
David Srbecky [Tue, 16 Jun 2015 23:32:48 +0000 (23:32 +0000)]
am 86b35f97: Merge "Revert "Revert "Use dlopen to load oat files."""

* commit '86b35f97ce1848608e70eb1f0ea9f73d25b80d09':
  Revert "Revert "Use dlopen to load oat files.""

9 years agoMerge "Add more logging output for dlopen."
David Srbecky [Tue, 16 Jun 2015 23:20:40 +0000 (23:20 +0000)]
Merge "Add more logging output for dlopen."

9 years agoMerge "Revert "Revert "Use dlopen to load oat files."""
David Srbecky [Tue, 16 Jun 2015 23:20:08 +0000 (23:20 +0000)]
Merge "Revert "Revert "Use dlopen to load oat files."""

9 years agoAdd more logging output for dlopen.
David Srbecky [Tue, 16 Jun 2015 23:08:02 +0000 (00:08 +0100)]
Add more logging output for dlopen.

Investigation of build bot failure which I can not reproduce locally.

Bug: 21854739
Change-Id: I4584bb10ad44e4bcf8232c060e40b36ff924ffa2

9 years agoam 4eacb2bd: am 7e7e69a0: Merge "Print more diagnosis info on to-space invariant...
Hiroshi Yamauchi [Tue, 16 Jun 2015 19:45:26 +0000 (19:45 +0000)]
am 4eacb2bd: am 7e7e69a0: Merge "Print more diagnosis info on to-space invariant violation."

* commit '4eacb2bda0d0d6708cb7f8e64b91ae9511cd41c5':
  Print more diagnosis info on to-space invariant violation.

9 years agoam 7e7e69a0: Merge "Print more diagnosis info on to-space invariant violation."
Hiroshi Yamauchi [Tue, 16 Jun 2015 19:32:39 +0000 (19:32 +0000)]
am 7e7e69a0: Merge "Print more diagnosis info on to-space invariant violation."

* commit '7e7e69a0421e30f5e6ffa498db25dfd0c13d500e':
  Print more diagnosis info on to-space invariant violation.

9 years agoMerge "Print more diagnosis info on to-space invariant violation."
Hiroshi Yamauchi [Tue, 16 Jun 2015 19:25:00 +0000 (19:25 +0000)]
Merge "Print more diagnosis info on to-space invariant violation."

9 years agoRevert "Revert "Use dlopen to load oat files.""
David Srbecky [Tue, 16 Jun 2015 17:12:34 +0000 (17:12 +0000)]
Revert "Revert "Use dlopen to load oat files.""

This reverts commit 7a46b7e235a7c35191cd9ddbab6ca4db0e535da5.

Change-Id: I33439d0e3d7a7e63591a8c7b356e716dcb62bca1