OSDN Git Service

android-x86/art.git
9 years agoam 12d729c6: am 568e8f39: Merge "Fix 496 test."
Nicolas Geoffray [Tue, 23 Jun 2015 16:16:52 +0000 (16:16 +0000)]
am 12d729c6: am 568e8f39: Merge "Fix 496 test."

* commit '12d729c6bd3b4b0eb730038a97e292bfa556c99d':
  Fix 496 test.

9 years agoam 568e8f39: Merge "Fix 496 test."
Nicolas Geoffray [Tue, 23 Jun 2015 16:05:22 +0000 (16:05 +0000)]
am 568e8f39: Merge "Fix 496 test."

* commit '568e8f394b264a9b7932f081f971b141e563641e':
  Fix 496 test.

9 years agoMerge "Fix 496 test."
Nicolas Geoffray [Tue, 23 Jun 2015 15:57:12 +0000 (15:57 +0000)]
Merge "Fix 496 test."

9 years agoFix 496 test.
Nicolas Geoffray [Tue, 23 Jun 2015 11:09:55 +0000 (12:09 +0100)]
Fix 496 test.

Make sure the class requested by LoadedByMyClassLoader.bar
is not loaded yet ('Main' is already loaded), in order to
do a proper class loader lookup and not use a dex cache
version.

Change-Id: I77215ae489e6d2c50b90684951bccd0bbf8c1a53

9 years agoam 99711a57: am d4a02cfc: Merge "Replace some run-time assertions with compile-time...
Roland Levillain [Tue, 23 Jun 2015 14:17:17 +0000 (14:17 +0000)]
am 99711a57: am d4a02cfc: Merge "Replace some run-time assertions with compile-time ones in ART."

* commit '99711a57b3eaac5311b5f23aa28f1bb92832de1b':
  Replace some run-time assertions with compile-time ones in ART.

9 years agoam d4a02cfc: Merge "Replace some run-time assertions with compile-time ones in ART."
Roland Levillain [Tue, 23 Jun 2015 14:05:29 +0000 (14:05 +0000)]
am d4a02cfc: Merge "Replace some run-time assertions with compile-time ones in ART."

* commit 'd4a02cfc59a449d216faa687cfdaa4252b4a433f':
  Replace some run-time assertions with compile-time ones in ART.

9 years agoMerge "Replace some run-time assertions with compile-time ones in ART."
Roland Levillain [Tue, 23 Jun 2015 13:53:54 +0000 (13:53 +0000)]
Merge "Replace some run-time assertions with compile-time ones in ART."

9 years agoam 1ccd50b7: am 0022bdf7: Merge "ART: Fix data loss when symbolizing oat files."
Roland Levillain [Tue, 23 Jun 2015 13:24:54 +0000 (13:24 +0000)]
am 1ccd50b7: am 0022bdf7: Merge "ART: Fix data loss when symbolizing oat files."

* commit '1ccd50b7c944ea4d9ee62243b514984c1cb20dd1':
  ART: Fix data loss when symbolizing oat files.

9 years agoam 0022bdf7: Merge "ART: Fix data loss when symbolizing oat files."
Roland Levillain [Tue, 23 Jun 2015 13:10:40 +0000 (13:10 +0000)]
am 0022bdf7: Merge "ART: Fix data loss when symbolizing oat files."

* commit '0022bdf71533a300deebe6b9cf287eaceeb0620c':
  ART: Fix data loss when symbolizing oat files.

9 years agoMerge "ART: Fix data loss when symbolizing oat files."
Roland Levillain [Tue, 23 Jun 2015 13:00:43 +0000 (13:00 +0000)]
Merge "ART: Fix data loss when symbolizing oat files."

9 years agoam 8d815ef1: am 508755a3: Merge "Use GetOffsetDuringLinking instead of GetOffset."
Nicolas Geoffray [Tue, 23 Jun 2015 11:52:08 +0000 (11:52 +0000)]
am 8d815ef1: am 508755a3: Merge "Use GetOffsetDuringLinking instead of GetOffset."

* commit '8d815ef1b13be607e64bca3af591bbe7487b4ccc':
  Use GetOffsetDuringLinking instead of GetOffset.

9 years agoam 508755a3: Merge "Use GetOffsetDuringLinking instead of GetOffset."
Nicolas Geoffray [Tue, 23 Jun 2015 11:41:40 +0000 (11:41 +0000)]
am 508755a3: Merge "Use GetOffsetDuringLinking instead of GetOffset."

* commit '508755a3d4d3d67aa834c033c79073c0a08a8fbd':
  Use GetOffsetDuringLinking instead of GetOffset.

9 years agoMerge "Use GetOffsetDuringLinking instead of GetOffset."
Nicolas Geoffray [Tue, 23 Jun 2015 11:32:10 +0000 (11:32 +0000)]
Merge "Use GetOffsetDuringLinking instead of GetOffset."

9 years agoam ecede59f: am ad3359e7: Do not overwrite an input register in shift operations.
Nicolas Geoffray [Tue, 23 Jun 2015 11:24:33 +0000 (11:24 +0000)]
am ecede59f: am ad3359e7: Do not overwrite an input register in shift operations.

