OSDN Git Service

android-x86/art.git
8 years agoMerge "ART: Add unstarted-runtime functions" am: 0002311638
Andreas Gampe [Fri, 26 Feb 2016 23:46:01 +0000 (23:46 +0000)]
Merge "ART: Add unstarted-runtime functions" am: 0002311638
am: 6fba0dbdd5

* commit '6fba0dbdd50383509b8d63898e74aca0e330ef7e':
  ART: Add unstarted-runtime functions

8 years agoMerge "ART: Add unstarted-runtime functions"
Andreas Gampe [Fri, 26 Feb 2016 23:44:40 +0000 (23:44 +0000)]
Merge "ART: Add unstarted-runtime functions"
am: 0002311638

* commit '0002311638d67025382d7697f36b8221b1fda734':
  ART: Add unstarted-runtime functions

8 years agoMerge "ART: Add unstarted-runtime functions"
Andreas Gampe [Fri, 26 Feb 2016 23:44:02 +0000 (23:44 +0000)]
Merge "ART: Add unstarted-runtime functions"

8 years agoART: Add unstarted-runtime functions
Andreas Gampe [Mon, 22 Feb 2016 18:03:12 +0000 (10:03 -0800)]
ART: Add unstarted-runtime functions

Add more functions to allow compile-time initialization of
code.

Bug: 27248115

(cherry picked from commit 0866f4ed6338faa4a193b7e819fc7cd72bd7b0ae)

Change-Id: Iaf8d92deb73547ccd31c0d6dde68da3bc14c3985

8 years agoMerge "Support new JDWP InterfaceType.InvokeMethod command" am: 420ae23220
Alex Light [Fri, 26 Feb 2016 23:41:07 +0000 (23:41 +0000)]
Merge "Support new JDWP InterfaceType.InvokeMethod command" am: 420ae23220
am: a91766c953

* commit 'a91766c953193dc5e0c0aff2eabc8f1b1ce30d7d':
  Support new JDWP InterfaceType.InvokeMethod command

8 years agoMerge "Support new JDWP InterfaceType.InvokeMethod command"
Alex Light [Fri, 26 Feb 2016 23:38:34 +0000 (23:38 +0000)]
Merge "Support new JDWP InterfaceType.InvokeMethod command"
am: 420ae23220

* commit '420ae23220a58f6146aa321f91c11e6549f8fd7b':
  Support new JDWP InterfaceType.InvokeMethod command

8 years agoMerge "Support new JDWP InterfaceType.InvokeMethod command"
Alex Light [Fri, 26 Feb 2016 23:35:49 +0000 (23:35 +0000)]
Merge "Support new JDWP InterfaceType.InvokeMethod command"

8 years agoMerge "Add and use loaded class profiling" am: 4f626cd1d2
Mathieu Chartier [Fri, 26 Feb 2016 22:26:50 +0000 (22:26 +0000)]
Merge "Add and use loaded class profiling" am: 4f626cd1d2
am: 36ae397c45

* commit '36ae397c453555a7efd08ef873f16e494a102036':
  Add and use loaded class profiling

8 years agoMerge "Add and use loaded class profiling"
Mathieu Chartier [Fri, 26 Feb 2016 22:25:17 +0000 (22:25 +0000)]
Merge "Add and use loaded class profiling"
am: 4f626cd1d2

* commit '4f626cd1d2375df98dd5286fe875ba87f802e058':
  Add and use loaded class profiling

8 years agoMerge "Add and use loaded class profiling"
Mathieu Chartier [Fri, 26 Feb 2016 22:23:38 +0000 (22:23 +0000)]
Merge "Add and use loaded class profiling"

8 years agoMerge "Add and use loaded class profiling" into nyc-dev
Mathieu Chartier [Fri, 26 Feb 2016 21:11:41 +0000 (21:11 +0000)]
Merge "Add and use loaded class profiling" into nyc-dev
am: fbef09b29e

* commit 'fbef09b29ea42c6fdacde18946f576772bae0a80':
  Add and use loaded class profiling

8 years agoMerge "ART: Add unstarted-runtime functions" into nyc-dev
Andreas Gampe [Fri, 26 Feb 2016 21:09:16 +0000 (21:09 +0000)]
Merge "ART: Add unstarted-runtime functions" into nyc-dev
am: 8dc09ab451

* commit '8dc09ab45194b989c6dfe5bb03e06a881865da1f':
  ART: Add unstarted-runtime functions

8 years agoAdd and use loaded class profiling
Mathieu Chartier [Thu, 10 Dec 2015 00:38:30 +0000 (16:38 -0800)]
Add and use loaded class profiling

Class profiling is a way to keep track of which classes are resolved.
From here the compiler can use this information to generate a smaller
app image.

TODO: Add tests for profile stuff.

Bug: 22858531

(cherry picked from commit 8913fc1a27df8cf3b37fd99e94d87f290591328e)

