OSDN Git Service

android-x86/art.git
8 years agoam 221e0f73: am 527145b4: Merge "ART: Split Checker into smaller files" am: e7f2436e8d
David Brazdil [Mon, 11 Jan 2016 17:06:50 +0000 (17:06 +0000)]
am 221e0f73: am 527145b4: Merge "ART: Split Checker into smaller files" am: e7f2436e8d
am: 2c2b335e96

* commit '2c2b335e9653b82522e4c079903c6e077eee1936':

8 years agoam 8d19a756: am 2d999e05: Merge "Revert "ART: Split Checker into smaller files""...
David Brazdil [Mon, 11 Jan 2016 17:05:29 +0000 (17:05 +0000)]
am 8d19a756: am 2d999e05: Merge "Revert "ART: Split Checker into smaller files"" am: fe02184848
am: fae7b623a4

* commit 'fae7b623a41f01aed07c7ad88785498190e5d14e':

8 years agoam e140d126: am d62e2d0e: Merge "ART: Split Checker into smaller files" am: 8e10c9b413
David Brazdil [Mon, 11 Jan 2016 17:05:21 +0000 (17:05 +0000)]
am e140d126: am d62e2d0e: Merge "ART: Split Checker into smaller files" am: 8e10c9b413
am: 7d36339c85

* commit '7d36339c856b1c4230acbaab64ab8754bb9b381d':

8 years agoam 140d25bb: am cdf89f3a: Merge "Small correction in Optimizing\'s ARM64 code generat...
Roland Levillain [Mon, 11 Jan 2016 17:05:13 +0000 (17:05 +0000)]
am 140d25bb: am cdf89f3a: Merge "Small correction in Optimizing\'s ARM64 code generator." am: 17d8632997
am: a7b42fa8e6

* commit 'a7b42fa8e60c15568e3e2e9240fb75926045be46':

8 years agoam 3b368b38: am c23fef5d: Merge "Revert "Add new rule to the graph checker."" am...
Calin Juravle [Mon, 11 Jan 2016 17:05:03 +0000 (17:05 +0000)]
am 3b368b38: am c23fef5d: Merge "Revert "Add new rule to the graph checker."" am: ea1fed315a
am: 4485624b40

* commit '4485624b4031cabcfa47f327a2ba1444e7b53851':

8 years agoam 6b9dcffb: am fe8cd351: Merge "Add new rule to the graph checker." am: c292f13065
Calin Juravle [Mon, 11 Jan 2016 17:04:55 +0000 (17:04 +0000)]
am 6b9dcffb: am fe8cd351: Merge "Add new rule to the graph checker." am: c292f13065
am: d2d541a04f

* commit 'd2d541a04f6c8e57efecdb84d33f07f51d02eac1':

8 years agoam 58e9add4: am 987b2e66: Merge "Simplify floating-point comparisons with NaN in...
Roland Levillain [Mon, 11 Jan 2016 17:04:47 +0000 (17:04 +0000)]
am 58e9add4: am 987b2e66: Merge "Simplify floating-point comparisons with NaN in Optimizing." am: 168c98716d
am: b58c26e34f

* commit 'b58c26e34f5719bdd28d1ecdc5d365269a3684d4':

8 years agoam f4573607: am faf935eb: Merge "ART: Enable Checker annotations in smali files"...
David Brazdil [Mon, 11 Jan 2016 17:04:40 +0000 (17:04 +0000)]
am f4573607: am faf935eb: Merge "ART: Enable Checker annotations in smali files" am: 651b7a3d89
am: 14bc5f18bb

* commit '14bc5f18bb5e122a21b92dbcde268ec894fccae9':

8 years agoam e8ff50df: ART: Rediscover loops after deleting blocks in DCE am: 5fc865a368
David Brazdil [Mon, 11 Jan 2016 17:04:33 +0000 (17:04 +0000)]
am e8ff50df: ART: Rediscover loops after deleting blocks in DCE am: 5fc865a368
am: fdf935bec6

* commit 'fdf935bec66c69044f6b27ae45ee8e7d89d57b3e':

8 years agoam 61858848: Merge "ART: arm indexOf intrinsics for the optimizing compiler" into...
Andreas Gampe [Mon, 11 Jan 2016 17:04:25 +0000 (17:04 +0000)]
am 61858848: Merge "ART: arm indexOf intrinsics for the optimizing compiler" into mnc-dev am: b5df7efc11
am: 0ea5a43469

* commit '0ea5a43469f3ee61ffdc2b2cf5e273f2663b8a7d':

8 years agoam 5f5e57f0: Merge "Hold heap bitmap lock in Heap::GetObjectsAllocated" into mnc...
Mathieu Chartier [Mon, 11 Jan 2016 17:04:17 +0000 (17:04 +0000)]
am 5f5e57f0: Merge "Hold heap bitmap lock in Heap::GetObjectsAllocated" into mnc-dev am: 1c3018de7a
am: 1aa3b2013f