* commit 'ecede59f706aac35ee92732823d586ecb8e6f4aa':
  Do not overwrite an input register in shift operations.

9 years agoam db20ca5a: am 87dc1b09: Merge "ART: Compiler generated GC map should take care...
Vladimir Marko [Tue, 23 Jun 2015 11:24:06 +0000 (11:24 +0000)]
am db20ca5a: am 87dc1b09: Merge "ART: Compiler generated GC map should take care of temp registers."

* commit 'db20ca5a113f9f037c1e4fc727d93a6a7f328d75':
  ART: Compiler generated GC map should take care of temp registers.

9 years agoam ad3359e7: Do not overwrite an input register in shift operations.
Nicolas Geoffray [Tue, 23 Jun 2015 11:11:50 +0000 (11:11 +0000)]
am ad3359e7: Do not overwrite an input register in shift operations.

* commit 'ad3359e77357cc5ce29ce529ab2ed9d0d8401da4':
  Do not overwrite an input register in shift operations.

9 years agoam 87dc1b09: Merge "ART: Compiler generated GC map should take care of temp registers."
Vladimir Marko [Tue, 23 Jun 2015 11:11:25 +0000 (11:11 +0000)]
am 87dc1b09: Merge "ART: Compiler generated GC map should take care of temp registers."

* commit '87dc1b09cee6e972fbe3ad48ba8b5ae68d37085f':
  ART: Compiler generated GC map should take care of temp registers.

9 years agoUse GetOffsetDuringLinking instead of GetOffset.
Nicolas Geoffray [Tue, 23 Jun 2015 11:11:24 +0000 (12:11 +0100)]
Use GetOffsetDuringLinking instead of GetOffset.

GetOffset assumes the class has been resolved, but LinkFields
is called before the class is marked as such.

Change-Id: I6f9fc21cd220881806f00461a82a14e459e26a8b

9 years agoMerge "ART: Compiler generated GC map should take care of temp registers."
Vladimir Marko [Tue, 23 Jun 2015 11:00:19 +0000 (11:00 +0000)]
Merge "ART: Compiler generated GC map should take care of temp registers."

9 years agoam 4f2f59ac: am b5061a82: Merge "Do not overwrite an input register in shift operations."
Nicolas Geoffray [Tue, 23 Jun 2015 10:36:07 +0000 (10:36 +0000)]
am 4f2f59ac: am b5061a82: Merge "Do not overwrite an input register in shift operations."

* commit '4f2f59ac3f1cb96dd84253298b7a6710b38f7f9c':
  Do not overwrite an input register in shift operations.

9 years agoam b5061a82: Merge "Do not overwrite an input register in shift operations."
Nicolas Geoffray [Tue, 23 Jun 2015 10:24:40 +0000 (10:24 +0000)]
am b5061a82: Merge "Do not overwrite an input register in shift operations."

* commit 'b5061a821d96cb1af7ba24d21a4d2d59f7f16c7c':
  Do not overwrite an input register in shift operations.

9 years agoDo not overwrite an input register in shift operations.
Nicolas Geoffray [Mon, 22 Jun 2015 22:12:45 +0000 (23:12 +0100)]
Do not overwrite an input register in shift operations.

'second_reg' is an input register that can survive the instruction.
Instead use the output register as a temporary result.

bug:21667432

(cherry picked from commit a4f3581da73b83484a30ab499c4f8ad43b378dab)

Change-Id: Ic1f399964911b8a9fc57352130c92b2a0a1b8e0d

9 years agoMerge "Do not overwrite an input register in shift operations."
Nicolas Geoffray [Tue, 23 Jun 2015 10:15:45 +0000 (10:15 +0000)]
Merge "Do not overwrite an input register in shift operations."

9 years agoam 58e7f979: am 1f22dbc1: Merge "ART: Fix GraphVisualizer dlopen crash"
David Brazdil [Tue, 23 Jun 2015 10:11:01 +0000 (10:11 +0000)]
am 58e7f979: am 1f22dbc1: Merge "ART: Fix GraphVisualizer dlopen crash"

* commit '58e7f9791151b18c190ade5a7b82ba0ea8e61ac6':
  ART: Fix GraphVisualizer dlopen crash

9 years agoDo not overwrite an input register in shift operations.
Nicolas Geoffray [Mon, 22 Jun 2015 22:12:45 +0000 (23:12 +0100)]
Do not overwrite an input register in shift operations.

'second_reg' is an input register that can survive the instruction.
Instead use the output register as a temporary result.

bug:21667432
Change-Id: I1a4577b0333c3fb184645023d5eae30555bbf65c

9 years agoam 1f22dbc1: Merge "ART: Fix GraphVisualizer dlopen crash"
David Brazdil [Tue, 23 Jun 2015 10:00:43 +0000 (10:00 +0000)]
am 1f22dbc1: Merge "ART: Fix GraphVisualizer dlopen crash"

* commit '1f22dbc10d9fdc96a6814e737718098e36a0ea3c':
  ART: Fix GraphVisualizer dlopen crash

