OSDN Git Service

android-x86/art.git
9 years agoam 9b9cb18c: am 898fa9b9: Merge "Find better split positions in the register allocator."
Nicolas Geoffray [Wed, 6 May 2015 22:44:51 +0000 (22:44 +0000)]
am 9b9cb18c: am 898fa9b9: Merge "Find better split positions in the register allocator."

* commit '9b9cb18cfad2b94aa8d353569ccefae139562f5f':
  Find better split positions in the register allocator.

9 years agoam 9820d3c1: am 008b17ae: Merge "ART: Fix double-free in oatdump"
Andreas Gampe [Wed, 6 May 2015 22:44:33 +0000 (22:44 +0000)]
am 9820d3c1: am 008b17ae: Merge "ART: Fix double-free in oatdump"

* commit '9820d3c198abed51b781c25fd4139902fc391e0a':
  ART: Fix double-free in oatdump

9 years agoam f7083ed8: Quick: Inline synthetic accessors generated by jack.
Vladimir Marko [Wed, 6 May 2015 17:11:39 +0000 (17:11 +0000)]
am f7083ed8: Quick: Inline synthetic accessors generated by jack.

* commit 'f7083ed806da454ba6a50ddef34799559f863fd4':
  Quick: Inline synthetic accessors generated by jack.

9 years agoQuick: Inline synthetic accessors generated by jack.
Vladimir Marko [Wed, 6 May 2015 13:09:04 +0000 (14:09 +0100)]
Quick: Inline synthetic accessors generated by jack.

While javac names synthetic accessors "access$nnn", jack
names them "-getN", "-putN" and "-wrapN". For simplicity,
treat all methods starting with "-" as synthetic accessors.

Bug: 20873367

(cherry picked from commit d5f1005da7599f149b1332402c9791ef2acb8c42)

Change-Id: Ifcc77fc3c5dd44797a48632c8e16416fbc273a93

9 years agoam 529c147b: Merge "Fix instrumentation exit stub for arm64" into mnc-dev
Sebastien Hertz [Wed, 6 May 2015 09:35:06 +0000 (09:35 +0000)]
am 529c147b: Merge "Fix instrumentation exit stub for arm64" into mnc-dev

* commit '529c147b6ce15fd4ac8b2500c7e7a5749e98396b':
  Fix instrumentation exit stub for arm64

9 years agoMerge "Fix instrumentation exit stub for arm64" into mnc-dev
Sebastien Hertz [Wed, 6 May 2015 08:01:23 +0000 (08:01 +0000)]
Merge "Fix instrumentation exit stub for arm64" into mnc-dev

9 years agoam d117954a: Merge "Request full/partial GC type from VMRuntime.requestConcurrentGC...
Hiroshi Yamauchi [Tue, 5 May 2015 19:07:34 +0000 (19:07 +0000)]
am d117954a: Merge "Request full/partial GC type from VMRuntime.requestConcurrentGC()." into mnc-dev

* commit 'd117954a3b10aaf2141beabb12762d68d4b945ba':
  Request full/partial GC type from VMRuntime.requestConcurrentGC().

9 years agoam 6985da63: am 02d320c2: (-s ours) am 3c683c5d: Revert "HACK: Disable native stack...
Mathieu Chartier [Tue, 5 May 2015 19:07:33 +0000 (19:07 +0000)]
am 6985da63: am 02d320c2: (-s ours) am 3c683c5d: Revert "HACK: Disable native stack trace dumping for tetra. DO NOT MERGE"

* commit '6985da634653fd825974bdd89cf488c6dd386fd0':
  Revert "HACK: Disable native stack trace dumping for tetra. DO NOT MERGE"

9 years agoFix instrumentation exit stub for arm64
Sebastien Hertz [Tue, 5 May 2015 18:03:50 +0000 (20:03 +0200)]
Fix instrumentation exit stub for arm64

Fixes bad offset to restore register x21.

Bug: 20798393
Change-Id: I030d848ab0f46043e86f53abae204463f0aaccbe

9 years agoMerge "Request full/partial GC type from VMRuntime.requestConcurrentGC()." into mnc-dev
Hiroshi Yamauchi [Tue, 5 May 2015 17:01:33 +0000 (17:01 +0000)]
Merge "Request full/partial GC type from VMRuntime.requestConcurrentGC()." into mnc-dev

9 years agoam 898fa9b9: Merge "Find better split positions in the register allocator."
Nicolas Geoffray [Tue, 5 May 2015 09:39:11 +0000 (09:39 +0000)]
am 898fa9b9: Merge "Find better split positions in the register allocator."

* commit '898fa9b96a579715d124671102886242bd62f393':
  Find better split positions in the register allocator.

9 years agoMerge "Find better split positions in the register allocator."
Nicolas Geoffray [Tue, 5 May 2015 09:26:29 +0000 (09:26 +0000)]
Merge "Find better split positions in the register allocator."