* commit '1aa3b2013f14b021cf28e1591762c0df8ab4bb46':

8 years agoam cc61340d: Quick: Fix DCE, clear high word flag in RemoveChange(). am: c669d752b6
Vladimir Marko [Mon, 11 Jan 2016 17:04:10 +0000 (17:04 +0000)]
am cc61340d: Quick: Fix DCE, clear high word flag in RemoveChange(). am: c669d752b6
am: d9d7ec4cfd

* commit 'd9d7ec4cfdbf6a3226cc0e824f5109c01b2cc1b2':

8 years agoam 4dece9ca: Merge "Add notes about fast JNI calls." into mnc-dev am: faf0c04598
Hiroshi Yamauchi [Mon, 11 Jan 2016 17:04:02 +0000 (17:04 +0000)]
am 4dece9ca: Merge "Add notes about fast JNI calls." into mnc-dev am: faf0c04598
am: feee9f3097

* commit 'feee9f3097a45540a61d4ddf723662fb11386566':

8 years agoam de1c33cd: Merge "Fix bug in removal of *.flock files." into mnc-dev am: f12e8b77c5
Richard Uhler [Mon, 11 Jan 2016 17:03:55 +0000 (17:03 +0000)]
am de1c33cd: Merge "Fix bug in removal of *.flock files." into mnc-dev am: f12e8b77c5
am: 0bf22b6192

* commit '0bf22b6192af6747004f90d8ad38e0d6cbea857a':

8 years agoam 8db2a6de: Quick: Fix DCE to mark wide register overlaps correctly. am: 1cd2756ae8
Vladimir Marko [Mon, 11 Jan 2016 17:03:48 +0000 (17:03 +0000)]
am 8db2a6de: Quick: Fix DCE to mark wide register overlaps correctly. am: 1cd2756ae8
am: 72d4bd24cf

* commit '72d4bd24cf28405f01c82a4f6a1c71b13d4eb1df':

8 years agoam f450cf6b: Add test for String init called from unresolvable class. am: 92cdb22111
Jeff Hao [Mon, 11 Jan 2016 17:03:40 +0000 (17:03 +0000)]
am f450cf6b: Add test for String init called from unresolvable class. am: 92cdb22111
am: f79684b0e2

* commit 'f79684b0e21061fe4bcb1028832a362b4f58979f':

8 years agoam c7c1d7ab: am b6c37c99: Merge "Update test expectations." am: 37a70ff6ec
Nicolas Geoffray [Mon, 11 Jan 2016 17:03:33 +0000 (17:03 +0000)]
am c7c1d7ab: am b6c37c99: Merge "Update test expectations." am: 37a70ff6ec
am: 1db8e16eb8

* commit '1db8e16eb8087d1de621cc832b827e93df1443c9':

8 years agoam 221e0f73: am 527145b4: Merge "ART: Split Checker into smaller files"
David Brazdil [Mon, 11 Jan 2016 16:58:12 +0000 (16:58 +0000)]
am 221e0f73: am 527145b4: Merge "ART: Split Checker into smaller files"
am: e7f2436e8d

* commit 'e7f2436e8d12308f882766ec628404f2fb11694d':
  ART: Split Checker into smaller files

8 years agoam 8d19a756: am 2d999e05: Merge "Revert "ART: Split Checker into smaller files""
David Brazdil [Mon, 11 Jan 2016 16:58:04 +0000 (16:58 +0000)]
am 8d19a756: am 2d999e05: Merge "Revert "ART: Split Checker into smaller files""
am: fe02184848

* commit 'fe021848486499d79e78877b7f23187562a01558':
  Revert "ART: Split Checker into smaller files"

8 years agoam e140d126: am d62e2d0e: Merge "ART: Split Checker into smaller files"
David Brazdil [Mon, 11 Jan 2016 16:57:55 +0000 (16:57 +0000)]
am e140d126: am d62e2d0e: Merge "ART: Split Checker into smaller files"
am: 8e10c9b413

* commit '8e10c9b4131a1fe93d39587e28182bef330cde57':
  ART: Split Checker into smaller files

8 years agoam 140d25bb: am cdf89f3a: Merge "Small correction in Optimizing\'s ARM64 code generator."
Roland Levillain [Mon, 11 Jan 2016 16:57:45 +0000 (16:57 +0000)]
am 140d25bb: am cdf89f3a: Merge "Small correction in Optimizing\'s ARM64 code generator."
am: 17d8632997

* commit '17d863299761df92fd8fddb0cbdcf2f0e2e520e3':
  Small correction in Optimizing's ARM64 code generator.

8 years agoam 3b368b38: am c23fef5d: Merge "Revert "Add new rule to the graph checker.""
Calin Juravle [Mon, 11 Jan 2016 16:57:36 +0000 (16:57 +0000)]
am 3b368b38: am c23fef5d: Merge "Revert "Add new rule to the graph checker.""
am: ea1fed315a