Change-Id: Ifcd09230cbdc266305bc1247e0d31e7920eb353e

8 years agoMerge "Add and use loaded class profiling" into nyc-dev
Mathieu Chartier [Fri, 26 Feb 2016 21:07:19 +0000 (21:07 +0000)]
Merge "Add and use loaded class profiling" into nyc-dev

8 years agoMerge "ART: Add unstarted-runtime functions" into nyc-dev
Andreas Gampe [Fri, 26 Feb 2016 20:58:51 +0000 (20:58 +0000)]
Merge "ART: Add unstarted-runtime functions" into nyc-dev

8 years agoMerge "Assembly TLAB allocation fast path for arm." am: da11cef6fb
Hiroshi Yamauchi [Fri, 26 Feb 2016 20:06:57 +0000 (20:06 +0000)]
Merge "Assembly TLAB allocation fast path for arm." am: da11cef6fb
am: d41160a6e8

* commit 'd41160a6e8cb56c12f9fb351acddf54a581cadfa':
  Assembly TLAB allocation fast path for arm.

8 years agoMerge "Assembly TLAB allocation fast path for arm."
Hiroshi Yamauchi [Fri, 26 Feb 2016 20:05:13 +0000 (20:05 +0000)]
Merge "Assembly TLAB allocation fast path for arm."
am: da11cef6fb

* commit 'da11cef6fb6d8a9e08cb445576a50abff8773a25':
  Assembly TLAB allocation fast path for arm.

8 years agoMerge "Assembly TLAB allocation fast path for arm."
Hiroshi Yamauchi [Fri, 26 Feb 2016 20:03:27 +0000 (20:03 +0000)]
Merge "Assembly TLAB allocation fast path for arm."

8 years agoAdd and use loaded class profiling
Mathieu Chartier [Thu, 10 Dec 2015 00:38:30 +0000 (16:38 -0800)]
Add and use loaded class profiling

Class profiling is a way to keep track of which classes are resolved.
From here the compiler can use this information to generate a smaller
app image.

TODO: Add tests for profile stuff.

Bug: 22858531

Change-Id: I91ccd686394cc2517512f66abb0e277f3d26d4da

8 years agoAdd JNI tests for lambdas
Alex Light [Fri, 26 Feb 2016 19:14:48 +0000 (19:14 +0000)]
Add JNI tests for lambdas
am: 3a29a019a8

* commit '3a29a019a885087c10ad10413b299329945d5f32':
  Add JNI tests for lambdas

8 years agoAdd JNI tests for lambdas
Alex Light [Fri, 26 Feb 2016 00:13:54 +0000 (16:13 -0800)]
Add JNI tests for lambdas

(cherry picked from commit e9d2ca237620b0af28eed9fef52b09bddebdbc6f)

Bug: 27259142

Change-Id: I2a1b31db85dc487c1e6a62609d4497c3a4d4d3a6

8 years agoMerge "Add JNI tests for lambdas" am: 48a13431f0
Alex Light [Fri, 26 Feb 2016 19:05:46 +0000 (19:05 +0000)]
Merge "Add JNI tests for lambdas" am: 48a13431f0
am: 52d59cfc3b

* commit '52d59cfc3bda00666af1f1311d4f38f91c859867':
  Add JNI tests for lambdas

8 years agoMerge "Add JNI tests for lambdas"
Alex Light [Fri, 26 Feb 2016 19:04:10 +0000 (19:04 +0000)]
Merge "Add JNI tests for lambdas"
am: 48a13431f0

* commit '48a13431f09ff9bbdcd1ee991da6a04e694c5134':
  Add JNI tests for lambdas

8 years agoMerge "Add JNI tests for lambdas"
Alex Light [Fri, 26 Feb 2016 19:02:32 +0000 (19:02 +0000)]
Merge "Add JNI tests for lambdas"

8 years agoMerge "Implement fp to bits methods as intrinsics." am: 1bdfdb3e87
Aart Bik [Fri, 26 Feb 2016 18:32:11 +0000 (18:32 +0000)]
Merge "Implement fp to bits methods as intrinsics." am: 1bdfdb3e87
am: 24840c5a1b

* commit '24840c5a1b3c54cf5d613af8e137146e3d7084f4':
  Implement fp to bits methods as intrinsics.

8 years agoMerge "Implement fp to bits methods as intrinsics."
Aart Bik [Fri, 26 Feb 2016 18:30:07 +0000 (18:30 +0000)]
Merge "Implement fp to bits methods as intrinsics."
am: 1bdfdb3e87

* commit '1bdfdb3e879267dafb4b6811dd70cc8b7511fe15':
  Implement fp to bits methods as intrinsics.

8 years agoMerge "Implement fp to bits methods as intrinsics."
Aart Bik [Fri, 26 Feb 2016 18:27:29 +0000 (18:27 +0000)]
Merge "Implement fp to bits methods as intrinsics."