9 years agoFind better split positions in the register allocator.
Nicolas Geoffray [Wed, 29 Apr 2015 13:16:00 +0000 (14:16 +0100)]
Find better split positions in the register allocator.

In a standard if/else control flow graph, this avoids
doing a move in one branch if the other branch decided
to move an interval.

This also needs a new register hint kind, which is what
was the location of the interval at the predecessor block.

Change-Id: I18b78264587b4d693540fbb5e014d12df2add3e2

9 years agoam 02d320c2: (-s ours) am 3c683c5d: Revert "HACK: Disable native stack trace dumping...
Mathieu Chartier [Tue, 5 May 2015 01:48:09 +0000 (01:48 +0000)]
am 02d320c2: (-s ours) am 3c683c5d: Revert "HACK: Disable native stack trace dumping for tetra. DO NOT MERGE"

* commit '02d320c218be4b8877d2d6947b1c85120736558c':
  Revert "HACK: Disable native stack trace dumping for tetra. DO NOT MERGE"

9 years agoam 008b17ae: Merge "ART: Fix double-free in oatdump"
Andreas Gampe [Tue, 5 May 2015 01:38:30 +0000 (01:38 +0000)]
am 008b17ae: Merge "ART: Fix double-free in oatdump"

* commit '008b17ae313d033537a3792faf937134315f03bc':
  ART: Fix double-free in oatdump

9 years agoMerge "ART: Fix double-free in oatdump"
Andreas Gampe [Tue, 5 May 2015 01:31:33 +0000 (01:31 +0000)]
Merge "ART: Fix double-free in oatdump"

9 years agoART: Fix double-free in oatdump
Andreas Gampe [Tue, 5 May 2015 01:25:23 +0000 (18:25 -0700)]
ART: Fix double-free in oatdump

The ImageDumper doesn't own the OatDumperOptions.

Bug: 20818721
Change-Id: Iea11ada8fb6418b226d39b33c252a834c42e655e

9 years agoam 15c80977: Merge "ART: Emit debug info when app is debuggable" into mnc-dev
Andreas Gampe [Tue, 5 May 2015 01:24:10 +0000 (01:24 +0000)]
am 15c80977: Merge "ART: Emit debug info when app is debuggable" into mnc-dev

* commit '15c80977a56a788078056f30d456ba75db5b2353':
  ART: Emit debug info when app is debuggable

9 years agoam ba52e130: Delete invalid DCHECK
Mathieu Chartier [Tue, 5 May 2015 01:24:09 +0000 (01:24 +0000)]
am ba52e130: Delete invalid DCHECK

* commit 'ba52e13068f4a04de13e7dd719a758c19b13fad5':
  Delete invalid DCHECK

9 years agoam 5e37e239: am c2baa5e3: Merge "ART: Emit debug info when app is debuggable"
Andreas Gampe [Tue, 5 May 2015 01:22:15 +0000 (01:22 +0000)]
am 5e37e239: am c2baa5e3: Merge "ART: Emit debug info when app is debuggable"

* commit '5e37e239a403bba0887cbd9781d215c21b29e56e':
  ART: Emit debug info when app is debuggable

9 years agoam 42b59f6a: am dd13f157: Merge "Fix mismatched new[]/delete."
Christopher Ferris [Tue, 5 May 2015 01:22:12 +0000 (01:22 +0000)]
am 42b59f6a: am dd13f157: Merge "Fix mismatched new[]/delete."

* commit '42b59f6ada0fac613776b4d1f9d3b350c214b572':
  Fix mismatched new[]/delete.

9 years agoam 9a3fe451: am d864f501: Merge "Delete invalid DCHECK"
Mathieu Chartier [Tue, 5 May 2015 01:22:01 +0000 (01:22 +0000)]
am 9a3fe451: am d864f501: Merge "Delete invalid DCHECK"

* commit '9a3fe451d1af1df6a1da18a956fc77d4bc9480e0':
  Delete invalid DCHECK

9 years agoam c2baa5e3: Merge "ART: Emit debug info when app is debuggable"
Andreas Gampe [Tue, 5 May 2015 01:02:46 +0000 (01:02 +0000)]
am c2baa5e3: Merge "ART: Emit debug info when app is debuggable"

* commit 'c2baa5e36f615947affc899b063ceadbd2879d17':
  ART: Emit debug info when app is debuggable

9 years agoam dd13f157: Merge "Fix mismatched new[]/delete."
Christopher Ferris [Tue, 5 May 2015 01:02:45 +0000 (01:02 +0000)]
am dd13f157: Merge "Fix mismatched new[]/delete."

* commit 'dd13f1579006f0562a1b3548dc0a6d80cf62a002':
  Fix mismatched new[]/delete.