* commit 'ea1fed315a5d7a33050f2088f54fa95dc4e684ac':
  Revert "Add new rule to the graph checker."

8 years agoam 6b9dcffb: am fe8cd351: Merge "Add new rule to the graph checker."
Calin Juravle [Mon, 11 Jan 2016 16:57:27 +0000 (16:57 +0000)]
am 6b9dcffb: am fe8cd351: Merge "Add new rule to the graph checker."
am: c292f13065

* commit 'c292f13065af39df8c60cb43f2d6259ca4cb9f13':
  Add new rule to the graph checker.

8 years agoam 58e9add4: am 987b2e66: Merge "Simplify floating-point comparisons with NaN in...
Roland Levillain [Mon, 11 Jan 2016 16:57:19 +0000 (16:57 +0000)]
am 58e9add4: am 987b2e66: Merge "Simplify floating-point comparisons with NaN in Optimizing."
am: 168c98716d

* commit '168c98716d43754da1b0512d9c20377d51b109a3':
  Simplify floating-point comparisons with NaN in Optimizing.

8 years agoam f4573607: am faf935eb: Merge "ART: Enable Checker annotations in smali files"
David Brazdil [Mon, 11 Jan 2016 16:57:11 +0000 (16:57 +0000)]
am f4573607: am faf935eb: Merge "ART: Enable Checker annotations in smali files"
am: 651b7a3d89

* commit '651b7a3d89bcfd4e1076ee4fd09963169606fde6':
  ART: Enable Checker annotations in smali files

8 years agoam e8ff50df: ART: Rediscover loops after deleting blocks in DCE
David Brazdil [Mon, 11 Jan 2016 16:57:02 +0000 (16:57 +0000)]
am e8ff50df: ART: Rediscover loops after deleting blocks in DCE
am: 5fc865a368

* commit '5fc865a368f080a0e168c348f1a56e2bd010408d':

8 years agoam 61858848: Merge "ART: arm indexOf intrinsics for the optimizing compiler" into...
Andreas Gampe [Mon, 11 Jan 2016 16:56:53 +0000 (16:56 +0000)]
am 61858848: Merge "ART: arm indexOf intrinsics for the optimizing compiler" into mnc-dev
am: b5df7efc11

* commit 'b5df7efc11d35ddaca4a0fdc6eac98ce387ebb70':

8 years agoam 5f5e57f0: Merge "Hold heap bitmap lock in Heap::GetObjectsAllocated" into mnc-dev
Mathieu Chartier [Mon, 11 Jan 2016 16:56:44 +0000 (16:56 +0000)]
am 5f5e57f0: Merge "Hold heap bitmap lock in Heap::GetObjectsAllocated" into mnc-dev
am: 1c3018de7a

* commit '1c3018de7ab8d71267f5baa29579dbcc1509326f':

8 years agoam cc61340d: Quick: Fix DCE, clear high word flag in RemoveChange().
Vladimir Marko [Mon, 11 Jan 2016 16:56:33 +0000 (16:56 +0000)]
am cc61340d: Quick: Fix DCE, clear high word flag in RemoveChange().
am: c669d752b6

* commit 'c669d752b6df45777e9c22d873ec58453626324b':

8 years agoam 4dece9ca: Merge "Add notes about fast JNI calls." into mnc-dev
Hiroshi Yamauchi [Mon, 11 Jan 2016 16:56:22 +0000 (16:56 +0000)]
am 4dece9ca: Merge "Add notes about fast JNI calls." into mnc-dev
am: faf0c04598

* commit 'faf0c045983383aa81d66fc68dbacafc2457db90':

8 years agoam de1c33cd: Merge "Fix bug in removal of *.flock files." into mnc-dev
Richard Uhler [Mon, 11 Jan 2016 16:56:13 +0000 (16:56 +0000)]
am de1c33cd: Merge "Fix bug in removal of *.flock files." into mnc-dev
am: f12e8b77c5

* commit 'f12e8b77c53846e714a1cb3f7deae29766704fcd':

8 years agoam 8db2a6de: Quick: Fix DCE to mark wide register overlaps correctly.
Vladimir Marko [Mon, 11 Jan 2016 16:56:04 +0000 (16:56 +0000)]
am 8db2a6de: Quick: Fix DCE to mark wide register overlaps correctly.
am: 1cd2756ae8

* commit '1cd2756ae8df897a240ad35610689c86629d0882':

8 years agoam f450cf6b: Add test for String init called from unresolvable class.
Jeff Hao [Mon, 11 Jan 2016 16:55:55 +0000 (16:55 +0000)]
am f450cf6b: Add test for String init called from unresolvable class.
am: 92cdb22111

* commit '92cdb22111d9aaa18f97c7d89d41015b8f5f099e':