8 years agoAdd JNI tests for lambdas
Alex Light [Fri, 26 Feb 2016 00:13:54 +0000 (16:13 -0800)]
Add JNI tests for lambdas

Bug: 27259142

Change-Id: I2a1b31db85dc487c1e6a62609d4497c3a4d4d3a6

8 years agoMerge "Simplify LoadNativeLibrary()" into nyc-dev
Dimitry Ivanov [Fri, 26 Feb 2016 18:11:12 +0000 (18:11 +0000)]
Merge "Simplify LoadNativeLibrary()" into nyc-dev
am: 657f5f76a6

* commit '657f5f76a678e6fbcc68b8035ada5d8747fd910a':
  Simplify LoadNativeLibrary()

8 years agoMerge "Simplify LoadNativeLibrary()" into nyc-dev
Dimitry Ivanov [Fri, 26 Feb 2016 18:03:54 +0000 (18:03 +0000)]
Merge "Simplify LoadNativeLibrary()" into nyc-dev

8 years agoImplement fp to bits methods as intrinsics.
Aart Bik [Thu, 25 Feb 2016 19:32:32 +0000 (11:32 -0800)]
Implement fp to bits methods as intrinsics.

Rationale:
Better optimization, better performance.

Results on libcore benchmark:

Most gain is from moving the invariant call out of the loop
after we detect everything is a side-effect free intrinsic.
But generated code in general case is much cleaner too.

Before:
timeFloatToIntBits() in 181 ms.
timeFloatToRawIntBits() in 35 ms.
timeDoubleToLongBits() in 208 ms.
timeDoubleToRawLongBits() in 35 ms.

After:
timeFloatToIntBits() in 36 ms.
timeFloatToRawIntBits() in 35 ms.
timeDoubleToLongBits() in 35 ms.
timeDoubleToRawLongBits() in 34 ms.

bug=11548336

Change-Id: I6e001bd3708e800bd75a82b8950fb3a0fc01766e

8 years agoMerge "Optimizing: Reduce memory usage of HInstructions." am: 01c30e8dbc
Vladimir Marko [Fri, 26 Feb 2016 16:43:42 +0000 (16:43 +0000)]
Merge "Optimizing: Reduce memory usage of HInstructions." am: 01c30e8dbc
am: 8e4d8f4ee4

* commit '8e4d8f4ee4db435ec77f4a30c0ede66d3ce1ee81':
  Optimizing: Reduce memory usage of HInstructions.

8 years agoMerge "Optimizing: Reduce memory usage of HInstructions."
Vladimir Marko [Fri, 26 Feb 2016 16:41:49 +0000 (16:41 +0000)]
Merge "Optimizing: Reduce memory usage of HInstructions."
am: 01c30e8dbc

* commit '01c30e8dbc45bdc5d922cef6e5a404be7bed0e8c':
  Optimizing: Reduce memory usage of HInstructions.

8 years agoMerge "Optimizing: Reduce memory usage of HInstructions."
Vladimir Marko [Fri, 26 Feb 2016 16:39:57 +0000 (16:39 +0000)]
Merge "Optimizing: Reduce memory usage of HInstructions."

8 years agoOptimizing: Reduce memory usage of HInstructions.
Vladimir Marko [Thu, 25 Feb 2016 11:37:38 +0000 (11:37 +0000)]
Optimizing: Reduce memory usage of HInstructions.

Pack narrow fields and flags into a single 32-bit field.

Change-Id: Ib2f7abf987caee0339018d21f0d498f8db63542d

8 years agoMerge "Revert "Revert "ART: Support interpreter switching in x86 mterp""" am: af86c4e441
Bill Buzbee [Fri, 26 Feb 2016 14:34:00 +0000 (14:34 +0000)]
Merge "Revert "Revert "ART: Support interpreter switching in x86 mterp""" am: af86c4e441
am: e2c9340362

* commit 'e2c9340362f702a2c2c66c6fbcd57463a97da317':
  Revert "Revert "ART: Support interpreter switching in x86 mterp""

8 years agoMerge "Optimizing: Add ARM and ARM64 intrinsics support for StringGetCharsNoCheck...
Tim Zhang [Fri, 26 Feb 2016 14:33:50 +0000 (14:33 +0000)]
Merge "Optimizing: Add ARM and ARM64 intrinsics support for StringGetCharsNoCheck" am: 8744d24d5b
am: 8fb4e3cef3

* commit '8fb4e3cef34309c9a24892c7974bcae8f5784d18':
  Optimizing: Add ARM and ARM64 intrinsics support for StringGetCharsNoCheck

8 years agoMerge "Revert "Revert "ART: Support interpreter switching in x86 mterp"""
Bill Buzbee [Fri, 26 Feb 2016 14:17:20 +0000 (14:17 +0000)]
Merge "Revert "Revert "ART: Support interpreter switching in x86 mterp"""
am: af86c4e441

* commit 'af86c4e44184bd17411de330d48aad7784d569d4':
  Revert "Revert "ART: Support interpreter switching in x86 mterp""