9 years agoam d864f501: Merge "Delete invalid DCHECK"
Mathieu Chartier [Tue, 5 May 2015 01:02:42 +0000 (01:02 +0000)]
am d864f501: Merge "Delete invalid DCHECK"

* commit 'd864f5010de581b15cea1e8178871e658024a6d9':
  Delete invalid DCHECK

9 years agoam 3c683c5d: Revert "HACK: Disable native stack trace dumping for tetra. DO NOT MERGE"
Mathieu Chartier [Tue, 5 May 2015 01:00:30 +0000 (01:00 +0000)]
am 3c683c5d: Revert "HACK: Disable native stack trace dumping for tetra. DO NOT MERGE"

* commit '3c683c5d107cb43e8027d740ed579ef92a88af2e':
  Revert "HACK: Disable native stack trace dumping for tetra. DO NOT MERGE"

9 years agoMerge "ART: Emit debug info when app is debuggable"
Andreas Gampe [Mon, 4 May 2015 22:13:05 +0000 (22:13 +0000)]
Merge "ART: Emit debug info when app is debuggable"

9 years agoART: Emit debug info when app is debuggable
Andreas Gampe [Mon, 4 May 2015 15:33:31 +0000 (08:33 -0700)]
ART: Emit debug info when app is debuggable

Emit debug symbols and CFI when dex2oat is compiling with the
--debuggable flag.

Bug: 17011129

(cherry picked from commit 8484d23186c229e2927441f85ae819abb4996072)

Change-Id: I0afab1e46abd819eded2b823580e766619497393

9 years agoMerge "Fix mismatched new[]/delete."
Christopher Ferris [Mon, 4 May 2015 21:58:44 +0000 (21:58 +0000)]
Merge "Fix mismatched new[]/delete."

9 years agoMerge "ART: Emit debug info when app is debuggable" into mnc-dev
Andreas Gampe [Mon, 4 May 2015 21:51:31 +0000 (21:51 +0000)]
Merge "ART: Emit debug info when app is debuggable" into mnc-dev

9 years agoDelete invalid DCHECK
Mathieu Chartier [Mon, 4 May 2015 18:46:25 +0000 (11:46 -0700)]
Delete invalid DCHECK

We can have large objects mapped at address 0xebad____.

(cherry picked from commit e1a0153eeecbacaa4dbdbd4650f7ba40b9c47814)

Change-Id: I9e27d4948e7e853b4af6eb1b36dbfec6d4d7a99a

9 years agoRevert "HACK: Disable native stack trace dumping for tetra. DO NOT MERGE"
Mathieu Chartier [Mon, 4 May 2015 19:59:55 +0000 (19:59 +0000)]
Revert "HACK: Disable native stack trace dumping for tetra. DO NOT MERGE"

This reverts commit 471b7cb6c1b8128bb343b49198f2654f9f5b8f86.

Change-Id: Ia22615b401fd28ea94e6269f9eac5653e103a6fd

9 years agoMerge "Delete invalid DCHECK"
Mathieu Chartier [Mon, 4 May 2015 19:12:45 +0000 (19:12 +0000)]
Merge "Delete invalid DCHECK"

9 years agoFix mismatched new[]/delete.
Christopher Ferris [Mon, 27 Apr 2015 22:19:41 +0000 (15:19 -0700)]
Fix mismatched new[]/delete.

Another two cases where a new[] is used but only a delete occurs.

Bug: 18202869
Change-Id: If68264807150f3a9783e44ef8823cc366bff8df2

9 years agoDelete invalid DCHECK
Mathieu Chartier [Mon, 4 May 2015 18:46:25 +0000 (11:46 -0700)]
Delete invalid DCHECK

We can have large objects mapped at address 0xebad____.

Change-Id: I9e27d4948e7e853b4af6eb1b36dbfec6d4d7a99a

9 years agoam a6ce5b2d: Improve JNI registration failure logging
Mathieu Chartier [Mon, 4 May 2015 19:00:17 +0000 (19:00 +0000)]
am a6ce5b2d: Improve JNI registration failure logging

* commit 'a6ce5b2d5ade23087ab15f26d4c487570ad84b5e':
  Improve JNI registration failure logging

9 years agoam 1384f29a: am a93b104b: Merge "Improve JNI registration failure logging"
Mathieu Chartier [Mon, 4 May 2015 18:44:45 +0000 (18:44 +0000)]
am 1384f29a: am a93b104b: Merge "Improve JNI registration failure logging"

* commit '1384f29a2e5c9c7e560f17672f0634fb51451044':
  Improve JNI registration failure logging

9 years agoam a93b104b: Merge "Improve JNI registration failure logging"
Mathieu Chartier [Mon, 4 May 2015 18:32:27 +0000 (18:32 +0000)]
am a93b104b: Merge "Improve JNI registration failure logging"