8 years agoam c7c1d7ab: am b6c37c99: Merge "Update test expectations."
Nicolas Geoffray [Mon, 11 Jan 2016 16:55:45 +0000 (16:55 +0000)]
am c7c1d7ab: am b6c37c99: Merge "Update test expectations."
am: 37a70ff6ec

* commit '37a70ff6ec3bd33a3cdb684078d33fda6189a15f':
  Update test expectations.

8 years agoMerge "Generate Nops to ensure that debug stack maps have distinct PC."
David Srbecky [Mon, 11 Jan 2016 14:54:03 +0000 (14:54 +0000)]
Merge "Generate Nops to ensure that debug stack maps have distinct PC."
am: 8566a91502

* commit '8566a91502db625ff9428a3c2418714488ecd5d9':
  Generate Nops to ensure that debug stack maps have distinct PC.

8 years agoMerge "Generate Nops to ensure that debug stack maps have distinct PC."
David Srbecky [Mon, 11 Jan 2016 14:47:37 +0000 (14:47 +0000)]
Merge "Generate Nops to ensure that debug stack maps have distinct PC."

8 years agoMerge "Fix brainos in makefiles."
Nicolas Geoffray [Mon, 11 Jan 2016 14:31:54 +0000 (14:31 +0000)]
Merge "Fix brainos in makefiles."
am: 20b6863769

* commit '20b6863769357d798464a65c5ee5dfd64464d400':
  Fix brainos in makefiles.

8 years agoMerge "Don\'t use std::abs on INT_MIN/LONG_MIN, it\'s undefined."
Nicolas Geoffray [Mon, 11 Jan 2016 14:27:44 +0000 (14:27 +0000)]
Merge "Don\'t use std::abs on INT_MIN/LONG_MIN, it\'s undefined."
am: f871d466a1

* commit 'f871d466a1f20a6906d4d22f878f1f93d73ccf69':
  Don't use std::abs on INT_MIN/LONG_MIN, it's undefined.

8 years agoMerge "Fix "check" file, and mark test as failing on device."
Nicolas Geoffray [Mon, 11 Jan 2016 14:27:35 +0000 (14:27 +0000)]
Merge "Fix "check" file, and mark test as failing on device."
am: 6f68ad42bb

* commit '6f68ad42bb6b22e7cf8337f76953fda44ca89405':
  Fix "check" file, and mark test as failing on device.

8 years agoMerge "Fix brainos in makefiles."
Nicolas Geoffray [Mon, 11 Jan 2016 14:25:03 +0000 (14:25 +0000)]
Merge "Fix brainos in makefiles."

8 years agoFix brainos in makefiles.
Nicolas Geoffray [Mon, 11 Jan 2016 14:23:36 +0000 (14:23 +0000)]
Fix brainos in makefiles.

Change-Id: If6f9aae6fc18bf5a28e7804303dcdb319dea0cb2

8 years agoMerge "Don't use std::abs on INT_MIN/LONG_MIN, it's undefined."
Nicolas Geoffray [Mon, 11 Jan 2016 14:20:52 +0000 (14:20 +0000)]
Merge "Don't use std::abs on INT_MIN/LONG_MIN, it's undefined."

8 years agoMerge "Fix "check" file, and mark test as failing on device."
Nicolas Geoffray [Mon, 11 Jan 2016 14:20:11 +0000 (14:20 +0000)]
Merge "Fix "check" file, and mark test as failing on device."

8 years agoFix "check" file, and mark test as failing on device.
Nicolas Geoffray [Mon, 11 Jan 2016 14:18:52 +0000 (14:18 +0000)]
Fix "check" file, and mark test as failing on device.

Change-Id: Ie1f9a2e86f94ccc3c9859ac172ee4b3da0f85d63

8 years agoGenerate Nops to ensure that debug stack maps have distinct PC.
David Srbecky [Fri, 8 Jan 2016 18:13:53 +0000 (18:13 +0000)]
Generate Nops to ensure that debug stack maps have distinct PC.

Change-Id: I5740ec958a20d236634b66df0e675382ed5c16fc

8 years agoMerge "Emit an error message when looking for String#offset."
Nicolas Geoffray [Mon, 11 Jan 2016 12:06:11 +0000 (12:06 +0000)]
Merge "Emit an error message when looking for String#offset."
am: ae6f23c83e

* commit 'ae6f23c83e1c8dcfbc4f74186ea1a37f1044414b':
  Emit an error message when looking for String#offset.

8 years agoMerge "Disable flaky test on host."
Nicolas Geoffray [Mon, 11 Jan 2016 12:02:22 +0000 (12:02 +0000)]
Merge "Disable flaky test on host."
am: 16f66da0fe

* commit '16f66da0fe69530668de5fb12423f237603d7a14':
  Disable flaky test on host.

8 years agoMerge "Emit an error message when looking for String#offset."
Nicolas Geoffray [Mon, 11 Jan 2016 12:01:16 +0000 (12:01 +0000)]
Merge "Emit an error message when looking for String#offset."