9 years agoMerge "ART: Fix GraphVisualizer dlopen crash"
David Brazdil [Tue, 23 Jun 2015 09:47:23 +0000 (09:47 +0000)]
Merge "ART: Fix GraphVisualizer dlopen crash"

9 years agoART: Fix GraphVisualizer dlopen crash
David Brazdil [Tue, 23 Jun 2015 09:22:38 +0000 (10:22 +0100)]
ART: Fix GraphVisualizer dlopen crash

The HGraphVisualizer used to crash if it failed to dlopen the
libart(d)-disassembler.so. This patch fixes that.

Bug: 22001285
Change-Id: Ibe9b9af17a77e22e3571c886f77918e9491b7827

9 years agoam be7d0b5e: am da0e224d: Merge "Restore DDMS recent allocation tracking\'s behavior"
Mathieu Chartier [Tue, 23 Jun 2015 03:47:06 +0000 (03:47 +0000)]
am be7d0b5e: am da0e224d: Merge "Restore DDMS recent allocation tracking\'s behavior"

* commit 'be7d0b5ea51fae563586c8338969fe4fe3ba5148':
  Restore DDMS recent allocation tracking's behavior

9 years agoam 9fda50e5: am 3355963c: Merge "Fix another miranda method moving GC bug"
Mathieu Chartier [Tue, 23 Jun 2015 03:47:05 +0000 (03:47 +0000)]
am 9fda50e5: am 3355963c: Merge "Fix another miranda method moving GC bug"

* commit '9fda50e55de00fb139a5b8ee695bdb87e7b429e4':
  Fix another miranda method moving GC bug

9 years agoam da0e224d: Merge "Restore DDMS recent allocation tracking\'s behavior"
Mathieu Chartier [Tue, 23 Jun 2015 03:35:17 +0000 (03:35 +0000)]
am da0e224d: Merge "Restore DDMS recent allocation tracking\'s behavior"

* commit 'da0e224d79262b11fbac9e7b1fdc11c4df31b77f':
  Restore DDMS recent allocation tracking's behavior

9 years agoam 3355963c: Merge "Fix another miranda method moving GC bug"
Mathieu Chartier [Tue, 23 Jun 2015 03:35:15 +0000 (03:35 +0000)]
am 3355963c: Merge "Fix another miranda method moving GC bug"

* commit '3355963cee00fe97cc7aaeaab2c6e31c5657ff6a':
  Fix another miranda method moving GC bug

9 years agoMerge "Restore DDMS recent allocation tracking's behavior"
Mathieu Chartier [Tue, 23 Jun 2015 03:27:44 +0000 (03:27 +0000)]
Merge "Restore DDMS recent allocation tracking's behavior"

9 years agoMerge "Fix another miranda method moving GC bug"
Mathieu Chartier [Tue, 23 Jun 2015 03:27:18 +0000 (03:27 +0000)]
Merge "Fix another miranda method moving GC bug"

9 years agoFix another miranda method moving GC bug
Mathieu Chartier [Sat, 20 Jun 2015 03:24:45 +0000 (20:24 -0700)]
Fix another miranda method moving GC bug

Need to copy miranda methods over before we allocate the new vtable
or else we may have stale miranda gc roots.

(cherry picked from commit 6e80460bdf0aa9bd273d4a4d665d679c651b5f4f)

Bug: 21664466
Change-Id: Ib3e415bb9e7df7abfa18c98fe01f790fa39622dc

9 years agoam 11eff2eb: (-s ours) am 7c19550e: Merge "Fix another miranda method moving GC bug...
Mathieu Chartier [Tue, 23 Jun 2015 03:20:12 +0000 (03:20 +0000)]
am 11eff2eb: (-s ours) am 7c19550e: Merge "Fix another miranda method moving GC bug" into mnc-dev

* commit '11eff2eb35147db49f9e8aebf907ffa12a979526':
  Fix another miranda method moving GC bug

9 years agoam 280e40f8: (-s ours) am bad9c7b7: New experimental GC stress mode
Mathieu Chartier [Tue, 23 Jun 2015 03:12:51 +0000 (03:12 +0000)]
am 280e40f8: (-s ours) am bad9c7b7: New experimental GC stress mode

* commit '280e40f8fbad31acac9da2e3fcf80fd5a2d39044':
  New experimental GC stress mode

9 years agoam de72cab6: am 76952000: Merge "Change GC to allow strings to use large object space...
Jeff Hao [Tue, 23 Jun 2015 02:52:48 +0000 (02:52 +0000)]
am de72cab6: am 76952000: Merge "Change GC to allow strings to use large object space." into mnc-dev

* commit 'de72cab61f6eb4074c899ecd195b7ef57859aed8':
  Change GC to allow strings to use large object space.

9 years agoam 7c19550e: Merge "Fix another miranda method moving GC bug" into mnc-dev
Mathieu Chartier [Tue, 23 Jun 2015 00:32:43 +0000 (00:32 +0000)]
am 7c19550e: Merge "Fix another miranda method moving GC bug" into mnc-dev

* commit '7c19550e66162442c1341e60578996f92dccf8ec':
  Fix another miranda method moving GC bug