* commit 'a93b104b47da67eaa50f8a6b7280cc6c438ef37b':
  Improve JNI registration failure logging

9 years agoImprove JNI registration failure logging
Mathieu Chartier [Mon, 4 May 2015 17:18:24 +0000 (10:18 -0700)]
Improve JNI registration failure logging

Print INTERNAL_FATAL instead of ERROR, print the
"Failed to register native method" message last.

(cherry picked from commit 5c02d6cd0cc7e10d30d8c26166ebaaf6d313d771)

Bug: 13885477
Change-Id: I9f1a7ea45bd926f3984b8008d84c75e676a1ed10

9 years agoMerge "Improve JNI registration failure logging"
Mathieu Chartier [Mon, 4 May 2015 18:17:40 +0000 (18:17 +0000)]
Merge "Improve JNI registration failure logging"

9 years agoImprove JNI registration failure logging
Mathieu Chartier [Mon, 4 May 2015 17:18:24 +0000 (10:18 -0700)]
Improve JNI registration failure logging

Print INTERNAL_FATAL instead of ERROR, print the
"Failed to register native method" message last.

Bug: 13885477
Change-Id: I9f1a7ea45bd926f3984b8008d84c75e676a1ed10

9 years agoam 46578a4a: Fix NanoSleep and add test
Mathieu Chartier [Mon, 4 May 2015 17:37:08 +0000 (17:37 +0000)]
am 46578a4a: Fix NanoSleep and add test

* commit '46578a4a3bf235fde35ed80c6e6cbe8fb5f06b48':
  Fix NanoSleep and add test

9 years agoam b2a62122: am a6f2a7e0: Merge "Fix NanoSleep and add test"
Mathieu Chartier [Mon, 4 May 2015 17:30:47 +0000 (17:30 +0000)]
am b2a62122: am a6f2a7e0: Merge "Fix NanoSleep and add test"

* commit 'b2a62122e8f512915836a12a703b2567cebddd99':
  Fix NanoSleep and add test

9 years agoam 414369a2: Add some more DISALLOW_COPY_AND_ASSIGN
Mathieu Chartier [Mon, 4 May 2015 17:25:02 +0000 (17:25 +0000)]
am 414369a2: Add some more DISALLOW_COPY_AND_ASSIGN

* commit '414369a2e3f23e1408fc1cbf4f623014bd95cb8f':
  Add some more DISALLOW_COPY_AND_ASSIGN

9 years agoam a6f2a7e0: Merge "Fix NanoSleep and add test"
Mathieu Chartier [Mon, 4 May 2015 17:18:55 +0000 (17:18 +0000)]
am a6f2a7e0: Merge "Fix NanoSleep and add test"

* commit 'a6f2a7e01433926339866afc2b413770774c6d9f':
  Fix NanoSleep and add test

9 years agoMerge "Fix NanoSleep and add test"
Mathieu Chartier [Mon, 4 May 2015 17:10:47 +0000 (17:10 +0000)]
Merge "Fix NanoSleep and add test"

9 years agoFix NanoSleep and add test
Mathieu Chartier [Mon, 4 May 2015 16:53:43 +0000 (09:53 -0700)]
Fix NanoSleep and add test

Fixed a bug where tv_nsec was't between 0 and 999,999,999.

(cherry picked from commit 0b063d9ba7a11779667c0888e9f3495de0118b74)

Bug: 14450052
Change-Id: I30b29a716bfa63c6b57d589dd1102d2ca934c061

9 years agoFix NanoSleep and add test
Mathieu Chartier [Mon, 4 May 2015 16:53:43 +0000 (09:53 -0700)]
Fix NanoSleep and add test

Fixed a bug where tv_nsec was't between 0 and 999,999,999.

Bug: 14450052
Change-Id: I30b29a716bfa63c6b57d589dd1102d2ca934c061

9 years agoAdd some more DISALLOW_COPY_AND_ASSIGN
Mathieu Chartier [Sun, 3 May 2015 22:20:23 +0000 (15:20 -0700)]
Add some more DISALLOW_COPY_AND_ASSIGN

May help prevent bugs maybe.

(cherry picked from commit 3130cdf29eb203be0c38d1107a65d920ec39c106)

Change-Id: Ie73d469dfcd078492ecb3aa28682b42707221202

9 years agoART: Emit debug info when app is debuggable
Andreas Gampe [Mon, 4 May 2015 15:33:31 +0000 (08:33 -0700)]
ART: Emit debug info when app is debuggable

Emit debug symbols and CFI when dex2oat is compiling with the
--debuggable flag.

Bug: 17011129
Change-Id: I0afab1e46abd819eded2b823580e766619497393

9 years agoam 25919277: am 8a30bf23: Merge "Add some more DISALLOW_COPY_AND_ASSIGN"
Mathieu Chartier [Sun, 3 May 2015 22:40:56 +0000 (22:40 +0000)]
am 25919277: am 8a30bf23: Merge "Add some more DISALLOW_COPY_AND_ASSIGN"

