OSDN Git Service

android-x86/art.git
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 "Preload public libraries on Runtime::Start()" into nyc-dev
Dimitry Ivanov [Thu, 25 Feb 2016 00:39:57 +0000 (00:39 +0000)]
Merge "Preload public libraries on Runtime::Start()" into nyc-dev

8 years agoPreload public libraries on Runtime::Start()
Dimitry Ivanov [Mon, 22 Feb 2016 22:26:48 +0000 (14:26 -0800)]
Preload public libraries on Runtime::Start()

Preloading public libraries on Runtime::Start()
instead of doing it in native_loader c-tor
ensures that the libraries are loaded only for
binaries that are using Android Runtime, and not
just linking against libandroid_runtime or libart.

Loading public libraries on Runtime::Start()
also helps some apps to save startup time and space
by ensuring that all NDK libraries are loaded
and ready to use.

Bug: http://b/27245894
Change-Id: I15679a72450f3d18a7dd503d0ae977cebcfd7f52

8 years agoAdd MapAnonymous handling for null error_str
Mathieu Chartier [Wed, 24 Feb 2016 18:09:23 +0000 (10:09 -0800)]
Add MapAnonymous handling for null error_str

We use MapAnonymous with null error_str for app image loading when
we want to fail quickly. Also avoid doing CheckNonOverlapping in
CheckMapRequest if error_msg is null. The result from
CheckNonOverlapping is unused and CheckNonOverlapping is slow since
it creates a backtrace map.

Bug: 22858531
Bug: 26746779

(cherry picked from commit 83723aedac536fd8a3cd6e1662dbd6260e576194)

Change-Id: I0ff03a778b36303aa1e256fe7238dece5b3bbfab

8 years agoFix profman path for the gtest.
Calin Juravle [Tue, 23 Feb 2016 16:53:30 +0000 (16:53 +0000)]
Fix profman path for the gtest.

(cherry picked from commit de4fb63be26cd561111cad4574cac5e0c2314d11)

Change-Id: If710aaf047b6f557abd0cebfe9169c58fcb248a6

8 years agoRevert "Revert "Add profman tool: responsible to process profiles""
Calin Juravle [Tue, 23 Feb 2016 12:00:03 +0000 (12:00 +0000)]
Revert "Revert "Add profman tool: responsible to process profiles""

This reverts commit 3da74687e42de7d33a8e75df9bd64374e650f75e.

(cherry picked from commit 2e2db786b8fbaa4dceb37603a4296b0b2aea4e9e)

Change-Id: I38086cc9de939bad33bcd13b1677e1626af61c29

8 years agoMake JNI work correctly with default methods.
Alex Light [Mon, 22 Feb 2016 21:43:29 +0000 (13:43 -0800)]
Make JNI work correctly with default methods.

Also adds some tests for JNI and DefaultMethods.

Bug: 27259142
Bug: 24618811

(cherry picked from commit 3612149aee482ab7a17da68b0ef5fef3879729a2)

Change-Id: I31222e3e41059d803be1dbb0f40e1144ac4bf457

8 years agoimage: Allow methods with code in another oat file to work correctly
Igor Murashkin [Sat, 20 Feb 2016 00:41:44 +0000 (16:41 -0800)]
image: Allow methods with code in another oat file to work correctly

This fixes an issue when classes with default methods are in the boot
image and are used by an app image.

Bug: 27315287
Change-Id: Iaa66848fc07a0c779bc6e047bd154e2a4b87e1c8

8 years agoDon't allocate mspaces of less than a page.
Nicolas Geoffray [Tue, 23 Feb 2016 13:52:01 +0000 (13:52 +0000)]
Don't allocate mspaces of less than a page.

Fixes jit tests in debug mode.

bug:26846185

(cherry picked from commit 7ca4b77c98ffdf7a4db26fd9f84b2cfcc274c4aa)

Change-Id: I73d357ee47f532c3d7ae65ddacbd5c88170dfe1d

8 years agoMerge remote-tracking branch 'goog/master' into nyc-dev
Nicolas Geoffray [Tue, 23 Feb 2016 11:12:17 +0000 (11:12 +0000)]
Merge remote-tracking branch 'goog/master' into nyc-dev

bug:27173201
bug:23128949
bug:26846185
Change-Id: I7333734be71a83dc4808735ead80ae3a4dcd841d

8 years agoMerge "Dex-wide ArenaPool scoping for AOT compilation" am: e4c77b4d37
Vladimir Marko [Tue, 23 Feb 2016 10:57:44 +0000 (10:57 +0000)]
Merge "Dex-wide ArenaPool scoping for AOT compilation" am: e4c77b4d37
am: c4199dff25

* commit 'c4199dff25d960878bde79bcc2ee676b080955c1':
  Dex-wide ArenaPool scoping for AOT compilation

8 years agoMerge "Add a new kReservedCapacity to decide when to start GC code." am: 08e992e41e
Nicolas Geoffray [Tue, 23 Feb 2016 10:57:27 +0000 (10:57 +0000)]
Merge "Add a new kReservedCapacity to decide when to start GC code." am: 08e992e41e
am: 075bf626e8