9 years agoam bad9c7b7: New experimental GC stress mode
Mathieu Chartier [Tue, 23 Jun 2015 00:19:51 +0000 (00:19 +0000)]
am bad9c7b7: New experimental GC stress mode

* commit 'bad9c7b7f88689133cae59d9ccae231822a2020c':
  New experimental GC stress mode

9 years agoMerge "Fix another miranda method moving GC bug" into mnc-dev
Mathieu Chartier [Tue, 23 Jun 2015 00:14:43 +0000 (00:14 +0000)]
Merge "Fix another miranda method moving GC bug" into mnc-dev

9 years agoam 141c9b58: am 336b0b1b: Merge "base: Fix an infinite loop in HashSet::Insert"
Igor Murashkin [Mon, 22 Jun 2015 23:58:39 +0000 (23:58 +0000)]
am 141c9b58: am 336b0b1b: Merge "base: Fix an infinite loop in HashSet::Insert"

* commit '141c9b58a436957447e42d9ff88abae63e53a007':
  base: Fix an infinite loop in HashSet::Insert

9 years agoRestore DDMS recent allocation tracking's behavior
Man Cao [Fri, 12 Jun 2015 05:47:35 +0000 (22:47 -0700)]
Restore DDMS recent allocation tracking's behavior

Make the allocation tracker mark recently allocated objects as roots,
so the allocation records are not swept. Because DDMS needs recent
allocation tracking records even for dead objects. This should fix
the flaky failures for 098-ddmc test, but it cannot pass GC stress
test (OOM). Re-enabled 098-ddmc for other tests.

There should be an option to not mark them as roots, when user only
needs HPROF dump with traces but not DDMS's recent allocation tracking.
Probably need to add a new JNI API function for this option.

There could be another way to keep a second list of recent allocation
records and maintain a type cache for them, so not to make the objects
roots. But it's more complex, and not sure which is better.

Also reduce memory usage for AllocRecordStackTrace objects, and change
default stack depth to 16. Rename the property that controls the stack
depth to "debug.allocTracker.maxStackDepth" so developer can change it.

Bug:20037135
Change-Id: Ic6b9ae87bdcda558be6f14ded8057e763439881c

9 years agoam 336b0b1b: Merge "base: Fix an infinite loop in HashSet::Insert"
Igor Murashkin [Mon, 22 Jun 2015 23:44:53 +0000 (23:44 +0000)]
am 336b0b1b: Merge "base: Fix an infinite loop in HashSet::Insert"

* commit '336b0b1baaf2b3eccb26ccf1b7d502c90c3f33fd':
  base: Fix an infinite loop in HashSet::Insert

9 years agoMerge "base: Fix an infinite loop in HashSet::Insert"
Igor Murashkin [Mon, 22 Jun 2015 23:36:14 +0000 (23:36 +0000)]
Merge "base: Fix an infinite loop in HashSet::Insert"

9 years agobase: Fix an infinite loop in HashSet::Insert
Igor Murashkin [Mon, 22 Jun 2015 22:57:38 +0000 (15:57 -0700)]
base: Fix an infinite loop in HashSet::Insert

Also adds a test for HashSet::ShrinkToMaximumLoad

(This bug was only reachable when using ShrinkToMaximumLoad, which is not
called from anywhere other than the new test)

Change-Id: I5276b4b3f4ecf6090bb545ddd1752758b11609dd

9 years agoam 2b6b57c3: am ac854d27: Merge "New experimental GC stress mode"
Mathieu Chartier [Mon, 22 Jun 2015 23:26:32 +0000 (23:26 +0000)]
am 2b6b57c3: am ac854d27: Merge "New experimental GC stress mode"

* commit '2b6b57c321a33949b5d89085e988617403fa3971':
  New experimental GC stress mode

9 years agoam ac854d27: Merge "New experimental GC stress mode"
Mathieu Chartier [Mon, 22 Jun 2015 23:17:59 +0000 (23:17 +0000)]
am ac854d27: Merge "New experimental GC stress mode"

* commit 'ac854d27aeafb3dca04dfc5c716d0436f1d5ffc1':
  New experimental GC stress mode

9 years agoNew experimental GC stress mode
Mathieu Chartier [Sun, 14 Jun 2015 21:14:37 +0000 (14:14 -0700)]
New experimental GC stress mode

Tries to do a GC for every unique call stack (up to 16 frames).
The goal is to catch moving GC bugs and lock violations without being
rediculously slow. Some tests fail on 64 bits, 32 bit host doesn't
work. N5 is booting.

Added runtime -Xgc options: gcstress and nogcstress.

Bug: 21664466

(cherry picked from commit 310008008c90fea246efd00cb99ee7ded97c5209)

Change-Id: Icb8e420f2048e8ee83bcca7937563166a2638f5c

9 years agoam 6eea0a92: am 5aa39bb7: Merge "Change GC to allow strings to use large object space."
Jeff Hao [Mon, 22 Jun 2015 23:00:26 +0000 (23:00 +0000)]
am 6eea0a92: am 5aa39bb7: Merge "Change GC to allow strings to use large object space."

* commit '6eea0a92da767e968e5bd15ed81f6c3ff9cf4d5a':
  Change GC to allow strings to use large object space.