8 years agoMerge "Optimizing: Add ARM and ARM64 intrinsics support for StringGetCharsNoCheck"
Tim Zhang [Fri, 26 Feb 2016 14:17:09 +0000 (14:17 +0000)]
Merge "Optimizing: Add ARM and ARM64 intrinsics support for StringGetCharsNoCheck"
am: 8744d24d5b

* commit '8744d24d5b3ae63e2d822b30aaa12845c94d8076':
  Optimizing: Add ARM and ARM64 intrinsics support for StringGetCharsNoCheck

8 years agoMerge "Revert "Revert "ART: Support interpreter switching in x86 mterp"""
Bill Buzbee [Fri, 26 Feb 2016 14:10:54 +0000 (14:10 +0000)]
Merge "Revert "Revert "ART: Support interpreter switching in x86 mterp"""

8 years agoMerge "Optimizing: Add ARM and ARM64 intrinsics support for StringGetCharsNoCheck"
Nicolas Geoffray [Fri, 26 Feb 2016 13:43:56 +0000 (13:43 +0000)]
Merge "Optimizing: Add ARM and ARM64 intrinsics support for StringGetCharsNoCheck"

8 years agoMerge "Revert "Preload public libraries on Runtime::Start()"" into nyc-dev
Nicolas Geoffray [Fri, 26 Feb 2016 10:05:22 +0000 (10:05 +0000)]
Merge "Revert "Preload public libraries on Runtime::Start()"" into nyc-dev
am: 59d165e61c

* commit '59d165e61c3255929f54b12f6fa239c52dd166cf':
  Revert "Preload public libraries on Runtime::Start()"

8 years agoMerge "Revert "Preload public libraries on Runtime::Start()"" into nyc-dev
Nicolas Geoffray [Fri, 26 Feb 2016 10:02:05 +0000 (10:02 +0000)]
Merge "Revert "Preload public libraries on Runtime::Start()"" into nyc-dev

8 years agoDisable test 097-duplicate-method for investigation
Sebastien Hertz [Fri, 26 Feb 2016 09:37:18 +0000 (09:37 +0000)]
Disable test 097-duplicate-method for investigation
am: 1d8bc19e0f

* commit '1d8bc19e0f83b249d4fb38b12075722b515a6541':
  Disable test 097-duplicate-method for investigation

8 years agoDisable test 097-duplicate-method for investigation
Sebastien Hertz [Thu, 25 Feb 2016 17:50:23 +0000 (18:50 +0100)]
Disable test 097-duplicate-method for investigation

Broekn by latest Jack release (1.2-a19)

Bug: 27358065

(cherry picked from commit fc07555f6b8ce07b2c0897c6919597b53faa419d)

Change-Id: I13946fcd6cdf61645a4a60e619b343da8d9be341

8 years agoMerge "Revert "Fast ART x86_64 interpretator"" am: 15315abf91
Nicolas Geoffray [Fri, 26 Feb 2016 09:00:58 +0000 (09:00 +0000)]
Merge "Revert "Fast ART x86_64 interpretator"" am: 15315abf91
am: a63079e813

* commit 'a63079e813cb59d9272702f7b64dbb2c879f8523':
  Revert "Fast ART x86_64 interpretator"

8 years agoMerge "Revert "Fast ART x86_64 interpretator""
Nicolas Geoffray [Fri, 26 Feb 2016 08:59:33 +0000 (08:59 +0000)]
Merge "Revert "Fast ART x86_64 interpretator""
am: 15315abf91

* commit '15315abf91c94a4ebb0a64050f2753798b34bc1f':
  Revert "Fast ART x86_64 interpretator"

8 years agoMerge "Revert "Fast ART x86_64 interpretator""
Nicolas Geoffray [Fri, 26 Feb 2016 08:57:18 +0000 (08:57 +0000)]
Merge "Revert "Fast ART x86_64 interpretator""

8 years agoRevert "Fast ART x86_64 interpretator"
Nicolas Geoffray [Fri, 26 Feb 2016 08:56:45 +0000 (08:56 +0000)]
Revert "Fast ART x86_64 interpretator"

Fails gcstress configuration.

This reverts commit c669beb798e273dd3d44cfa6a7a95ff90eba7209.

Change-Id: Ifac92471f91a116fc271d0dde8356fbbb0a08048

8 years agoRevert "Preload public libraries on Runtime::Start()"
Nicolas Geoffray [Fri, 26 Feb 2016 08:48:04 +0000 (08:48 +0000)]
Revert "Preload public libraries on Runtime::Start()"

Loading is done in app_process.

Bug: http://b/27245894

This reverts commit 7bca74e53d3665bcd243d4e0277f6561c0c80271.

Change-Id: Ie2edbe88dea867fcd5cca109d279f1c19e4df6bb

8 years agoART: Add unstarted-runtime functions
Andreas Gampe [Mon, 22 Feb 2016 18:03:12 +0000 (10:03 -0800)]
ART: Add unstarted-runtime functions