* commit '075bf626e80a7ad6858d734cb88bcbe293caa33d':
  Add a new kReservedCapacity to decide when to start GC code.

8 years agoMerge "Dex-wide ArenaPool scoping for AOT compilation"
Vladimir Marko [Tue, 23 Feb 2016 10:54:41 +0000 (10:54 +0000)]
Merge "Dex-wide ArenaPool scoping for AOT compilation"
am: e4c77b4d37

* commit 'e4c77b4d37024c1ed74e72494e69605942fead61':
  Dex-wide ArenaPool scoping for AOT compilation

8 years agoMerge "Add a new kReservedCapacity to decide when to start GC code."
Nicolas Geoffray [Tue, 23 Feb 2016 10:54:32 +0000 (10:54 +0000)]
Merge "Add a new kReservedCapacity to decide when to start GC code."
am: 08e992e41e

* commit '08e992e41e5e234ecc6b38a4ab53d4876fd077b6':
  Add a new kReservedCapacity to decide when to start GC code.

8 years agoMerge "Dex-wide ArenaPool scoping for AOT compilation"
Vladimir Marko [Tue, 23 Feb 2016 10:52:23 +0000 (10:52 +0000)]
Merge "Dex-wide ArenaPool scoping for AOT compilation"

8 years agoMerge "Add a new kReservedCapacity to decide when to start GC code."
Nicolas Geoffray [Tue, 23 Feb 2016 10:52:11 +0000 (10:52 +0000)]
Merge "Add a new kReservedCapacity to decide when to start GC code."

8 years agoMerge "Fix static dex2oat build" am: 4764d4e253
Calin Juravle [Tue, 23 Feb 2016 10:45:40 +0000 (10:45 +0000)]
Merge "Fix static dex2oat  build" am: 4764d4e253
am: f006a4bc9d

* commit 'f006a4bc9d112af0f90bf09d194da2bf681af806':
  Fix static dex2oat  build

8 years agoMerge "Fix static dex2oat build"
Calin Juravle [Tue, 23 Feb 2016 10:42:41 +0000 (10:42 +0000)]
Merge "Fix static dex2oat  build"
am: 4764d4e253

* commit '4764d4e253aaea1595bbe1f5aaa8677ea9319b79':
  Fix static dex2oat  build

8 years agoMerge "Fix static dex2oat build"
Calin Juravle [Tue, 23 Feb 2016 10:41:25 +0000 (10:41 +0000)]
Merge "Fix static dex2oat  build"

8 years agoMerge "Build jdwp tests with Jack in vogar" into nyc-dev
Sebastien Hertz [Tue, 23 Feb 2016 08:51:55 +0000 (08:51 +0000)]
Merge "Build jdwp tests with Jack in vogar" into nyc-dev
am: b7555a478a

* commit 'b7555a478a1d2b16ad2093c8499449bfd3bf9bc8':
  Build jdwp tests with Jack in vogar

8 years agoMerge "Build jdwp tests with Jack in vogar" into nyc-dev
Sebastien Hertz [Tue, 23 Feb 2016 08:49:07 +0000 (08:49 +0000)]
Merge "Build jdwp tests with Jack in vogar" into nyc-dev

8 years agoMerge "Revert "Force Jack to consider multidex annotations"" am: 920e1230d6
Delphine Martin [Tue, 23 Feb 2016 08:43:09 +0000 (08:43 +0000)]
Merge "Revert "Force Jack to consider multidex annotations"" am: 920e1230d6
am: 16d7cbbd42

* commit '16d7cbbd42c6690592b4dda7823f2693b7829dba':
  Revert "Force Jack to consider multidex annotations"

8 years agoMerge "Revert "Force Jack to consider multidex annotations""
Delphine Martin [Tue, 23 Feb 2016 08:32:52 +0000 (08:32 +0000)]
Merge "Revert "Force Jack to consider multidex annotations""
am: 920e1230d6

* commit '920e1230d617ec1194dc22cab3ec9d704e1b30dc':
  Revert "Force Jack to consider multidex annotations"

8 years agoBuild jdwp tests with Jack in vogar
Sebastien Hertz [Wed, 17 Feb 2016 16:05:52 +0000 (17:05 +0100)]
Build jdwp tests with Jack in vogar

These tests are compiled with Jack in the CTS so we do the same
with vogar now.

Bug: 27218415

(cherry picked from commit 6705dabdb9a882cc7829abed41e0bb3196fc829c)

Change-Id: Idccaef9e2ee2434f6ad2568286504063b0fe5268

8 years agoMerge "Revert "Force Jack to consider multidex annotations""
Delphine Martin [Tue, 23 Feb 2016 08:19:30 +0000 (08:19 +0000)]
Merge "Revert "Force Jack to consider multidex annotations""