* commit '2591927761cbec8665a38d23980e36037d08ee07':
  Add some more DISALLOW_COPY_AND_ASSIGN

9 years agoam 8a30bf23: Merge "Add some more DISALLOW_COPY_AND_ASSIGN"
Mathieu Chartier [Sun, 3 May 2015 22:33:05 +0000 (22:33 +0000)]
am 8a30bf23: Merge "Add some more DISALLOW_COPY_AND_ASSIGN"

* commit '8a30bf23bcb1ad8d4ed9060ddbb27edbfd57a897':
  Add some more DISALLOW_COPY_AND_ASSIGN

9 years agoMerge "Add some more DISALLOW_COPY_AND_ASSIGN"
Mathieu Chartier [Sun, 3 May 2015 22:26:22 +0000 (22:26 +0000)]
Merge "Add some more DISALLOW_COPY_AND_ASSIGN"

9 years agoAdd some more DISALLOW_COPY_AND_ASSIGN
Mathieu Chartier [Sun, 3 May 2015 22:20:23 +0000 (15:20 -0700)]
Add some more DISALLOW_COPY_AND_ASSIGN

May help prevent bugs maybe.

Change-Id: Ie73d469dfcd078492ecb3aa28682b42707221202

9 years agoRequest full/partial GC type from VMRuntime.requestConcurrentGC().
Hiroshi Yamauchi [Sat, 2 May 2015 00:53:32 +0000 (17:53 -0700)]
Request full/partial GC type from VMRuntime.requestConcurrentGC().

(cherry pick commit 0ae98992d348b5bf3fc85a52d81b0e5f221f20d6)

Bug: 20554807
Change-Id: I572e846e9d0347b8b2692442e55f56c08b07d395

9 years agoam d718236c: am 25dcb259: Merge "Let the map function compute the relative pc."
Christopher Ferris [Sat, 2 May 2015 00:46:06 +0000 (00:46 +0000)]
am d718236c: am 25dcb259: Merge "Let the map function compute the relative pc."

* commit 'd718236cc45ec761bb72c894343d91645fe1fa92':
  Let the map function compute the relative pc.

9 years agoam 6f1be449: Merge "Let the map function compute the relative pc." into mnc-dev
Christopher Ferris [Sat, 2 May 2015 00:31:01 +0000 (00:31 +0000)]
am 6f1be449: Merge "Let the map function compute the relative pc." into mnc-dev

* commit '6f1be4493a558e8dabdc981b37852a2008f7bef1':
  Let the map function compute the relative pc.

9 years agoam 25dcb259: Merge "Let the map function compute the relative pc."
Christopher Ferris [Sat, 2 May 2015 00:29:42 +0000 (00:29 +0000)]
am 25dcb259: Merge "Let the map function compute the relative pc."

* commit '25dcb2594a21a565ef82faa66a79bcf595c3a780':
  Let the map function compute the relative pc.

9 years agoMerge "Let the map function compute the relative pc."
Christopher Ferris [Sat, 2 May 2015 00:20:15 +0000 (00:20 +0000)]
Merge "Let the map function compute the relative pc."

9 years agoLet the map function compute the relative pc.
Christopher Ferris [Fri, 1 May 2015 23:03:49 +0000 (16:03 -0700)]
Let the map function compute the relative pc.

The new packed relocations linker option creates an elf with a non-zero
load base. It's no longer an easy task to compute the relative pc yourself
so call the helper function to do it for us.

Bug: 20687795

(cherry picked from commit 332ef327c2b1a5e1774ba0d1da23e07303002af9)

Change-Id: I3d61c767f21a3f240a14f9e8bc6bee53b6cdb60d

9 years agoMerge "Let the map function compute the relative pc." into mnc-dev
Christopher Ferris [Sat, 2 May 2015 00:07:16 +0000 (00:07 +0000)]
Merge "Let the map function compute the relative pc." into mnc-dev

9 years agoam 5b19928e: am 43e1bc66: Merge "Request full/partial GC type from VMRuntime.requestC...
Hiroshi Yamauchi [Fri, 1 May 2015 23:45:53 +0000 (23:45 +0000)]
am 5b19928e: am 43e1bc66: Merge "Request full/partial GC type from VMRuntime.requestConcurrentGC()."

* commit '5b19928e7adc9749e3d4c306c5955ee14f76717c':
  Request full/partial GC type from VMRuntime.requestConcurrentGC().

9 years agoam 43e1bc66: Merge "Request full/partial GC type from VMRuntime.requestConcurrentGC()."
Hiroshi Yamauchi [Fri, 1 May 2015 23:34:11 +0000 (23:34 +0000)]
am 43e1bc66: Merge "Request full/partial GC type from VMRuntime.requestConcurrentGC()."