8 years agoMerge "Disable flaky test on host."
Nicolas Geoffray [Mon, 11 Jan 2016 11:56:22 +0000 (11:56 +0000)]
Merge "Disable flaky test on host."

8 years agoDisable flaky test on host.
Nicolas Geoffray [Mon, 11 Jan 2016 11:45:27 +0000 (11:45 +0000)]
Disable flaky test on host.

bug:26483935
Change-Id: I6e1f7b2d33182969d08d75d217ff0891920dc35b

8 years agoMerge "ART: Do not build Checker tests with `dx --no-optimize`"
David Brazdil [Mon, 11 Jan 2016 11:43:42 +0000 (11:43 +0000)]
Merge "ART: Do not build Checker tests with `dx --no-optimize`"
am: 4dd25bf0f8

* commit '4dd25bf0f83d36ea7ce570ac4680ce4870808d91':
  ART: Do not build Checker tests with `dx --no-optimize`

8 years agoMerge "ART: Do not build Checker tests with `dx --no-optimize`"
David Brazdil [Mon, 11 Jan 2016 11:37:52 +0000 (11:37 +0000)]
Merge "ART: Do not build Checker tests with `dx --no-optimize`"

8 years agoDon't use std::abs on INT_MIN/LONG_MIN, it's undefined.
Nicolas Geoffray [Mon, 4 Jan 2016 08:39:49 +0000 (08:39 +0000)]
Don't use std::abs on INT_MIN/LONG_MIN, it's undefined.

bug:25494265

Change-Id: I560a3a589b92440020285f9adfdf7c9efb06217c

8 years agoMerge "Revert "Disable test while investigating.""
Shubham Ajmera [Mon, 11 Jan 2016 10:34:31 +0000 (10:34 +0000)]
Merge "Revert "Disable test while investigating.""
am: 57e6fb09c0

* commit '57e6fb09c09f5fe755703657cacfb39681b09577':
  Revert "Disable test while investigating."

8 years agoMerge "Revert "Disable test while investigating.""
Shubham Ajmera [Mon, 11 Jan 2016 10:29:59 +0000 (10:29 +0000)]
Merge "Revert "Disable test while investigating.""

8 years agoART: Do not build Checker tests with `dx --no-optimize`
David Brazdil [Mon, 11 Jan 2016 10:27:13 +0000 (10:27 +0000)]
ART: Do not build Checker tests with `dx --no-optimize`

Change-Id: Ice9298b92cde5486db40ccdef43cca6d36179d2c

8 years agoRevert "Disable test while investigating."
Shubham Ajmera [Sun, 10 Jan 2016 00:00:25 +0000 (00:00 +0000)]
Revert "Disable test while investigating."

Change #195560 fixes the test.
This reverts commit 1c58d6980541eb469f4860f00a77ba8c729efef9.

Change-Id: Idbfb0c5d2fbc1796f7dd1056181b5fc912a065a3

8 years agoMerge "Suppress jsr166.LinkedTransferQueueTest#testWaitingConsumer."
Hiroshi Yamauchi [Sat, 9 Jan 2016 01:35:03 +0000 (01:35 +0000)]
Merge "Suppress jsr166.LinkedTransferQueueTest#testWaitingConsumer."
am: a9656fad4e

* commit 'a9656fad4e14ab2cc73f8c739322f875d02be2b2':
  Suppress jsr166.LinkedTransferQueueTest#testWaitingConsumer.

8 years agoMerge "Suppress jsr166.LinkedTransferQueueTest#testWaitingConsumer."
Hiroshi Yamauchi [Sat, 9 Jan 2016 01:28:37 +0000 (01:28 +0000)]
Merge "Suppress jsr166.LinkedTransferQueueTest#testWaitingConsumer."

8 years agoSuppress jsr166.LinkedTransferQueueTest#testWaitingConsumer.
Hiroshi Yamauchi [Sat, 9 Jan 2016 01:22:23 +0000 (17:22 -0800)]
Suppress jsr166.LinkedTransferQueueTest#testWaitingConsumer.

To make the buildbot read barrier config greener for now.

Bug: 25883050
Change-Id: I5ce837e7783dd2c32825993d8dd754741839261d

8 years agoMerge "Revert "Revert "Reduce sleep duration in SuspendAllDaemonThreads"""
Mathieu Chartier [Sat, 9 Jan 2016 01:18:17 +0000 (01:18 +0000)]
Merge "Revert "Revert "Reduce sleep duration in SuspendAllDaemonThreads"""
am: c1c8e73671

* commit 'c1c8e736719cbbd47ff836e84cfc1803f424462e':
  Revert "Revert "Reduce sleep duration in SuspendAllDaemonThreads""

8 years agoMerge "Improve handling of daemon threads after runtime shutdown"
Mathieu Chartier [Sat, 9 Jan 2016 01:18:05 +0000 (01:18 +0000)]
Merge "Improve handling of daemon threads after runtime shutdown"
am: 66521058c8