9 years agoam c174c757: am d423552a: Merge "Make large string use large object space."
Jeff Hao [Mon, 22 Jun 2015 23:00:24 +0000 (23:00 +0000)]
am c174c757: am d423552a: Merge "Make large string use large object space."

* commit 'c174c757b8eabc48357a974471aa7ba3d864c707':
  Make large string use large object space.

9 years agoMerge "New experimental GC stress mode"
Mathieu Chartier [Mon, 22 Jun 2015 22:58:54 +0000 (22:58 +0000)]
Merge "New experimental GC stress mode"

9 years agoam 5aa39bb7: Merge "Change GC to allow strings to use large object space."
Jeff Hao [Mon, 22 Jun 2015 22:47:11 +0000 (22:47 +0000)]
am 5aa39bb7: Merge "Change GC to allow strings to use large object space."

* commit '5aa39bb7f93cf2e8f73d06980b588519825c0ebe':
  Change GC to allow strings to use large object space.

9 years agoNew experimental GC stress mode
Mathieu Chartier [Sun, 14 Jun 2015 21:14:37 +0000 (14:14 -0700)]
New experimental GC stress mode

Tries to do a GC for every unique call stack (up to 16 frames).
The goal is to catch moving GC bugs and lock violations without being
rediculously slow. Some tests fail on 64 bits, 32 bit host doesn't
work. N5 is booting.

Added runtime -Xgc options: gcstress and nogcstress.

Bug: 21664466

Change-Id: Icb8e420f2048e8ee83bcca7937563166a2638f5c

9 years agoam d423552a: Merge "Make large string use large object space."
Jeff Hao [Mon, 22 Jun 2015 22:42:22 +0000 (22:42 +0000)]
am d423552a: Merge "Make large string use large object space."

* commit 'd423552afd00bac3cdb523b9f8681f3f58163564':
  Make large string use large object space.

9 years agoMerge "Change GC to allow strings to use large object space."
Jeff Hao [Mon, 22 Jun 2015 22:39:55 +0000 (22:39 +0000)]
Merge "Change GC to allow strings to use large object space."

9 years agoam 76952000: Merge "Change GC to allow strings to use large object space." into mnc-dev
Jeff Hao [Mon, 22 Jun 2015 22:34:29 +0000 (22:34 +0000)]
am 76952000: Merge "Change GC to allow strings to use large object space." into mnc-dev

* commit '7695200065c2e81b40096e1018a0d73e7391da13':
  Change GC to allow strings to use large object space.

9 years agoChange GC to allow strings to use large object space.
Jeff Hao [Mon, 22 Jun 2015 22:14:49 +0000 (15:14 -0700)]
Change GC to allow strings to use large object space.

Bug: 21209641

(cherry-picked from commit 37fd5275c665b483f2d990634a500c4e79aae87f)

Change-Id: I043f59eeb601a95c7d01b10a844c2237167ee862

9 years agoMerge "Make large string use large object space."
Jeff Hao [Mon, 22 Jun 2015 22:27:56 +0000 (22:27 +0000)]
Merge "Make large string use large object space."

9 years agoMerge "Change GC to allow strings to use large object space." into mnc-dev
Jeff Hao [Mon, 22 Jun 2015 22:26:54 +0000 (22:26 +0000)]
Merge "Change GC to allow strings to use large object space." into mnc-dev

9 years agoChange GC to allow strings to use large object space.
Jeff Hao [Mon, 22 Jun 2015 22:14:49 +0000 (15:14 -0700)]
Change GC to allow strings to use large object space.

Bug: 21209641
Change-Id: Ib007a30e575e391e2b5bddb816a9d2e82502c7d5

9 years agoam e467651e: am 67b00a12: Merge "ART: Allow checking RETURN_VOID_NO_BARRIER on unreso...
Andreas Gampe [Mon, 22 Jun 2015 22:09:17 +0000 (22:09 +0000)]
am e467651e: am 67b00a12: Merge "ART: Allow checking RETURN_VOID_NO_BARRIER on unresolved classes" into mnc-dev

* commit 'e467651e8273fb6831d3d719367227cabf2484c4':
  ART: Allow checking RETURN_VOID_NO_BARRIER on unresolved classes

9 years agoam 44ca0d5b: am 38fafa18: Make large string use large object space.
Jeff Hao [Mon, 22 Jun 2015 22:09:16 +0000 (22:09 +0000)]
am 44ca0d5b: am 38fafa18: Make large string use large object space.

* commit '44ca0d5b7caa36cc3491c876e5b705929c60e732':
  Make large string use large object space.

9 years agoMake large string use large object space.
Jeff Hao [Mon, 22 Jun 2015 21:29:54 +0000 (14:29 -0700)]
Make large string use large object space.

Bug: 21209641

(cherry-picked from commit 38fafa18f0fcf610f6314a0fc4165e04e6e5d017)

Change-Id: If6d708307ba1ecdde6bf856d31dceac9ee782fb7

9 years agoam 67b00a12: Merge "ART: Allow checking RETURN_VOID_NO_BARRIER on unresolved classes...
Andreas Gampe [Mon, 22 Jun 2015 21:49:28 +0000 (21:49 +0000)]
am 67b00a12: Merge "ART: Allow checking RETURN_VOID_NO_BARRIER on unresolved classes" into mnc-dev