* commit '43e1bc667e66386443aee6477d767d9b8ef5aa79':
  Request full/partial GC type from VMRuntime.requestConcurrentGC().

9 years agoam b60cae5a: am 376d941d: Merge "ART: Fix max build"
Andreas Gampe [Fri, 1 May 2015 23:34:09 +0000 (23:34 +0000)]
am b60cae5a: am 376d941d: Merge "ART: Fix max build"

* commit 'b60cae5a2e02b025201bb9db1bb7487e1f7992f2':
  ART: Fix max build

9 years agoLet the map function compute the relative pc.
Christopher Ferris [Fri, 1 May 2015 23:03:49 +0000 (16:03 -0700)]
Let the map function compute the relative pc.

The new packed relocations linker option creates an elf with a non-zero
load base. It's no longer an easy task to compute the relative pc yourself
so call the helper function to do it for us.

Bug: 20687795
Change-Id: If11c1a596bc79382d44e35a86d5035ab29d29864

9 years agoMerge "Request full/partial GC type from VMRuntime.requestConcurrentGC()."
Hiroshi Yamauchi [Fri, 1 May 2015 23:22:51 +0000 (23:22 +0000)]
Merge "Request full/partial GC type from VMRuntime.requestConcurrentGC()."

9 years agoam 376d941d: Merge "ART: Fix max build"
Andreas Gampe [Fri, 1 May 2015 23:21:12 +0000 (23:21 +0000)]
am 376d941d: Merge "ART: Fix max build"

* commit '376d941d5d8ad23ca2880aecffbe8381be963f35':
  ART: Fix max build

9 years agoMerge "ART: Fix max build"
Andreas Gampe [Fri, 1 May 2015 23:13:38 +0000 (23:13 +0000)]
Merge "ART: Fix max build"

9 years agoART: Fix max build
Andreas Gampe [Fri, 1 May 2015 23:11:04 +0000 (16:11 -0700)]
ART: Fix max build

Change-Id: Id1b9c0ee05b61195d1c1f09a8938df3110c2f2b3

9 years agoam cb2e4125: am b0d9f0dd: Merge "Re-enable clang for Mips/Mips64 targets."
Chih-hung Hsieh [Fri, 1 May 2015 22:53:06 +0000 (22:53 +0000)]
am cb2e4125: am b0d9f0dd: Merge "Re-enable clang for Mips/Mips64 targets."

* commit 'cb2e41257a8b0244aef72241d0af3226a348b88c':
  Re-enable clang for Mips/Mips64 targets.

9 years agoam b0d9f0dd: Merge "Re-enable clang for Mips/Mips64 targets."
Chih-hung Hsieh [Fri, 1 May 2015 22:40:58 +0000 (22:40 +0000)]
am b0d9f0dd: Merge "Re-enable clang for Mips/Mips64 targets."

* commit 'b0d9f0ddd6189564f359f989d9ff606d6c691ed0':
  Re-enable clang for Mips/Mips64 targets.

9 years agoMerge "Re-enable clang for Mips/Mips64 targets."
Chih-hung Hsieh [Fri, 1 May 2015 22:30:07 +0000 (22:30 +0000)]
Merge "Re-enable clang for Mips/Mips64 targets."

9 years agoRequest full/partial GC type from VMRuntime.requestConcurrentGC().
Hiroshi Yamauchi [Fri, 1 May 2015 21:33:19 +0000 (14:33 -0700)]
Request full/partial GC type from VMRuntime.requestConcurrentGC().

Bug: 20554807
Change-Id: I1cd855507c3f4e191035dbc2c429e1b8b344d81b

9 years agoam 3bf2d475: Print memory maps on GC crash.
Hiroshi Yamauchi [Fri, 1 May 2015 21:08:40 +0000 (21:08 +0000)]
am 3bf2d475: Print memory maps on GC crash.

* commit '3bf2d475f0f1d1c2d292714b48a1ccb9c9eadac2':
  Print memory maps on GC crash.

9 years agoam 2e018102: am 1db3554c: Merge "Print memory maps on GC crash."
Hiroshi Yamauchi [Fri, 1 May 2015 20:59:08 +0000 (20:59 +0000)]
am 2e018102: am 1db3554c: Merge "Print memory maps on GC crash."

* commit '2e018102a2d4b9d1d4177b1975a68f42b81b463c':
  Print memory maps on GC crash.

9 years agoam 491fa88a: am 772b617c: Merge "Add binary search table to .eh_frame_hdr"
Andreas Gampe [Fri, 1 May 2015 20:59:07 +0000 (20:59 +0000)]
am 491fa88a: am 772b617c: Merge "Add binary search table to .eh_frame_hdr"

* commit '491fa88ae3c628707803dcb8a01fa198bc4a4174':
  Add binary search table to .eh_frame_hdr