8 years agoMerge "Add regression test for alloc stack trace and unloading" am: 6a5c5b8f17
Mathieu Chartier [Tue, 23 Feb 2016 01:37:46 +0000 (01:37 +0000)]
Merge "Add regression test for alloc stack trace and unloading" am: 6a5c5b8f17
am: d1060f4d5b

* commit 'd1060f4d5b4e104260777f145f1083ee747a5957':
  Add regression test for alloc stack trace and unloading

8 years agoAdd regression test for alloc stack trace and unloading
Mathieu Chartier [Tue, 23 Feb 2016 01:32:53 +0000 (01:32 +0000)]
Add regression test for alloc stack trace and unloading
am: dcfb382456

* commit 'dcfb3824562a5d75c8080686211584b1b40002b5':
  Add regression test for alloc stack trace and unloading

8 years agoMerge "Add regression test for alloc stack trace and unloading"
Mathieu Chartier [Tue, 23 Feb 2016 01:30:53 +0000 (01:30 +0000)]
Merge "Add regression test for alloc stack trace and unloading"
am: 6a5c5b8f17

* commit '6a5c5b8f1738404bebc5f880e6cc0967cbb687e1':
  Add regression test for alloc stack trace and unloading

8 years agoAdd regression test for alloc stack trace and unloading
Mathieu Chartier [Tue, 23 Feb 2016 00:56:54 +0000 (16:56 -0800)]
Add regression test for alloc stack trace and unloading

Test creates allocations in a different loader, then unloads it.
This would free the ArtMethod except that we now visit them as
roots.

Bug: 26849503

(cherry picked from commit 8a7ef10d10ac1509b79d315fe865bd3c4731262b)

Change-Id: If63e26b49380e7b99244ee25e70e729a1736344a

8 years agoMerge "Add regression test for alloc stack trace and unloading"
Mathieu Chartier [Tue, 23 Feb 2016 01:21:13 +0000 (01:21 +0000)]
Merge "Add regression test for alloc stack trace and unloading"

8 years agoAdd regression test for alloc stack trace and unloading
Mathieu Chartier [Tue, 23 Feb 2016 00:56:54 +0000 (16:56 -0800)]
Add regression test for alloc stack trace and unloading

Test creates allocations in a different loader, then unloads it.
This would free the ArtMethod except that we now visit them as
roots.

Bug: 26849503
Change-Id: Ied9f5942ff9022b1cd39052363f119a630ffbaef

8 years agoMerge "Visit stack trace roots" am: 5039728b6c
Mathieu Chartier [Tue, 23 Feb 2016 00:41:09 +0000 (00:41 +0000)]
Merge "Visit stack trace roots" am: 5039728b6c
am: 9e75d48fb0

* commit '9e75d48fb0563adffa72a0d54146e6343366fd07':
  Visit stack trace roots

8 years agoVisit stack trace roots
Mathieu Chartier [Tue, 23 Feb 2016 00:34:22 +0000 (00:34 +0000)]
Visit stack trace roots
am: ac5fb70796

* commit 'ac5fb70796f7fbf210e664992b052c05438939eb':
  Visit stack trace roots

8 years agoMerge "Visit stack trace roots"
Mathieu Chartier [Tue, 23 Feb 2016 00:26:51 +0000 (00:26 +0000)]
Merge "Visit stack trace roots"
am: 5039728b6c

* commit '5039728b6ce61e70bfca5d35889ecbd4150a5af9':
  Visit stack trace roots

8 years agoVisit stack trace roots
Mathieu Chartier [Mon, 22 Feb 2016 22:49:04 +0000 (14:49 -0800)]
Visit stack trace roots

We need to visit the declaring classes of all the methods in the
allocation stack traces to prevent class unloading for these
methods. If the class gets unloaded, it will free the linear alloc
resulting in hprof crashing during dumping.

Also a bit of clean up.

Bug: 26849503

(cherry picked from commit a7deef9260bd53dfd6b51ace02b4e6200078d5ea)

Change-Id: If7df7259d0e5044dbcf35f5b4e86f6cf2e583adb

8 years agoMerge "Visit stack trace roots"
Mathieu Chartier [Tue, 23 Feb 2016 00:18:30 +0000 (00:18 +0000)]
Merge "Visit stack trace roots"

8 years agoVisit stack trace roots
Mathieu Chartier [Mon, 22 Feb 2016 22:49:04 +0000 (14:49 -0800)]
Visit stack trace roots

We need to visit the declaring classes of all the methods in the
allocation stack traces to prevent class unloading for these
methods. If the class gets unloaded, it will free the linear alloc
resulting in hprof crashing during dumping.

Also a bit of clean up.

Bug: 26849503

Change-Id: I5cc57436294e4399388cb497819148b8a3b973d9

8 years agoMerge "Revert "Add profman tool: responsible to process profiles"" am: a5502e31cb
Nicolas Geoffray [Mon, 22 Feb 2016 22:51:49 +0000 (22:51 +0000)]
Merge "Revert "Add profman tool: responsible to process profiles"" am: a5502e31cb
am: 12986557d2