* commit '67b00a12a07fb7c98477d9ca9a25522480fccea6':
  ART: Allow checking RETURN_VOID_NO_BARRIER on unresolved classes

9 years agoam 38fafa18: Make large string use large object space.
Jeff Hao [Mon, 22 Jun 2015 21:49:27 +0000 (21:49 +0000)]
am 38fafa18: Make large string use large object space.

* commit '38fafa18f0fcf610f6314a0fc4165e04e6e5d017':
  Make large string use large object space.

9 years agoam a8544f03: am ec3a4e7c: Merge "runtime: Partially implement box-lambda and unbox...
Igor Murashkin [Mon, 22 Jun 2015 21:49:26 +0000 (21:49 +0000)]
am a8544f03: am ec3a4e7c: Merge "runtime: Partially implement box-lambda and unbox-lambda experimental opcodes"

* commit 'a8544f03141e10bea601081bac3cb0a0c06e3a9b':
  runtime: Partially implement box-lambda and unbox-lambda experimental opcodes

9 years agoam 92b1a053: am 11dc78c8: Merge "ART: Allow checking RETURN_VOID_NO_BARRIER on unreso...
Andreas Gampe [Mon, 22 Jun 2015 21:49:25 +0000 (21:49 +0000)]
am 92b1a053: am 11dc78c8: Merge "ART: Allow checking RETURN_VOID_NO_BARRIER on unresolved classes"

* commit '92b1a05394611346aa6c1eff327b51eecb96deac':
  ART: Allow checking RETURN_VOID_NO_BARRIER on unresolved classes

9 years agoMerge "ART: Allow checking RETURN_VOID_NO_BARRIER on unresolved classes" into mnc-dev
Andreas Gampe [Mon, 22 Jun 2015 21:36:40 +0000 (21:36 +0000)]
Merge "ART: Allow checking RETURN_VOID_NO_BARRIER on unresolved classes" into mnc-dev

9 years agoMake large string use large object space.
Jeff Hao [Mon, 22 Jun 2015 21:29:54 +0000 (14:29 -0700)]
Make large string use large object space.

Bug: 21209641
Change-Id: I731a920c02f29f0321f2077093516aaa0f8d782f

9 years agoam ec3a4e7c: Merge "runtime: Partially implement box-lambda and unbox-lambda experime...
Igor Murashkin [Mon, 22 Jun 2015 21:25:27 +0000 (21:25 +0000)]
am ec3a4e7c: Merge "runtime: Partially implement box-lambda and unbox-lambda experimental opcodes"

* commit 'ec3a4e7cdc4f268b40d923227c125429f4ee4884':
  runtime: Partially implement box-lambda and unbox-lambda experimental opcodes

9 years agoam 11dc78c8: Merge "ART: Allow checking RETURN_VOID_NO_BARRIER on unresolved classes"
Andreas Gampe [Mon, 22 Jun 2015 21:25:25 +0000 (21:25 +0000)]
am 11dc78c8: Merge "ART: Allow checking RETURN_VOID_NO_BARRIER on unresolved classes"

* commit '11dc78c8d36b4a65f4d955bc4303cc8279f1151e':
  ART: Allow checking RETURN_VOID_NO_BARRIER on unresolved classes

9 years agoART: Allow checking RETURN_VOID_NO_BARRIER on unresolved classes
Andreas Gampe [Mon, 22 Jun 2015 18:35:46 +0000 (11:35 -0700)]
ART: Allow checking RETURN_VOID_NO_BARRIER on unresolved classes

We must check that all fields are non-final, even for unresolved
classes. Fall back to the dex file for this information.

Bug: 22005084
Bug: https://code.google.com/p/android/issues/detail?id=177694

(cherry picked from commit 68df32091cc79468c81956633e279523b48ea8bf)

Change-Id: If2126d1be5dccadbbedcdccabde7398688d6e5ca

9 years agoMerge "runtime: Partially implement box-lambda and unbox-lambda experimental opcodes"
Igor Murashkin [Mon, 22 Jun 2015 21:15:01 +0000 (21:15 +0000)]
Merge "runtime: Partially implement box-lambda and unbox-lambda experimental opcodes"

9 years agoMerge "ART: Allow checking RETURN_VOID_NO_BARRIER on unresolved classes"
Andreas Gampe [Mon, 22 Jun 2015 21:14:43 +0000 (21:14 +0000)]
Merge "ART: Allow checking RETURN_VOID_NO_BARRIER on unresolved classes"

9 years agoruntime: Partially implement box-lambda and unbox-lambda experimental opcodes
Igor Murashkin [Thu, 18 Jun 2015 17:05:11 +0000 (10:05 -0700)]
runtime: Partially implement box-lambda and unbox-lambda experimental opcodes

These opcodes are not yet fully specified, and *will* change before they become shippable.
Do not write production code against experimental opcodes.

--

Implement partial interpreter support for new dex instructions box/unbox-lambda.
* box-lambda will take a closure and convert it into an Object
* unbox-lambda will take an Object and convert it to a closure