9 years agoam 732e886d: Change invalid root from LOG(ERROR) to LOG(INTERNAL_FATAL)
Mathieu Chartier [Fri, 1 May 2015 20:46:59 +0000 (20:46 +0000)]
am 732e886d: Change invalid root from LOG(ERROR) to LOG(INTERNAL_FATAL)

* commit '732e886df618f8f8f67a184da3bf079aec22eca5':
  Change invalid root from LOG(ERROR) to LOG(INTERNAL_FATAL)

9 years agoam 1db3554c: Merge "Print memory maps on GC crash."
Hiroshi Yamauchi [Fri, 1 May 2015 20:46:48 +0000 (20:46 +0000)]
am 1db3554c: Merge "Print memory maps on GC crash."

* commit '1db3554cf9751d4328d5514b6bee15b6a92b82c4':
  Print memory maps on GC crash.

9 years agoam 772b617c: Merge "Add binary search table to .eh_frame_hdr"
Andreas Gampe [Fri, 1 May 2015 20:46:46 +0000 (20:46 +0000)]
am 772b617c: Merge "Add binary search table to .eh_frame_hdr"

* commit '772b617ce920ea1924b0ad2fd429c99274f0ccd5':
  Add binary search table to .eh_frame_hdr

9 years agoPrint memory maps on GC crash.
Hiroshi Yamauchi [Fri, 1 May 2015 18:50:24 +0000 (11:50 -0700)]
Print memory maps on GC crash.

Bug: 20557050

(cherry picked from commit d38ec80b163af1639fbaae382a319c73be67c560)

Change-Id: I0fc35bace77b11181f06199c121bc4e246d02100

9 years agoRe-enable clang for Mips/Mips64 targets.
Duane Sand [Fri, 1 May 2015 18:34:51 +0000 (11:34 -0700)]
Re-enable clang for Mips/Mips64 targets.

The build-time errors described in
  https://android-review.googlesource.com/#/c/120512
are no longer happening.

BUG: 18807290
BUG: 18789639

Change-Id: I195bbb7d102fecd6a6e6a3357b0863dd6fddb01f

9 years agoMerge "Print memory maps on GC crash."
Hiroshi Yamauchi [Fri, 1 May 2015 20:35:57 +0000 (20:35 +0000)]
Merge "Print memory maps on GC crash."

9 years agoMerge "Add binary search table to .eh_frame_hdr"
Andreas Gampe [Fri, 1 May 2015 20:34:11 +0000 (20:34 +0000)]
Merge "Add binary search table to .eh_frame_hdr"

9 years agoam 956f71a8: am 485971cf: Merge "Do not write CFI and symbols for deduplicate methods."
Andreas Gampe [Fri, 1 May 2015 20:34:07 +0000 (20:34 +0000)]
am 956f71a8: am 485971cf: Merge "Do not write CFI and symbols for deduplicate methods."

* commit '956f71a8b4f3e06fecdb5a30bcc3e9b1876d243a':
  Do not write CFI and symbols for deduplicate methods.

9 years agoam d7d1d2e6: am f274519c: Merge "Change invalid root from LOG(ERROR) to LOG(INTERNAL_...
Mathieu Chartier [Fri, 1 May 2015 20:34:06 +0000 (20:34 +0000)]
am d7d1d2e6: am f274519c: Merge "Change invalid root from LOG(ERROR) to LOG(INTERNAL_FATAL)"

* commit 'd7d1d2e640b97a55313760f5e628daf70a797069':
  Change invalid root from LOG(ERROR) to LOG(INTERNAL_FATAL)

9 years agoam 485971cf: Merge "Do not write CFI and symbols for deduplicate methods."
Andreas Gampe [Fri, 1 May 2015 20:25:08 +0000 (20:25 +0000)]
am 485971cf: Merge "Do not write CFI and symbols for deduplicate methods."

* commit '485971cf4105886773a3fd10a0021738d4cd4de7':
  Do not write CFI and symbols for deduplicate methods.

9 years agoam f274519c: Merge "Change invalid root from LOG(ERROR) to LOG(INTERNAL_FATAL)"
Mathieu Chartier [Fri, 1 May 2015 20:25:06 +0000 (20:25 +0000)]
am f274519c: Merge "Change invalid root from LOG(ERROR) to LOG(INTERNAL_FATAL)"

* commit 'f274519ce9fc3a9df477ffb320bcdcddab505b58':
  Change invalid root from LOG(ERROR) to LOG(INTERNAL_FATAL)

9 years agoAdd binary search table to .eh_frame_hdr
David Srbecky [Thu, 30 Apr 2015 18:57:35 +0000 (19:57 +0100)]
Add binary search table to .eh_frame_hdr

The addresses in the search table must be relative to the start
of .eh_frame_hdr which results in yet another pointer type to patch.
I have moved the Patch method back to elf_writer_quick where
it can be specialized to one of the three pointer types.