* commit '12986557d2776f62eeff6d7c2523b233f18bf2a2':
  Revert "Add profman tool: responsible to process profiles"

8 years agoMerge "Fix class_linker_test for valgrind." am: 4a582f864c
Hiroshi Yamauchi [Mon, 22 Feb 2016 22:46:33 +0000 (22:46 +0000)]
Merge "Fix class_linker_test for valgrind." am: 4a582f864c
am: e8693f0624

* commit 'e8693f06247dd769eaad614c5573163f1b890b2f':
  Fix class_linker_test for valgrind.

8 years agoMerge "Fix CC collector thread flip and JNI critical section deadlocks." am: 8852d809b2
Hiroshi Yamauchi [Mon, 22 Feb 2016 22:46:25 +0000 (22:46 +0000)]
Merge "Fix CC collector thread flip and JNI critical section deadlocks." am: 8852d809b2
am: c8bdb4597e

* commit 'c8bdb4597eeab5b33e2382e0399e74de919f78f1':
  Fix CC collector thread flip and JNI critical section deadlocks.

8 years agoMerge "ART: Add Class.getEnclosingClass() to UnstartedRuntime" am: eacf4cbb21
Andreas Gampe [Mon, 22 Feb 2016 22:46:16 +0000 (22:46 +0000)]
Merge "ART: Add Class.getEnclosingClass() to UnstartedRuntime" am: eacf4cbb21
am: 1024d3e274

* commit '1024d3e2747d1efc54b5ff502411fca3d4efd0fd':
  ART: Add Class.getEnclosingClass() to UnstartedRuntime

8 years agoMerge "ART: Enable JitProfiling for Arm Mterp" am: e33d20e321
Bill Buzbee [Mon, 22 Feb 2016 22:46:07 +0000 (22:46 +0000)]
Merge "ART: Enable JitProfiling for Arm Mterp" am: e33d20e321
am: e0c79bead6

* commit 'e0c79bead65d3955adf5ebf2b121ce95c4225401':
  ART: Enable JitProfiling for Arm Mterp

8 years agoMerge "Optimizing/x86-64: Use MOVL in Load64BitValue() if IsUint<32>()." am: 8fda759172
Vladimir Marko [Mon, 22 Feb 2016 22:45:55 +0000 (22:45 +0000)]
Merge "Optimizing/x86-64: Use MOVL in Load64BitValue() if IsUint<32>()." am: 8fda759172
am: 5d82869763

* commit '5d82869763ae3238781a0746c6c653e5b1cd4f9a':
  Optimizing/x86-64: Use MOVL in Load64BitValue() if IsUint<32>().

8 years agoMerge "Revert "Add profman tool: responsible to process profiles""
Nicolas Geoffray [Mon, 22 Feb 2016 22:45:20 +0000 (22:45 +0000)]
Merge "Revert "Add profman tool: responsible to process profiles""
am: a5502e31cb

* commit 'a5502e31cb558c6e257d1dd1889c073a793e3d9d':
  Revert "Add profman tool: responsible to process profiles"

8 years agoMerge "Revert "Add profman tool: responsible to process profiles""
Nicolas Geoffray [Mon, 22 Feb 2016 22:38:27 +0000 (22:38 +0000)]
Merge "Revert "Add profman tool: responsible to process profiles""

8 years agoRevert "Add profman tool: responsible to process profiles"
Nicolas Geoffray [Mon, 22 Feb 2016 22:37:52 +0000 (22:37 +0000)]
Revert "Add profman tool: responsible to process profiles"

Needs a profile_assistant_test fix.

Bug: 26719109
Bug: 26563023

This reverts commit 6caefd983a800a063b219f1d3ed71b1416cecd70.

Change-Id: Ibdeb7385737dd7846ed861e0a95f083abb9aa974

8 years agoMerge "Fix class_linker_test for valgrind."
Hiroshi Yamauchi [Mon, 22 Feb 2016 21:52:27 +0000 (21:52 +0000)]
Merge "Fix class_linker_test for valgrind."
am: 4a582f864c

* commit '4a582f864c10fce33fe9ba632aefc5e656280bc2':
  Fix class_linker_test for valgrind.

8 years agoMerge "Fix class_linker_test for valgrind."
Hiroshi Yamauchi [Mon, 22 Feb 2016 21:45:16 +0000 (21:45 +0000)]
Merge "Fix class_linker_test for valgrind."

8 years agoMerge "Fix CC collector thread flip and JNI critical section deadlocks."
Hiroshi Yamauchi [Mon, 22 Feb 2016 21:44:53 +0000 (21:44 +0000)]
Merge "Fix CC collector thread flip and JNI critical section deadlocks."
am: 8852d809b2

* commit '8852d809b21b37a0e97ea3514ff9f13b2ec8dcb3':
  Fix CC collector thread flip and JNI critical section deadlocks.