* commit '66521058c80ee4058995d28f512dd6d173610e3a':
  Improve handling of daemon threads after runtime shutdown

8 years agoMerge "Revert "Revert "Reduce sleep duration in SuspendAllDaemonThreads"""
Mathieu Chartier [Sat, 9 Jan 2016 00:29:20 +0000 (00:29 +0000)]
Merge "Revert "Revert "Reduce sleep duration in SuspendAllDaemonThreads"""

8 years agoRevert "Revert "Reduce sleep duration in SuspendAllDaemonThreads""
Mathieu Chartier [Thu, 7 Jan 2016 17:31:33 +0000 (09:31 -0800)]
Revert "Revert "Reduce sleep duration in SuspendAllDaemonThreads""

Fixed the error where I reduced the time until the warning by 10x.

Bug: 26351700

This reverts commit bc34a7ed232cb3d384c250578e2b4ede45f2b167.

Change-Id: I6b30a0711fe077421665b78c39ded88899407700

8 years agoMerge "Improve handling of daemon threads after runtime shutdown"
Mathieu Chartier [Sat, 9 Jan 2016 00:23:00 +0000 (00:23 +0000)]
Merge "Improve handling of daemon threads after runtime shutdown"

8 years agoImprove handling of daemon threads after runtime shutdown
Mathieu Chartier [Thu, 7 Jan 2016 23:14:19 +0000 (15:14 -0800)]
Improve handling of daemon threads after runtime shutdown

The main issue comes from the fact that user daemon threads are
allowed to continue running after the runtime has shutdown. They may
still have a JNI env pointer. To prevent crashing if they call into
the env, we replace the function pointers with functions that sleep
forever.

The other issue is that user daemon threads that are blocked in an
ART condition variable may get woken up by another user daemon inside
of Monitor::Notify or by a spurious wakeup (i.e. SIGQUIT). To deal
with this issue, we check the JNI env for shutdown runtime when we
are woken up from a condition variable wait. This check fixes test
132 with --host --gdb --interpreter. Previously this test crashed
since dlclose was somehow causing a spurious futex wakeup.

TODO: Investigate adding a unit test.

Bug: 18577101
Change-Id: I479b38968ee9fbc4ee4b252ee2528787279972cc

8 years agoMerge "Fix general multi-image TODOs."
Jeff Hao [Fri, 8 Jan 2016 23:03:53 +0000 (23:03 +0000)]
Merge "Fix general multi-image TODOs."
am: 37a5abcf5e

* commit '37a5abcf5e7644ae1fd1a85e865c8a71e38a9af2':
  Fix general multi-image TODOs.

8 years agoMerge "Fix general multi-image TODOs."
Jeff Hao [Fri, 8 Jan 2016 22:45:29 +0000 (22:45 +0000)]
Merge "Fix general multi-image TODOs."

8 years agoFix general multi-image TODOs.
Jeff Hao [Fri, 8 Jan 2016 18:44:20 +0000 (10:44 -0800)]
Fix general multi-image TODOs.

- Removed some unnecessary comments.

Bug: 26317072

(cherry-picked from commit 509f2ab308032534f14d8f4f374f60da8a615fa2)

Change-Id: Id542262ca1182fb77f029f2136266e470bde9473

8 years agoRe-disable tests broken for optimizing by multi-image.
Jeff Hao [Fri, 8 Jan 2016 22:16:19 +0000 (14:16 -0800)]
Re-disable tests broken for optimizing by multi-image.

Bug: 26317072
Change-Id: I8ce15cde51766073565f6e108c4e00accc7124da

8 years agoFix general multi-image TODOs.
Jeff Hao [Fri, 8 Jan 2016 18:44:20 +0000 (10:44 -0800)]
Fix general multi-image TODOs.

- Removed some unnecessary comments.
- Reenabled tests that are working again.

Change-Id: Id542262ca1182fb77f029f2136266e470bde9473

8 years agoMerge "Fix image writer for generation of app images"
Mathieu Chartier [Fri, 8 Jan 2016 18:19:59 +0000 (18:19 +0000)]
Merge "Fix image writer for generation of app images"
am: 97f2ca08c3

* commit '97f2ca08c3d9a2b1694419aea07cd64f477c0af2':
  Fix image writer for generation of app images

8 years agoMerge "Fix image writer for generation of app images"
Mathieu Chartier [Fri, 8 Jan 2016 18:07:23 +0000 (18:07 +0000)]
Merge "Fix image writer for generation of app images"

8 years agoFix image writer for generation of app images
Mathieu Chartier [Fri, 8 Jan 2016 02:36:19 +0000 (18:36 -0800)]
Fix image writer for generation of app images

Fixed IsInBootImage and IsInBootOatFile. Also re-enabled generation
of app images for tests.

Bug: 26317072
Bug: 22858531
Change-Id: I19cbe7a8143b5ff7582eb27dfd9d2d8121c67b3c