Add more functions to allow compile-time initialization of
code.

Bug: 27248115
Change-Id: Iaf8d92deb73547ccd31c0d6dde68da3bc14c3985

8 years agoOptimizing: Add ARM and ARM64 intrinsics support for StringGetCharsNoCheck
Tim Zhang [Tue, 19 Jan 2016 15:39:24 +0000 (23:39 +0800)]
Optimizing: Add ARM and ARM64 intrinsics support for StringGetCharsNoCheck

This change refers to x86 implementation of StringGetCharsNoCheck and
arm implementation of SystemArrayCopy.

Change-Id: I1cb86854a2a8fa8736af7726b8efacd00d416f6f

8 years agoAdd lz4hc image compression format
Mathieu Chartier [Fri, 26 Feb 2016 01:11:33 +0000 (01:11 +0000)]
Add lz4hc image compression format
am: 167e638ffd

* commit '167e638ffd46186ef4fa26d1c0b6c7e00ed51ccb':
  Add lz4hc image compression format

8 years agoAdd a decompression scoped timing for image loading
Mathieu Chartier [Fri, 26 Feb 2016 01:11:11 +0000 (01:11 +0000)]
Add a decompression scoped timing for image loading
am: 1c3fa8891a  -s ours

* commit '1c3fa8891a95003f305a77d45838cb7c5040290f':
  Add a decompression scoped timing for image loading

8 years agoMerge "Add lz4hc image compression format" am: 3140ed5966
Mathieu Chartier [Fri, 26 Feb 2016 00:48:03 +0000 (00:48 +0000)]
Merge "Add lz4hc image compression format" am: 3140ed5966
am: 2699149c97

* commit '2699149c97b01b735697600b536daf05e3cc1e3f':
  Add lz4hc image compression format

8 years agoMerge "Add lz4hc image compression format"
Mathieu Chartier [Fri, 26 Feb 2016 00:46:23 +0000 (00:46 +0000)]
Merge "Add lz4hc image compression format"
am: 3140ed5966

* commit '3140ed59665d2ecea1e3ff153363ff26dab48b75':
  Add lz4hc image compression format

8 years agoMerge "Add lz4hc image compression format"
Mathieu Chartier [Fri, 26 Feb 2016 00:44:06 +0000 (00:44 +0000)]
Merge "Add lz4hc image compression format"

8 years agoAdd lz4hc image compression format
Mathieu Chartier [Thu, 25 Feb 2016 21:52:10 +0000 (13:52 -0800)]
Add lz4hc image compression format

Smaller than lz4 and decompresses at the same speed. Compression is
a bit slower.

Example saves on old FB APK:
Uncompressed: 44748800 bytes
LZ4: 12443648 bytes
LZ4HC: 11055104 bytes

Generating the image slows down by ~1s per 20MB of image due to
slower compression. Decompression is about the same speed but there
should be a slight speedup since less data needs to be read from
flash.

Added test.

Bug: 22858531

(cherry picked from commit a6e81ed4c185b7362cd5199ebe5507d00883a9b0)

Change-Id: Idd0bbe1ea45fc6ab75a42bfeb0ef250e8b3e2f1b

8 years agoAdd a decompression scoped timing for image loading
Mathieu Chartier [Thu, 25 Feb 2016 20:28:40 +0000 (12:28 -0800)]
Add a decompression scoped timing for image loading

Shows up in systrace.

Bug: 22858531

(cherry picked from commit 31317c319667cf1d7d0f61229ccb5e76f22606cf)

Change-Id: Id4997fb9abc28fa8c1dd1e78ff01234637b229d3

8 years agoMerge "Fast ART x86_64 interpretator" am: 36be5c503c
Serguei Katkov [Thu, 25 Feb 2016 23:21:12 +0000 (23:21 +0000)]
Merge "Fast ART x86_64 interpretator" am: 36be5c503c
am: 2a5065d438

* commit '2a5065d438a556557908ae84f225c69fc405b92c':
  Fast ART x86_64 interpretator

8 years agoMerge "Fast ART x86_64 interpretator"
Serguei Katkov [Thu, 25 Feb 2016 23:19:31 +0000 (23:19 +0000)]
Merge "Fast ART x86_64 interpretator"
am: 36be5c503c

* commit '36be5c503c21f4dbd1998f0c0b72e00e6cedd8fa':
  Fast ART x86_64 interpretator

8 years agoMerge "Fast ART x86_64 interpretator"
Bill Buzbee [Thu, 25 Feb 2016 23:18:19 +0000 (23:18 +0000)]
Merge "Fast ART x86_64 interpretator"

8 years agoAdd lz4hc image compression format
Mathieu Chartier [Thu, 25 Feb 2016 21:52:10 +0000 (13:52 -0800)]
Add lz4hc image compression format

Smaller than lz4 and decompresses at the same speed. Compression is
a bit slower.