8 years agoFix class_linker_test for valgrind.
Hiroshi Yamauchi [Mon, 22 Feb 2016 21:30:35 +0000 (13:30 -0800)]
Fix class_linker_test for valgrind.

Fix a memory leak.

Bug: 27156726
Change-Id: I4d9a2dc9cff447b6f2fd02432e018ae49766563a

8 years agoMerge "Fix CC collector thread flip and JNI critical section deadlocks."
Hiroshi Yamauchi [Mon, 22 Feb 2016 21:41:06 +0000 (21:41 +0000)]
Merge "Fix CC collector thread flip and JNI critical section deadlocks."

8 years agoMerge "ART: Add Class.getEnclosingClass() to UnstartedRuntime"
Andreas Gampe [Mon, 22 Feb 2016 20:52:18 +0000 (20:52 +0000)]
Merge "ART: Add Class.getEnclosingClass() to UnstartedRuntime"
am: eacf4cbb21

* commit 'eacf4cbb21ec35f5261779e60be8981d2e85e493':
  ART: Add Class.getEnclosingClass() to UnstartedRuntime

8 years agoMerge "ART: Add Class.getEnclosingClass() to UnstartedRuntime"
Andreas Gampe [Mon, 22 Feb 2016 20:50:35 +0000 (20:50 +0000)]
Merge "ART: Add Class.getEnclosingClass() to UnstartedRuntime"

8 years agoMerge "ART: Add Class.getEnclosingClass() to UnstartedRuntime" into nyc-dev
Andreas Gampe [Mon, 22 Feb 2016 20:06:41 +0000 (20:06 +0000)]
Merge "ART: Add Class.getEnclosingClass() to UnstartedRuntime" into nyc-dev
am: f7e0d1afc0

* commit 'f7e0d1afc0f80bf867834c7e46cc7c7af4eb719d':
  ART: Add Class.getEnclosingClass() to UnstartedRuntime

8 years agoMerge "ART: Enable JitProfiling for Arm Mterp"
Bill Buzbee [Mon, 22 Feb 2016 19:41:44 +0000 (19:41 +0000)]
Merge "ART: Enable JitProfiling for Arm Mterp"
am: e33d20e321

* commit 'e33d20e321b630bcab83f6dfbfac2788d8145148':
  ART: Enable JitProfiling for Arm Mterp

8 years agoFix CC collector thread flip and JNI critical section deadlocks.
Hiroshi Yamauchi [Fri, 19 Feb 2016 23:44:06 +0000 (15:44 -0800)]
Fix CC collector thread flip and JNI critical section deadlocks.

There's a bug in the synchronization between the CC collector's thread
flip and JNI critical sections where it incorrectly attempts to make
the synchronization scheme to be writer (GC) preference to avoid
starvation of GC in the presence of frequent JNI critical section
enter/exit. This could cause a deadlock between them if a thread
enters a nested JNI critical section after a thread flip occurs. This
is reproduced in the added test.

The fix is to use a thread local disable counter in addition to the
global counter to detect a nested enter by the same thread and avoid
waiting if nested.

Bug: 19235243
Bug: 12687968
Change-Id: Idf7720a6906c9ea508219935af3727f76680d2d8

8 years agoART: Add Class.getEnclosingClass() to UnstartedRuntime
Andreas Gampe [Fri, 19 Feb 2016 18:49:50 +0000 (10:49 -0800)]
ART: Add Class.getEnclosingClass() to UnstartedRuntime

Required to initialize classes calling getSimpleName().

Bug: 27265238

(cherry picked from commit fb5c22e28030cc9ba8424b7f6f70677ec3ba3afc)

Change-Id: Id63dac5b75b3bbcdfe80f73f2d9d76dea3996823

8 years agoMerge "ART: Add Class.getEnclosingClass() to UnstartedRuntime" into nyc-dev
Andreas Gampe [Mon, 22 Feb 2016 19:32:18 +0000 (19:32 +0000)]
Merge "ART: Add Class.getEnclosingClass() to UnstartedRuntime" into nyc-dev

8 years agoMerge "ART: Enable JitProfiling for Arm Mterp"
Bill Buzbee [Mon, 22 Feb 2016 19:14:13 +0000 (19:14 +0000)]
Merge "ART: Enable JitProfiling for Arm Mterp"

8 years agoMerge "Optimizing/x86-64: Use MOVL in Load64BitValue() if IsUint<32>()."
Vladimir Marko [Mon, 22 Feb 2016 18:41:47 +0000 (18:41 +0000)]
Merge "Optimizing/x86-64: Use MOVL in Load64BitValue() if IsUint<32>()."
am: 8fda759172

* commit '8fda7591726fa274ccb126f216356ef9fd39e035':
  Optimizing/x86-64: Use MOVL in Load64BitValue() if IsUint<32>().

8 years agoMerge "Optimizing/x86-64: Use MOVL in Load64BitValue() if IsUint<32>()."
Vladimir Marko [Mon, 22 Feb 2016 18:37:47 +0000 (18:37 +0000)]
Merge "Optimizing/x86-64: Use MOVL in Load64BitValue() if IsUint<32>()."