8 years agoMerge "Disable test while investigating."
Nicolas Geoffray [Fri, 8 Jan 2016 17:16:35 +0000 (17:16 +0000)]
Merge "Disable test while investigating."
am: e2e87002d9

* commit 'e2e87002d99b57f05cb4165bc7053e841807488e':
  Disable test while investigating.

8 years agoMerge "Disable test while investigating."
Nicolas Geoffray [Fri, 8 Jan 2016 17:10:13 +0000 (17:10 +0000)]
Merge "Disable test while investigating."

8 years agoDisable test while investigating.
Nicolas Geoffray [Fri, 8 Jan 2016 17:09:22 +0000 (17:09 +0000)]
Disable test while investigating.

Change-Id: Ide7fd1251e10fe93525fe3fccd9240318585f9e6

8 years agoMerge "Add a missing implicit null check in the ARM codegen."
Roland Levillain [Fri, 8 Jan 2016 16:58:21 +0000 (16:58 +0000)]
Merge "Add a missing implicit null check in the ARM codegen."
am: 363910e676

* commit '363910e676f388b87478e553c243157d395ffc3c':
  Add a missing implicit null check in the ARM codegen.

8 years agoMerge "Add a missing implicit null check in the ARM codegen."
Roland Levillain [Fri, 8 Jan 2016 16:50:53 +0000 (16:50 +0000)]
Merge "Add a missing implicit null check in the ARM codegen."

8 years agoMerge "Small implicit null checks refactoring in the ARM codegen."
Roland Levillain [Fri, 8 Jan 2016 16:15:18 +0000 (16:15 +0000)]
Merge "Small implicit null checks refactoring in the ARM codegen."
am: fbd9dfcf4f

* commit 'fbd9dfcf4ffc32f0bda831aa898c7ea5dbf8ed9a':
  Small implicit null checks refactoring in the ARM codegen.

8 years agoMerge "Small implicit null checks refactoring in the ARM codegen."
Roland Levillain [Fri, 8 Jan 2016 16:09:13 +0000 (16:09 +0000)]
Merge "Small implicit null checks refactoring in the ARM codegen."

8 years agoSmall implicit null checks refactoring in the ARM codegen.
Roland Levillain [Fri, 8 Jan 2016 16:04:55 +0000 (16:04 +0000)]
Small implicit null checks refactoring in the ARM codegen.

Change-Id: I7dccb02cf7ac2f7d8fd1676b03e0b394701fbe3f

8 years agoAdd a missing implicit null check in the ARM codegen.
Roland Levillain [Fri, 8 Jan 2016 15:56:19 +0000 (15:56 +0000)]
Add a missing implicit null check in the ARM codegen.

The code generated for object ArraySet on ARM used to
miss an implicit null check for the array when the assigned
value is `null`.  This has not been an actual issue so far,
as ArraySet instructions have never been using implicit null
checks.

Note: This CL comes without a regression test, as the code
path in question is not used (yet).

Change-Id: If3bc85e32802595e635513dfb83ccfcfd8f00d3d

8 years agoMerge "ARM Baker\'s read barrier fast path implementation."
Roland Levillain [Fri, 8 Jan 2016 15:09:49 +0000 (15:09 +0000)]
Merge "ARM Baker\'s read barrier fast path implementation."
am: 74179b2082

* commit '74179b2082f8114db5154c75be643d9337cb3a63':
  ARM Baker's read barrier fast path implementation.

8 years agoMerge "ARM Baker's read barrier fast path implementation."
Roland Levillain [Fri, 8 Jan 2016 15:05:16 +0000 (15:05 +0000)]
Merge "ARM Baker's read barrier fast path implementation."

8 years agoARM Baker's read barrier fast path implementation.
Roland Levillain [Fri, 18 Dec 2015 10:38:42 +0000 (10:38 +0000)]
ARM Baker's read barrier fast path implementation.

Introduce an ARM fast path implementation in Optimizing for
Baker's read barriers (for both heap reference loads and GC
root loads).  The marking phase of the read barrier is
performed by a slow path, invoking the runtime entry point
artReadBarrierMark.

Other read barrier algorithms continue to use the original
slow path based implementation, which has been renamed as
GenerateReadBarrierSlow/GenerateReadBarrierForRootSlow.

Bug: 12687968
Change-Id: Ie7ee85b1b4c0564148270cebdd3cbd4c3da51b3a

8 years agoMerge "Add libstdc++ as a target for buildbot builds."
Nicolas Geoffray [Fri, 8 Jan 2016 10:28:17 +0000 (10:28 +0000)]
Merge "Add libstdc++ as a target for buildbot builds."
am: 5ee288c9dd

* commit '5ee288c9dd99614e3a238f5efceeec6456e3499d':
  Add libstdc++ as a target for buildbot builds.