Example saves on old FB APK:
Uncompressed: 44748800 bytes
LZ4: 12443648 bytes
LZ4HC: 11055104 bytes

Generating the image slows down by ~1s per 20MB of image due to
slower compression. Decompression is about the same speed but there
should be a slight speedup since less data needs to be read from
flash.

Added test.

Bug: 22858531

Change-Id: Ib2704305b9bec5b0ba3b1e871f59f4eedff330b7

8 years agoAssembly TLAB allocation fast path for arm.
Hiroshi Yamauchi [Fri, 11 Dec 2015 23:46:19 +0000 (15:46 -0800)]
Assembly TLAB allocation fast path for arm.

Speedup (GSS GC with TLAB on N5):
    BinaryTrees:  1872 ->  796 ms (-57%)
    MemAllocTest: 2522 -> 2219 ms (-12%)

Bug: 9986565
Change-Id: Icb9d1259461f3abe83a4a82c8aff911937eaf57d

8 years agoMerge "Add a decompression scoped timing for image loading" am: eea36cb923
Mathieu Chartier [Thu, 25 Feb 2016 21:58:03 +0000 (21:58 +0000)]
Merge "Add a decompression scoped timing for image loading" am: eea36cb923
am: 688389dd56

* commit '688389dd56b1e8dd9e73f43cb8b6c8ce2164134d':
  Add a decompression scoped timing for image loading

8 years agoMerge "Add a decompression scoped timing for image loading"
Mathieu Chartier [Thu, 25 Feb 2016 21:56:27 +0000 (21:56 +0000)]
Merge "Add a decompression scoped timing for image loading"
am: eea36cb923

* commit 'eea36cb923b078b86c7b5033ce75fe1b8ea4e522':
  Add a decompression scoped timing for image loading

8 years agoMerge "Add a decompression scoped timing for image loading"
Mathieu Chartier [Thu, 25 Feb 2016 21:55:13 +0000 (21:55 +0000)]
Merge "Add a decompression scoped timing for image loading"

8 years agoMerge "AOT compile framework code as non-debuggable" am: 9ed87a8f69
Mingyao Yang [Thu, 25 Feb 2016 20:58:45 +0000 (20:58 +0000)]
Merge "AOT compile framework code as non-debuggable" am: 9ed87a8f69
am: a59413b12b

* commit 'a59413b12b39be8e4d0f79fa5f84efb84f91ac88':
  AOT compile framework code as non-debuggable

8 years agoMerge "AOT compile framework code as non-debuggable"
Mingyao Yang [Thu, 25 Feb 2016 20:57:07 +0000 (20:57 +0000)]
Merge "AOT compile framework code as non-debuggable"
am: 9ed87a8f69

* commit '9ed87a8f69c3a8fbd47950ccc02a95c223bae5af':
  AOT compile framework code as non-debuggable

8 years agoMerge "AOT compile framework code as non-debuggable"
Mingyao Yang [Thu, 25 Feb 2016 20:55:22 +0000 (20:55 +0000)]
Merge "AOT compile framework code as non-debuggable"

8 years agoAdd a decompression scoped timing for image loading
Mathieu Chartier [Thu, 25 Feb 2016 20:28:40 +0000 (12:28 -0800)]
Add a decompression scoped timing for image loading

Shows up in systrace.

Bug: 22858531
Change-Id: Ic165cd0106dd019c002b600d37560b71b4e351d1

8 years agoMerge "Add StrictMath.round tests for large integers." am: 6d174eebe7
Vladimir Marko [Thu, 25 Feb 2016 20:31:04 +0000 (20:31 +0000)]
Merge "Add StrictMath.round tests for large integers." am: 6d174eebe7
am: 7caeddbc4f

* commit '7caeddbc4fa1a6929693e1b2578dbefe260b6d5a':
  Add StrictMath.round tests for large integers.

8 years agoMerge "Add StrictMath.round tests for large integers."
Vladimir Marko [Thu, 25 Feb 2016 20:28:58 +0000 (20:28 +0000)]
Merge "Add StrictMath.round tests for large integers."
am: 6d174eebe7

* commit '6d174eebe711d52d59df04890375d3f67bc5682e':
  Add StrictMath.round tests for large integers.

8 years agoMerge "Add StrictMath.round tests for large integers."
Vladimir Marko [Thu, 25 Feb 2016 20:26:31 +0000 (20:26 +0000)]
Merge "Add StrictMath.round tests for large integers."

8 years agoMerge "Recognize for (int i = 0; i != x.length; i++) loops" am: 9ec486cc08
Aart Bik [Thu, 25 Feb 2016 18:51:26 +0000 (18:51 +0000)]
Merge "Recognize for (int i = 0; i != x.length; i++) loops" am: 9ec486cc08
am: a66fbf38f5

* commit 'a66fbf38f5d2705fc3a2b632132dd5e02447a997':
  Recognize for (int i = 0; i != x.length; i++) loops