8 years agoFix static dex2oat build
Calin Juravle [Mon, 22 Feb 2016 18:20:49 +0000 (18:20 +0000)]
Fix static dex2oat  build

Change-Id: I1a5fb726fa72d9ccd083f90a818e245f075fc89c

8 years agoOptimizing/x86-64: Use MOVL in Load64BitValue() if IsUint<32>().
Vladimir Marko [Mon, 22 Feb 2016 16:54:39 +0000 (16:54 +0000)]
Optimizing/x86-64: Use MOVL in Load64BitValue() if IsUint<32>().

Change-Id: Ie8bfb1861a384d0906f2aff9e8a94be0925c65b6

8 years agoMerge "Add Math.round tests for large integers." am: 827e2128fa
Hans Boehm [Mon, 22 Feb 2016 16:06:12 +0000 (16:06 +0000)]
Merge "Add Math.round tests for large integers." am: 827e2128fa
am: 2ad71dd6ca

* commit '2ad71dd6ca7f5a833d382b84e23163d25ed9015f':
  Add Math.round tests for large integers.

8 years agoMerge "Add Math.round tests for large integers."
Hans Boehm [Mon, 22 Feb 2016 16:00:13 +0000 (16:00 +0000)]
Merge "Add Math.round tests for large integers."
am: 827e2128fa

* commit '827e2128fa65e1256abe40c0841fc1d1494583e7':
  Add Math.round tests for large integers.

8 years agoMerge "Revert "Workaround JDWP failures"" am: 506cf19829
Sebastien Hertz [Mon, 22 Feb 2016 15:54:33 +0000 (15:54 +0000)]
Merge "Revert "Workaround JDWP failures"" am: 506cf19829
am: 45c8b19ebd

* commit '45c8b19ebda04b89f3141a6a1de6a2aac88c1058':
  Revert "Workaround JDWP failures"

8 years agoMerge "Add Math.round tests for large integers."
Hans Boehm [Mon, 22 Feb 2016 15:52:53 +0000 (15:52 +0000)]
Merge "Add Math.round tests for large integers."

8 years agoMerge "Revert "Workaround JDWP failures""
Sebastien Hertz [Mon, 22 Feb 2016 15:48:24 +0000 (15:48 +0000)]
Merge "Revert "Workaround JDWP failures""
am: 506cf19829

* commit '506cf19829ba61e9ad6e34e2c811cff097c2a6b5':
  Revert "Workaround JDWP failures"

8 years agoMerge "Revert "Workaround JDWP failures""
Sebastien Hertz [Mon, 22 Feb 2016 15:43:30 +0000 (15:43 +0000)]
Merge "Revert "Workaround JDWP failures""

8 years agoMerge "Add profman tool: responsible to process profiles" am: b7f9aa85a3
Calin Juravle [Mon, 22 Feb 2016 15:18:20 +0000 (15:18 +0000)]
Merge "Add profman tool: responsible to process profiles" am: b7f9aa85a3
am: d808ed149c

* commit 'd808ed149c09a7a6ac23e97060b234f90c97e92e':
  Add profman tool: responsible to process profiles

8 years agoRevert "Force Jack to consider multidex annotations"
Delphine Martin [Mon, 22 Feb 2016 15:16:25 +0000 (15:16 +0000)]
Revert "Force Jack to consider multidex annotations"

This reverts commit 8cc049c2354af3964d2c15223a9c8d4f57a6691b.
The bug that necessitated that workaround was fixed.
Bug: 26441710

Change-Id: Idf238e497052cb983fd56f50a36f0f7998240fa8

8 years agoMerge "Add profman tool: responsible to process profiles"
Calin Juravle [Mon, 22 Feb 2016 15:12:04 +0000 (15:12 +0000)]
Merge "Add profman tool: responsible to process profiles"
am: b7f9aa85a3

* commit 'b7f9aa85a3e138440f392a9f0921fcaff8761d20':
  Add profman tool: responsible to process profiles

8 years agoMerge "Add profman tool: responsible to process profiles"
Calin Juravle [Mon, 22 Feb 2016 15:05:03 +0000 (15:05 +0000)]
Merge "Add profman tool: responsible to process profiles"

8 years agoMerge "Track libcore change b5d045f7e4023c0ba9a42fb95efad4c30dfc085f" am: 32e9299fa6
Narayan Kamath [Mon, 22 Feb 2016 14:02:13 +0000 (14:02 +0000)]
Merge "Track libcore change b5d045f7e4023c0ba9a42fb95efad4c30dfc085f" am: 32e9299fa6
am: 4042adc80b

* commit '4042adc80b025542b7bee712163bb2333c82443d':
  Track libcore change b5d045f7e4023c0ba9a42fb95efad4c30dfc085f

8 years agoAdd profman tool: responsible to process profiles
Calin Juravle [Mon, 1 Feb 2016 12:06:18 +0000 (12:06 +0000)]
Add profman tool: responsible to process profiles