(Currently does not implement object identity or variable capture).

All new opcodes are disabled by default, use runtime option -Xexperimental-lambdas to enable them.

Change-Id: I3c15ccf8a26ccecd1d35808a8c1b4149220f6019

9 years agoFix another miranda method moving GC bug
Mathieu Chartier [Sat, 20 Jun 2015 03:24:45 +0000 (20:24 -0700)]
Fix another miranda method moving GC bug

Need to copy miranda methods over before we allocate the new vtable
or else we may have stale miranda gc roots.

Bug: 21664466
Change-Id: Ib3e415bb9e7df7abfa18c98fe01f790fa39622dc

9 years agoam f3d8943c: am f7012291: Merge "Run an empty checkpoint before marking ends in the...
Hiroshi Yamauchi [Mon, 22 Jun 2015 20:02:43 +0000 (20:02 +0000)]
am f3d8943c: am f7012291: Merge "Run an empty checkpoint before marking ends in the CC collector."

* commit 'f3d8943cde9d67f202ba59d3de9e7d8b93b406d1':
  Run an empty checkpoint before marking ends in the CC collector.

9 years agoam f7012291: Merge "Run an empty checkpoint before marking ends in the CC collector."
Hiroshi Yamauchi [Mon, 22 Jun 2015 19:50:41 +0000 (19:50 +0000)]
am f7012291: Merge "Run an empty checkpoint before marking ends in the CC collector."

* commit 'f7012291ed9c984e2b50d83d7a2d5758cd64c99a':
  Run an empty checkpoint before marking ends in the CC collector.

9 years agoMerge "Run an empty checkpoint before marking ends in the CC collector."
Hiroshi Yamauchi [Mon, 22 Jun 2015 19:40:00 +0000 (19:40 +0000)]
Merge "Run an empty checkpoint before marking ends in the CC collector."

9 years agoART: Allow checking RETURN_VOID_NO_BARRIER on unresolved classes
Andreas Gampe [Mon, 22 Jun 2015 18:35:46 +0000 (11:35 -0700)]
ART: Allow checking RETURN_VOID_NO_BARRIER on unresolved classes

We must check that all fields are non-final, even for unresolved
classes. Fall back to the dex file for this information.

Bug: 22005084
Bug: https://code.google.com/p/android/issues/detail?id=177694
Change-Id: If2126d1be5dccadbbedcdccabde7398688d6e5ca

9 years agoam 29a7fdfc: am ae393c3b: Merge "ART: Avoid recursive abort in barrier"
Andreas Gampe [Mon, 22 Jun 2015 17:42:51 +0000 (17:42 +0000)]
am 29a7fdfc: am ae393c3b: Merge "ART: Avoid recursive abort in barrier"

* commit '29a7fdfc76f0ac37e3151adcbe5bb9a398abc3b7':
  ART: Avoid recursive abort in barrier

9 years agoam ae393c3b: Merge "ART: Avoid recursive abort in barrier"
Andreas Gampe [Mon, 22 Jun 2015 17:28:15 +0000 (17:28 +0000)]
am ae393c3b: Merge "ART: Avoid recursive abort in barrier"

* commit 'ae393c3b24cfdad97aaded8c0ff1ee7262b46ffe':
  ART: Avoid recursive abort in barrier

9 years agoMerge "ART: Avoid recursive abort in barrier"
Andreas Gampe [Mon, 22 Jun 2015 17:18:57 +0000 (17:18 +0000)]
Merge "ART: Avoid recursive abort in barrier"

9 years agoam b1ae1731: am 59cb5218: Merge "Fix in ReferenceTypePropagation"
Calin Juravle [Mon, 22 Jun 2015 17:15:48 +0000 (17:15 +0000)]
am b1ae1731: am 59cb5218: Merge "Fix in ReferenceTypePropagation"

* commit 'b1ae173172e6c55c2faa49bddb07b07a825850af':
  Fix in ReferenceTypePropagation

9 years agoam 59cb5218: Merge "Fix in ReferenceTypePropagation"
Calin Juravle [Mon, 22 Jun 2015 17:06:52 +0000 (17:06 +0000)]
am 59cb5218: Merge "Fix in ReferenceTypePropagation"

* commit '59cb52189d350fa9fb38b767fa9b25d971375833':
  Fix in ReferenceTypePropagation

9 years agoART: Avoid recursive abort in barrier
Andreas Gampe [Mon, 22 Jun 2015 17:04:39 +0000 (10:04 -0700)]
ART: Avoid recursive abort in barrier

Try to avoid recursive abort in barrier. May lead to a segfault
instead of a nested abort in bad cases.

Change-Id: I0e7976b77c243956dbcf81142bd5df81d5927ce0

9 years agoMerge "Fix in ReferenceTypePropagation"
Calin Juravle [Mon, 22 Jun 2015 16:57:04 +0000 (16:57 +0000)]
Merge "Fix in ReferenceTypePropagation"

9 years agoam ce293cd6: am 421e495c: ART: Don\'t do pre-linked calls to the interpreter bridge.
Vladimir Marko [Mon, 22 Jun 2015 16:23:09 +0000 (16:23 +0000)]
am ce293cd6: am 421e495c: ART: Don\'t do pre-linked calls to the interpreter bridge.