8 years agoMerge "Recognize for (int i = 0; i != x.length; i++) loops"
Aart Bik [Thu, 25 Feb 2016 18:49:54 +0000 (18:49 +0000)]
Merge "Recognize for (int i = 0; i != x.length; i++) loops"
am: 9ec486cc08

* commit '9ec486cc08ad658eee33f9bde405b97502562840':
  Recognize for (int i = 0; i != x.length; i++) loops

8 years agoMerge "Recognize for (int i = 0; i != x.length; i++) loops"
Aart Bik [Thu, 25 Feb 2016 18:48:50 +0000 (18:48 +0000)]
Merge "Recognize for (int i = 0; i != x.length; i++) loops"

8 years agoRevert "Revert "ART: Support interpreter switching in x86 mterp""
Bill Buzbee [Thu, 25 Feb 2016 17:37:46 +0000 (17:37 +0000)]
Revert "Revert "ART: Support interpreter switching in x86 mterp""

Fixes the invoke template.  Previously, it was permitting
an interpreter switch *before* advancing the Dalvik PC.
This meant that on a switch, the invoke would be interpreted
twice.

This reverts commit a14bf4460268064e0adc4bb210d237209be33eaf.

Change-Id: I285d19077c8dd58ce607a4c42ed20549942fab45

8 years agoMerge "Disable test 097-duplicate-method for investigation" am: 03550b6cdc
Sebastien Hertz [Thu, 25 Feb 2016 18:41:27 +0000 (18:41 +0000)]
Merge "Disable test 097-duplicate-method for investigation" am: 03550b6cdc
am: b1eb56a10a

* commit 'b1eb56a10a63010d0e2732963cc83b2b3e3c44c0':
  Disable test 097-duplicate-method for investigation

8 years agoMerge "Disable test 097-duplicate-method for investigation"
Sebastien Hertz [Thu, 25 Feb 2016 18:39:31 +0000 (18:39 +0000)]
Merge "Disable test 097-duplicate-method for investigation"
am: 03550b6cdc

* commit '03550b6cdc9366d872e4e6ac5a9f6615f7a14e2c':
  Disable test 097-duplicate-method for investigation

8 years agoMerge "Disable test 097-duplicate-method for investigation"
Sebastien Hertz [Thu, 25 Feb 2016 18:36:09 +0000 (18:36 +0000)]
Merge "Disable test 097-duplicate-method for investigation"

8 years agoDisable test 097-duplicate-method for investigation
Sebastien Hertz [Thu, 25 Feb 2016 17:50:23 +0000 (18:50 +0100)]
Disable test 097-duplicate-method for investigation

Broekn by latest Jack release (1.2-a19)

Bug: 27358065
Change-Id: Ifd66522bde4c5b93435c6d9ab11ebb407f842df6

8 years agoAdd StrictMath.round tests for large integers.
Vladimir Marko [Thu, 25 Feb 2016 17:50:41 +0000 (17:50 +0000)]
Add StrictMath.round tests for large integers.

This is a follow-up to
    https://android-review.googlesource.com/203175 .

Bug: 27166445
Change-Id: I850999c782017650017fad7e27c83b60b57edaf9

8 years agoMerge "Make sure constantIndexing2 is optimized with DEOPT." am: 9ca7d203f2
Aart Bik [Thu, 25 Feb 2016 17:47:32 +0000 (17:47 +0000)]
Merge "Make sure constantIndexing2 is optimized with DEOPT." am: 9ca7d203f2
am: 2c3f75da38

* commit '2c3f75da380e05b18e8af2d8c954335ca9964b48':
  Make sure constantIndexing2 is optimized with DEOPT.

8 years agoMerge "Make sure constantIndexing2 is optimized with DEOPT."
Aart Bik [Thu, 25 Feb 2016 17:42:41 +0000 (17:42 +0000)]
Merge "Make sure constantIndexing2 is optimized with DEOPT."
am: 9ca7d203f2

* commit '9ca7d203f2452366c50ce4cdff60b412f8c35710':
  Make sure constantIndexing2 is optimized with DEOPT.

8 years agoSupport new JDWP InterfaceType.InvokeMethod command
Alex Light [Thu, 25 Feb 2016 00:35:59 +0000 (16:35 -0800)]
Support new JDWP InterfaceType.InvokeMethod command

This command is used to invoke static methods in interfaces.

Bug: 27218415

Change-Id: Ie4dc1876a20567240267f309dc18f1aec2c1b4c2

8 years agoMerge "Make sure constantIndexing2 is optimized with DEOPT."
Aart Bik [Thu, 25 Feb 2016 17:38:08 +0000 (17:38 +0000)]
Merge "Make sure constantIndexing2 is optimized with DEOPT."

8 years agoRecognize for (int i = 0; i != x.length; i++) loops
Aart Bik [Wed, 24 Feb 2016 22:17:53 +0000 (14:17 -0800)]
Recognize for (int i = 0; i != x.length; i++) loops