This pulls out profile parsing from dex2oat into a separate tool.
Some additional refactoring:
- better return codes
- dex2oat now accepts only one profile file

This is the first step towards support secondary dex files and
extracting profiles out of the code_cache directory.

Bug: 26719109
Bug: 26563023

(cherry picked from commit d81c289e58f4ced8ec7674fd377c356669f97227)

Change-Id: I34d408faa318e866e1a23d4d04c369131ee5012b

8 years agoMerge "Track libcore change b5d045f7e4023c0ba9a42fb95efad4c30dfc085f"
Narayan Kamath [Mon, 22 Feb 2016 13:53:41 +0000 (13:53 +0000)]
Merge "Track libcore change b5d045f7e4023c0ba9a42fb95efad4c30dfc085f"
am: 32e9299fa6

* commit '32e9299fa6dbb82fc23c7b6eac6834f5081a62b1':
  Track libcore change b5d045f7e4023c0ba9a42fb95efad4c30dfc085f

8 years agoMerge "Track libcore change b5d045f7e4023c0ba9a42fb95efad4c30dfc085f"
Narayan Kamath [Mon, 22 Feb 2016 13:50:02 +0000 (13:50 +0000)]
Merge "Track libcore change b5d045f7e4023c0ba9a42fb95efad4c30dfc085f"

8 years agoTrack libcore change b5d045f7e4023c0ba9a42fb95efad4c30dfc085f
Narayan Kamath [Mon, 22 Feb 2016 13:34:07 +0000 (13:34 +0000)]
Track libcore change b5d045f7e4023c0ba9a42fb95efad4c30dfc085f

Change-Id: I40bfd7f85c3972cb21c1ddde07ae9b5727df8909

8 years agoAdd a new kReservedCapacity to decide when to start GC code.
Nicolas Geoffray [Mon, 22 Feb 2016 13:14:04 +0000 (13:14 +0000)]
Add a new kReservedCapacity to decide when to start GC code.

Change-Id: Ib9d0ad9bc86c66ac29975f7f907f79f842342500

8 years agoMerge "Add profman tool: responsible to process profiles" into nyc-dev
Calin Juravle [Mon, 22 Feb 2016 11:49:24 +0000 (11:49 +0000)]
Merge "Add profman tool: responsible to process profiles" into nyc-dev
am: 6b37c7f9c0

* commit '6b37c7f9c09ace1c121a16a95070a19043a4d439':
  Add profman tool: responsible to process profiles

8 years agoMerge "Add profman tool: responsible to process profiles" into nyc-dev
Calin Juravle [Mon, 22 Feb 2016 11:41:59 +0000 (11:41 +0000)]
Merge "Add profman tool: responsible to process profiles" into nyc-dev

8 years agoRevert "Workaround JDWP failures"
Sebastien Hertz [Mon, 22 Feb 2016 10:55:24 +0000 (10:55 +0000)]
Revert "Workaround JDWP failures"

This reverts commit 8af4d1c84682a3108b1e5b66fd7442a69eb715c0.

Bug: 27262745
Change-Id: I4254fad87cfdd2f9c044722c2f5766c8b14aaa9c

8 years agoMerge "Ignore GZIPInputStreamTest#testLongMessage failures with CC." am: e8b4c1d9b3
Roland Levillain [Mon, 22 Feb 2016 10:52:47 +0000 (10:52 +0000)]
Merge "Ignore GZIPInputStreamTest#testLongMessage failures with CC." am: e8b4c1d9b3
am: 59fe9b790e

* commit '59fe9b790e264f30fdda548c0212d0d237b42056':
  Ignore GZIPInputStreamTest#testLongMessage failures with CC.

8 years agoMerge "Ignore GZIPInputStreamTest#testLongMessage failures with CC."
Roland Levillain [Mon, 22 Feb 2016 10:49:11 +0000 (10:49 +0000)]
Merge "Ignore GZIPInputStreamTest#testLongMessage failures with CC."
am: e8b4c1d9b3

* commit 'e8b4c1d9b33c489bb82a00d89b5a6fb9912e79de':
  Ignore GZIPInputStreamTest#testLongMessage failures with CC.

8 years agoMerge "Ignore GZIPInputStreamTest#testLongMessage failures with CC."
Roland Levillain [Mon, 22 Feb 2016 10:45:59 +0000 (10:45 +0000)]
Merge "Ignore GZIPInputStreamTest#testLongMessage failures with CC."

8 years agoIgnore GZIPInputStreamTest#testLongMessage failures with CC.
Roland Levillain [Mon, 22 Feb 2016 10:20:57 +0000 (10:20 +0000)]
Ignore GZIPInputStreamTest#testLongMessage failures with CC.

This test sometimes fails with a
java.util.concurrent.TimeoutException on ART Builbot's
x86-64 concurrent collector configuration:
* libcore.java.util.zip.GZIPInputStreamTest#testLongMessage

Disable it while we investigate.