8 years agoMerge "Add libstdc++ as a target for buildbot builds."
Nicolas Geoffray [Fri, 8 Jan 2016 10:21:59 +0000 (10:21 +0000)]
Merge "Add libstdc++ as a target for buildbot builds."

8 years agoMerge "Re-enable class table for image writer"
Mathieu Chartier [Fri, 8 Jan 2016 02:39:51 +0000 (02:39 +0000)]
Merge "Re-enable class table for image writer"
am: 2c22e8de76

* commit '2c22e8de763207cda10f035f4506e049e2aa2d2d':
  Re-enable class table for image writer

8 years agoMerge "Re-enable class table for image writer"
Mathieu Chartier [Fri, 8 Jan 2016 02:34:03 +0000 (02:34 +0000)]
Merge "Re-enable class table for image writer"

8 years agoRe-enable class table for image writer
Mathieu Chartier [Fri, 8 Jan 2016 00:29:01 +0000 (16:29 -0800)]
Re-enable class table for image writer

Changes, create one temporary class table per ImageInfo. Don't keep
track of class loaders.

Bug: 26317072

Change-Id: I4f9121194f39031fb8629d60b6feeb2747a77870

8 years agoAdd libstdc++ as a target for buildbot builds.
Nicolas Geoffray [Thu, 7 Jan 2016 18:13:33 +0000 (18:13 +0000)]
Add libstdc++ as a target for buildbot builds.

It's a hidden dependency of libjavacore.

Change-Id: I7eca051502897c37293e22fbdda8a5924694ee76

8 years agoMerge "Perform profile file analysis in dex2oat"
Calin Juravle [Thu, 7 Jan 2016 16:38:25 +0000 (16:38 +0000)]
Merge "Perform profile file analysis in dex2oat"
am: b7332f1c77

* commit 'b7332f1c774c675b5264a45890e72bf140664018':
  Perform profile file analysis in dex2oat

8 years agoMerge "Perform profile file analysis in dex2oat"
Calin Juravle [Thu, 7 Jan 2016 16:32:01 +0000 (16:32 +0000)]
Merge "Perform profile file analysis in dex2oat"

8 years agoPerform profile file analysis in dex2oat
Calin Juravle [Mon, 21 Dec 2015 13:39:33 +0000 (15:39 +0200)]
Perform profile file analysis in dex2oat

Dex2oat can accept now multiple profile files to drive a profile based
compilation. --profile-file and --reference-profile-file speficy a pair
of profile files which will be evaluated for significant differences
before starting the compilation. If the difference is insignificant
(according to some internal metric) the compilation is skipped and a
message is logged.

Multiple pairs of --profile-file and --reference-profile-file can be
specified. This effectively enables multi user support since profiles
for different users will be kept separately.

--reference-profile-file can be left out, case in which the decision is
solely based on --profile-file. If both flags are present, then their
repetition should form unique pairs.

If the compilation is performed and --reference-profile-file is given
then its data is merged with the data from the corresponding --profile-
file and saved back to the file.

If no profile flags are given, dex2oat proceeds as before and compiles
the dex files unconditionally.

As part of this change
- merge ProfileCompilationInfo and OfflineProfilingInfo under the same
object. There was no use to keep them separate anymore.
- SaveProfilingInfo now merges the data with what was in
the file before instead of overwriting it.

Bug: 26080105

Change-Id: Ia8c8b55587d468bca5179f78941854285426234d

8 years agoMerge "Force Jack to consider multidex annotations"
Yohann Roussel [Thu, 7 Jan 2016 15:49:16 +0000 (15:49 +0000)]
Merge "Force Jack to consider multidex annotations"
am: 7825791088

* commit '78257910887d58cfe9b7c90d93cedd7b1145271d':
  Force Jack to consider multidex annotations

8 years agoMerge "Force Jack to consider multidex annotations"
Yohann Roussel [Thu, 7 Jan 2016 15:44:26 +0000 (15:44 +0000)]
Merge "Force Jack to consider multidex annotations"

8 years agoForce Jack to consider multidex annotations
Yohann Roussel [Thu, 7 Jan 2016 15:15:41 +0000 (16:15 +0100)]
Force Jack to consider multidex annotations

This is a workaround and should not be necessary.

Bug: 26441710
Change-Id: Ife879e46deb872ed48cff9abbe1088e2f1c86bee

8 years agoMerge "The ArtMethod is a long on 64bits."
Nicolas Geoffray [Thu, 7 Jan 2016 14:59:49 +0000 (14:59 +0000)]
Merge "The ArtMethod is a long on 64bits."
am: b0c1667a56

* commit 'b0c1667a56eeb594a50157db80a7e5078fd579db':
  The ArtMethod is a long on 64bits.

8 years agoMerge "The ArtMethod is a long on 64bits."
Nicolas Geoffray [Thu, 7 Jan 2016 14:54:18 +0000 (14:54 +0000)]
Merge "The ArtMethod is a long on 64bits."