* commit 'ce293cd6ebbdb759beae28541beb757eaef64e73':
  ART: Don't do pre-linked calls to the interpreter bridge.

9 years agoam bf5a1708: am c30e721b: Merge "ART: Don\'t do pre-linked calls to the interpreter...
Vladimir Marko [Mon, 22 Jun 2015 16:23:03 +0000 (16:23 +0000)]
am bf5a1708: am c30e721b: Merge "ART: Don\'t do pre-linked calls to the interpreter bridge."

* commit 'bf5a1708f370ee528e2b04822d068a3fffdc7932':
  ART: Don't do pre-linked calls to the interpreter bridge.

9 years agoam 421e495c: ART: Don\'t do pre-linked calls to the interpreter bridge.
Vladimir Marko [Mon, 22 Jun 2015 16:11:35 +0000 (16:11 +0000)]
am 421e495c: ART: Don\'t do pre-linked calls to the interpreter bridge.

* commit '421e495c9bc53649605639dd738b8da8669147f1':
  ART: Don't do pre-linked calls to the interpreter bridge.

9 years agoam c30e721b: Merge "ART: Don\'t do pre-linked calls to the interpreter bridge."
Vladimir Marko [Mon, 22 Jun 2015 16:10:45 +0000 (16:10 +0000)]
am c30e721b: Merge "ART: Don\'t do pre-linked calls to the interpreter bridge."

* commit 'c30e721b5ddcb4ba6835c5b721e1c5095f4a3d7f':
  ART: Don't do pre-linked calls to the interpreter bridge.

9 years agoam a83938ea: am a6efe5e8: ART: Disallow classes that are abstract and final
Andreas Gampe [Mon, 22 Jun 2015 15:59:39 +0000 (15:59 +0000)]
am a83938ea: am a6efe5e8: ART: Disallow classes that are abstract and final

* commit 'a83938eaa7646eb89679bd4a542b6cdcb24ab132':
  ART: Disallow classes that are abstract and final

9 years agoMerge "ART: Don't do pre-linked calls to the interpreter bridge."
Vladimir Marko [Mon, 22 Jun 2015 15:57:16 +0000 (15:57 +0000)]
Merge "ART: Don't do pre-linked calls to the interpreter bridge."

9 years agoART: Don't do pre-linked calls to the interpreter bridge.
Vladimir Marko [Mon, 22 Jun 2015 13:35:42 +0000 (14:35 +0100)]
ART: Don't do pre-linked calls to the interpreter bridge.

Bug: 21897404

(cherry picked from commit c08ab29796eeaa3b5863fbd987cd96fe7538d40c)

Change-Id: I66531379fb4468a8ddee063e664bf6593abbe7d5

9 years agoresolved conflicts for merge of 564a2671 to mnc-dev-plus-aosp
Nicolas Geoffray [Mon, 22 Jun 2015 15:50:48 +0000 (16:50 +0100)]
resolved conflicts for merge of 564a2671 to mnc-dev-plus-aosp

Change-Id: Ibe355257df7556fe3bc2af425807a43f75dff528

9 years agoam a6efe5e8: ART: Disallow classes that are abstract and final
Andreas Gampe [Mon, 22 Jun 2015 15:45:12 +0000 (15:45 +0000)]
am a6efe5e8: ART: Disallow classes that are abstract and final

* commit 'a6efe5e813457a1c7946a1e6c62646b7bd1150df':
  ART: Disallow classes that are abstract and final

9 years agoam 8166f79b: (-s ours) am ee393607: (-s ours) Revert "Add support for inlining alread...
Nicolas Geoffray [Mon, 22 Jun 2015 15:41:58 +0000 (15:41 +0000)]
am 8166f79b: (-s ours) am ee393607: (-s ours) Revert "Add support for inlining already sharpened interface calls. DO NOT MERGE ANYWHERE"

* commit '8166f79be78104ef742ac6d31cc2c439e082f717':
  Revert "Add support for inlining already sharpened interface calls. DO NOT MERGE ANYWHERE"

9 years agoam 3cd356fd: am 042fd002: Revert "Revert "Use IsAssignableFrom instead of IsSubclass...
Nicolas Geoffray [Mon, 22 Jun 2015 15:41:56 +0000 (15:41 +0000)]
am 3cd356fd: am 042fd002: Revert "Revert "Use IsAssignableFrom instead of IsSubclass for robustness.""

* commit '3cd356fdb11f50cf40ddfe1747b7a24f786cdacc':
  Revert "Revert "Use IsAssignableFrom instead of IsSubclass for robustness.""

9 years agoam 2dda3918: am f91fb4a6: Merge "ART: Disallow classes that are abstract and final"
Andreas Gampe [Mon, 22 Jun 2015 15:14:49 +0000 (15:14 +0000)]
am 2dda3918: am f91fb4a6: Merge "ART: Disallow classes that are abstract and final"

* commit '2dda3918305aeb8dfb0b00ae4d4363c3ab794853':
  ART: Disallow classes that are abstract and final