The .eh_frame_hdr takes around 17% of .eh_frame now.

Change-Id: I4770d1355ded6cdff9489c33380f6b06c4e3f9fe

9 years agoMerge "Do not write CFI and symbols for deduplicate methods."
Andreas Gampe [Fri, 1 May 2015 20:22:57 +0000 (20:22 +0000)]
Merge "Do not write CFI and symbols for deduplicate methods."

9 years agoPrint memory maps on GC crash.
Hiroshi Yamauchi [Fri, 1 May 2015 18:50:24 +0000 (11:50 -0700)]
Print memory maps on GC crash.

Bug: 20557050
Change-Id: I0fc35bace77b11181f06199c121bc4e246d02100

9 years agoChange invalid root from LOG(ERROR) to LOG(INTERNAL_FATAL)
Mathieu Chartier [Fri, 1 May 2015 20:00:23 +0000 (13:00 -0700)]
Change invalid root from LOG(ERROR) to LOG(INTERNAL_FATAL)

INTERNAL_FATAL is more likely to remain in bug reports.

(cherry picked from commit 175746ac9039e9b741d3521420dcaa9c59341738)

Bug: 20736048
Change-Id: I518f079d8d1839e22b3595e807730edf36318f1d

9 years agoMerge "Change invalid root from LOG(ERROR) to LOG(INTERNAL_FATAL)"
Mathieu Chartier [Fri, 1 May 2015 20:19:14 +0000 (20:19 +0000)]
Merge "Change invalid root from LOG(ERROR) to LOG(INTERNAL_FATAL)"

9 years agoChange invalid root from LOG(ERROR) to LOG(INTERNAL_FATAL)
Mathieu Chartier [Fri, 1 May 2015 20:00:23 +0000 (13:00 -0700)]
Change invalid root from LOG(ERROR) to LOG(INTERNAL_FATAL)

INTERNAL_FATAL is more likely to remain in bug reports.

Bug: 20736048
Change-Id: I518f079d8d1839e22b3595e807730edf36318f1d

9 years agoDo not write CFI and symbols for deduplicate methods.
David Srbecky [Fri, 1 May 2015 14:00:40 +0000 (15:00 +0100)]
Do not write CFI and symbols for deduplicate methods.

There is no need to have multiple symbols for a given address
since libunwind still has to pick only one to print.
Likewise, there is no need to duplicate the CFI.

There is fair number of duplicate methods in the boot image,
so this saves over 20% from those debug sections.

Change-Id: Ib4390150257d009a6303b084076750ce56afed60

9 years agoam 6db49a74: Update the remaining input index of phis after deleting an input.
Nicolas Geoffray [Fri, 1 May 2015 12:00:07 +0000 (12:00 +0000)]
am 6db49a74: Update the remaining input index of phis after deleting an input.

* commit '6db49a74e8402d3b6c66536ea7ec988144c05d24':
  Update the remaining input index of phis after deleting an input.

9 years agoam 30259bfc: am 0697e849: Merge "Update the remaining input index of phis after delet...
Nicolas Geoffray [Fri, 1 May 2015 09:31:11 +0000 (09:31 +0000)]
am 30259bfc: am 0697e849: Merge "Update the remaining input index of phis after deleting an input."

* commit '30259bfcd9869acb9b68247de8814b648235f9dd':
  Update the remaining input index of phis after deleting an input.

9 years agoam 0697e849: Merge "Update the remaining input index of phis after deleting an input."
Nicolas Geoffray [Fri, 1 May 2015 09:18:53 +0000 (09:18 +0000)]
am 0697e849: Merge "Update the remaining input index of phis after deleting an input."

* commit '0697e8491217f980d90a769f241fed67f6827d6f':
  Update the remaining input index of phis after deleting an input.

9 years agoUpdate the remaining input index of phis after deleting an input.
Nicolas Geoffray [Mon, 27 Apr 2015 23:52:43 +0000 (00:52 +0100)]
Update the remaining input index of phis after deleting an input.

bug:20715803
bug:20690906

(cherry picked from commit 5d7b7f81ed5455893f984752c00571ef27cc97c5)

Change-Id: Ie55739601b8d6fedc830d6e19d8a053392047d34

9 years agoMerge "Update the remaining input index of phis after deleting an input."
Nicolas Geoffray [Fri, 1 May 2015 09:10:56 +0000 (09:10 +0000)]
Merge "Update the remaining input index of phis after deleting an input."

9 years agoUpdate the remaining input index of phis after deleting an input.
Nicolas Geoffray [Mon, 27 Apr 2015 23:52:43 +0000 (00:52 +0100)]
Update the remaining input index of phis after deleting an input.

bug:20715803
bug:20690906

Change-Id: Iaf08f0c30d629e766be2b04815dc3e38b6e7ff35