Rationale:
Idiom occurs in real-life and is very straightforwardly
recognized by existing induction/range machinery.

Change-Id: I965a16e9de72f3523ea5023d30ed1c4e47ed5010

8 years agoMerge "Dump the number of OSR compiled code." am: 6d17995db0
Nicolas Geoffray [Thu, 25 Feb 2016 16:59:41 +0000 (16:59 +0000)]
Merge "Dump the number of OSR compiled code." am: 6d17995db0
am: 67bd7c6a0b

* commit '67bd7c6a0b44f1e2f3d884f2f53ba65bec6c39f3':
  Dump the number of OSR compiled code.

8 years agoMerge "Optimizing: ARM64 negated bitwise operations simplification" am: 87265b4af8
Roland Levillain [Thu, 25 Feb 2016 16:58:21 +0000 (16:58 +0000)]
Merge "Optimizing: ARM64 negated bitwise operations simplification" am: 87265b4af8
am: 3f30ffc612

* commit '3f30ffc612d7b18c50ec5778119946c81cc5ebbe':
  Optimizing: ARM64 negated bitwise operations simplification

8 years agoMerge "Dump the number of OSR compiled code."
Nicolas Geoffray [Thu, 25 Feb 2016 16:50:40 +0000 (16:50 +0000)]
Merge "Dump the number of OSR compiled code."
am: 6d17995db0

* commit '6d17995db00460fbb4519adc7496897dbfad373e':
  Dump the number of OSR compiled code.

8 years agoMerge "Dump the number of OSR compiled code."
Nicolas Geoffray [Thu, 25 Feb 2016 16:46:48 +0000 (16:46 +0000)]
Merge "Dump the number of OSR compiled code."

8 years agoMerge "Optimizing: ARM64 negated bitwise operations simplification"
Roland Levillain [Thu, 25 Feb 2016 16:40:35 +0000 (16:40 +0000)]
Merge "Optimizing: ARM64 negated bitwise operations simplification"
am: 87265b4af8

* commit '87265b4af8cdc7258a8f90360cca9fc655548ac5':
  Optimizing: ARM64 negated bitwise operations simplification

8 years agoMerge "Optimizing: ARM64 negated bitwise operations simplification"
Roland Levillain [Thu, 25 Feb 2016 16:36:21 +0000 (16:36 +0000)]
Merge "Optimizing: ARM64 negated bitwise operations simplification"

8 years agoOptimizing: ARM64 negated bitwise operations simplification
Kevin Brodsky [Mon, 11 Jan 2016 13:43:31 +0000 (13:43 +0000)]
Optimizing: ARM64 negated bitwise operations simplification

Use negated instructions on ARM64 to replace [bitwise operation + not]
patterns, that is:
a & ~b (BIC)
a | ~b (ORN)
a ^ ~b (EON)

The simplification only happens if the Not is only used by the bitwise
operation. It does not happen if both inputs are Not's (this should be
handled by a generic simplification applying De Morgan's laws).

Change-Id: I0e112b23fd8b8e10f09bfeff5994508a8ff96e9c

8 years agoMerge "ART: Profile all branches for on-stack replacement" am: 950d063395
Bill Buzbee [Thu, 25 Feb 2016 16:01:02 +0000 (16:01 +0000)]
Merge "ART: Profile all branches for on-stack replacement" am: 950d063395
am: e9c4c72ca5

* commit 'e9c4c72ca568bb6dc26c5ae7e28bbb452a115e3b':
  ART: Profile all branches for on-stack replacement

8 years agoMerge "ART: Profile all branches for on-stack replacement"
Bill Buzbee [Thu, 25 Feb 2016 15:57:05 +0000 (15:57 +0000)]
Merge "ART: Profile all branches for on-stack replacement"
am: 950d063395

* commit '950d063395c7cecbbe372fd607468018d661a35c':
  ART: Profile all branches for on-stack replacement

8 years agoMerge "ART: Profile all branches for on-stack replacement"
Bill Buzbee [Thu, 25 Feb 2016 15:54:27 +0000 (15:54 +0000)]
Merge "ART: Profile all branches for on-stack replacement"

8 years agoMerge "Verify encoded stack maps in debug builds." am: ebd486978e
David Srbecky [Thu, 25 Feb 2016 15:52:30 +0000 (15:52 +0000)]
Merge "Verify encoded stack maps in debug builds." am: ebd486978e
am: 33012fdb16

* commit '33012fdb169dbe4b12d5982b2cc0b02089428fe9':
  Verify encoded stack maps in debug builds.

8 years agoMerge "Verify encoded stack maps in debug builds."
David Srbecky [Thu, 25 Feb 2016 15:48:18 +0000 (15:48 +0000)]
Merge "Verify encoded stack maps in debug builds."
am: ebd486978e

* commit 'ebd486978e005c994aac3aff90b0a4e0927f1b0a':
  Verify encoded stack maps in debug builds.