Bug: 26507762
Change-Id: I319a812ff7e6e95857879b2e653c886020cb462b

8 years agoMerge "Track memory usage of code cache." am: c6cce704de
Nicolas Geoffray [Mon, 22 Feb 2016 09:11:51 +0000 (09:11 +0000)]
Merge "Track memory usage of code cache." am: c6cce704de
am: e6998fc3da

* commit 'e6998fc3da3d91cdd348a5cbfaa5ce099aeef170':
  Track memory usage of code cache.

8 years agoMerge "Track memory usage of code cache."
Nicolas Geoffray [Mon, 22 Feb 2016 09:08:31 +0000 (09:08 +0000)]
Merge "Track memory usage of code cache."
am: c6cce704de

* commit 'c6cce704de94ebbd0953bee00f6eb87fa6fa4ac1':
  Track memory usage of code cache.

8 years agoMerge "Track memory usage of code cache."
Nicolas Geoffray [Mon, 22 Feb 2016 09:06:00 +0000 (09:06 +0000)]
Merge "Track memory usage of code cache."

8 years agoMerge "Use adds instead of add to set the N flag." am: 25633b09df
Nicolas Geoffray [Mon, 22 Feb 2016 07:01:19 +0000 (07:01 +0000)]
Merge "Use adds instead of add to set the N flag." am: 25633b09df
am: 17d6617727

* commit '17d6617727250aad1d85d441d2db18037bb2382c':
  Use adds instead of add to set the N flag.

8 years agoMerge "Use adds instead of add to set the N flag."
Nicolas Geoffray [Mon, 22 Feb 2016 06:57:44 +0000 (06:57 +0000)]
Merge "Use adds instead of add to set the N flag."
am: 25633b09df

* commit '25633b09df6747d19d1cb30ea2f34d443027c006':
  Use adds instead of add to set the N flag.

8 years agoMerge "Use adds instead of add to set the N flag."
Nicolas Geoffray [Mon, 22 Feb 2016 06:56:01 +0000 (06:56 +0000)]
Merge "Use adds instead of add to set the N flag."

8 years agoUse adds instead of add to set the N flag.
Nicolas Geoffray [Sun, 21 Feb 2016 17:19:18 +0000 (17:19 +0000)]
Use adds instead of add to set the N flag.

That flag will be used by the following bmi instruction.

Fixes 109-suspend-check on arm32.

Change-Id: I07ee069294e7a0d9709718375bce1e21e3db6529

8 years agoMerge "Enable bytecode tracing in ART FI" am: 0b38d6ab37
Bill Buzbee [Sun, 21 Feb 2016 14:57:30 +0000 (14:57 +0000)]
Merge "Enable bytecode tracing in ART FI" am: 0b38d6ab37
am: ea291f209b

* commit 'ea291f209b4e3440cff7298581006881fa75bcd5':
  Enable bytecode tracing in ART FI

8 years agoMerge "x86 ART FI clean-up" am: 4ed2e43bd4
Bill Buzbee [Sun, 21 Feb 2016 14:57:21 +0000 (14:57 +0000)]
Merge "x86 ART FI clean-up" am: 4ed2e43bd4
am: a55e8cfc70

* commit 'a55e8cfc707f5a0cab5511c3f97e7abd5da8e386':
  x86 ART FI clean-up

8 years agoMerge "Enable bytecode tracing in ART FI"
Bill Buzbee [Sun, 21 Feb 2016 14:54:56 +0000 (14:54 +0000)]
Merge "Enable bytecode tracing in ART FI"
am: 0b38d6ab37

* commit '0b38d6ab37bfc9ce42fda4c15d9634463b1d4584':
  Enable bytecode tracing in ART FI

8 years agoMerge "x86 ART FI clean-up"
Bill Buzbee [Sun, 21 Feb 2016 14:54:46 +0000 (14:54 +0000)]
Merge "x86 ART FI clean-up"
am: 4ed2e43bd4

* commit '4ed2e43bd40fb203f54661ce42366e8e86581864':
  x86 ART FI clean-up

8 years agoMerge "Enable bytecode tracing in ART FI"
Bill Buzbee [Sun, 21 Feb 2016 14:53:05 +0000 (14:53 +0000)]
Merge "Enable bytecode tracing in ART FI"

8 years agoMerge "x86 ART FI clean-up"
Bill Buzbee [Sun, 21 Feb 2016 14:52:27 +0000 (14:52 +0000)]
Merge "x86 ART FI clean-up"

8 years agoEnable bytecode tracing in ART FI
Serguei Katkov [Sat, 20 Feb 2016 06:55:24 +0000 (12:55 +0600)]
Enable bytecode tracing in ART FI

Trace bytecode execution in Fast Interpreter similar to
other interpreters.

Update TraceExecutionEnabled function to switch on tracing.

Change-Id: Icabc17871c8198b11cd4c3dbfaa901e4fbf67946
Signed-off-by: Serguei Katkov <serguei.i.katkov@intel.com>