OSDN Git Service

android-x86/art.git
8 years agoam 7edef744: Merge "Revert "Revert "Fix instrumentation frame check with inlining"""
Sebastien Hertz [Tue, 13 Oct 2015 10:01:31 +0000 (10:01 +0000)]
am 7edef744: Merge "Revert "Revert "Fix instrumentation frame check with inlining"""

* commit '7edef7441d28db1403fbc5641b56a26ecf355879':
  Revert "Revert "Fix instrumentation frame check with inlining""

8 years agoam c1b4a1ef: Merge "Change JNI calling convention for mips"
Nicolas Geoffray [Tue, 13 Oct 2015 10:01:29 +0000 (10:01 +0000)]
am c1b4a1ef: Merge "Change JNI calling convention for mips"

* commit 'c1b4a1efcfb249651bc9ae34c9285a693ede2550':
  Change JNI calling convention for mips

8 years agoMerge "Revert "Revert "Fix instrumentation frame check with inlining"""
Sebastien Hertz [Tue, 13 Oct 2015 09:58:38 +0000 (09:58 +0000)]
Merge "Revert "Revert "Fix instrumentation frame check with inlining"""

8 years agoMerge "Change JNI calling convention for mips"
Nicolas Geoffray [Tue, 13 Oct 2015 09:57:26 +0000 (09:57 +0000)]
Merge "Change JNI calling convention for mips"

8 years agoam e3c4fcfa: Merge "MIPS: Assemblers changes needed for optimizing compiler"
Nicolas Geoffray [Tue, 13 Oct 2015 07:57:57 +0000 (07:57 +0000)]
am e3c4fcfa: Merge "MIPS: Assemblers changes needed for optimizing compiler"

* commit 'e3c4fcfa81a100b5f6c0dbf58bd084d0938c1558':
  MIPS: Assemblers changes needed for optimizing compiler

8 years agoMerge "MIPS: Assemblers changes needed for optimizing compiler"
Nicolas Geoffray [Tue, 13 Oct 2015 07:54:16 +0000 (07:54 +0000)]
Merge "MIPS: Assemblers changes needed for optimizing compiler"

8 years agoam b30c3b23: Merge "Revert "Unload oat files""
Nicolas Geoffray [Tue, 13 Oct 2015 07:31:32 +0000 (07:31 +0000)]
am b30c3b23: Merge "Revert "Unload oat files""

* commit 'b30c3b2332c60261d54a3741f49f6c6461b23ea4':
  Revert "Unload oat files"

8 years agoMerge "Revert "Unload oat files""
Nicolas Geoffray [Tue, 13 Oct 2015 07:26:59 +0000 (07:26 +0000)]
Merge "Revert "Unload oat files""

8 years agoRevert "Unload oat files"
Nicolas Geoffray [Tue, 13 Oct 2015 07:26:45 +0000 (07:26 +0000)]
Revert "Unload oat files"

Tentative, will monitor bots if flakiness is fixed.

Bug: 22720414

This reverts commit 18656fefc7e68e2549a8fa93455074d359d1efa8.

Change-Id: I53b645b73207ccd21cad6ddac1de483bcc158794

8 years agoam b2d2d6ae: Merge "Avoid visiting find array class cache as roots"
Mathieu Chartier [Mon, 12 Oct 2015 22:58:12 +0000 (22:58 +0000)]
am b2d2d6ae: Merge "Avoid visiting find array class cache as roots"

* commit 'b2d2d6ae8ad3dcec77bbaf99589cd98a4797f4f3':
  Avoid visiting find array class cache as roots

8 years agoMerge "Avoid visiting find array class cache as roots"
Mathieu Chartier [Mon, 12 Oct 2015 22:53:00 +0000 (22:53 +0000)]
Merge "Avoid visiting find array class cache as roots"

8 years agoAvoid visiting find array class cache as roots
Mathieu Chartier [Mon, 12 Oct 2015 22:06:16 +0000 (15:06 -0700)]
Avoid visiting find array class cache as roots

If we visit the find array class cache as roots it will prevent
unloading for any array classes in the cache. This is not ideal
since it may take a long time for the entries to get replaced.

Also added a missed exception check in getDeclaredClasses.

Bug: 22720414

Change-Id: Id34557fd034b3e3967ef629301ee251931937849

8 years agoam 16065ce5: Merge "Pay attention to string offset and count fields."
Richard Uhler [Mon, 12 Oct 2015 20:04:37 +0000 (20:04 +0000)]
am 16065ce5: Merge "Pay attention to string offset and count fields."

* commit '16065ce56394c73c87dcb78ead4164ddc80fddb3':
  Pay attention to string offset and count fields.

8 years agoMerge "Pay attention to string offset and count fields."
Richard Uhler [Mon, 12 Oct 2015 20:01:46 +0000 (20:01 +0000)]
Merge "Pay attention to string offset and count fields."

8 years agoam a9c9d6ab: Merge "Unload oat files"
Mathieu Chartier [Mon, 12 Oct 2015 18:31:06 +0000 (18:31 +0000)]
am a9c9d6ab: Merge "Unload oat files"

* commit 'a9c9d6abf5a37588f4eb1de7d3a12042a9fb3f81':
  Unload oat files

8 years agoMerge "Unload oat files"
Mathieu Chartier [Mon, 12 Oct 2015 18:26:42 +0000 (18:26 +0000)]
Merge "Unload oat files"

8 years agoUnload oat files
Mathieu Chartier [Fri, 9 Oct 2015 23:05:31 +0000 (16:05 -0700)]
Unload oat files

Unregister and delete oat file when we call DexFile.closeDexFile if
all of the dex files are no longer in use. We store the oat file as
the first element of the dex files array (cookie).

Added a test that reads the proc maps to ensure there are no
unload-ex maps. Also some clean up.

Bug: 22720414

Change-Id: I52ab84562d1045e94b9a37aafe57609a14f188f7

8 years agoam da458691: Merge "ART: Lock counting in the interpreter"
Andreas Gampe [Mon, 12 Oct 2015 18:07:19 +0000 (18:07 +0000)]
am da458691: Merge "ART: Lock counting in the interpreter"

* commit 'da458691d0d8023dee973f5b04633e243219c311':
  ART: Lock counting in the interpreter

8 years agoMerge "ART: Lock counting in the interpreter"
Andreas Gampe [Mon, 12 Oct 2015 18:02:51 +0000 (18:02 +0000)]
Merge "ART: Lock counting in the interpreter"

8 years agoam 02280e6d: Merge "optimizing: propagate type information of arguments"
Calin Juravle [Mon, 12 Oct 2015 17:08:37 +0000 (17:08 +0000)]
am 02280e6d: Merge "optimizing: propagate type information of arguments"

* commit '02280e6d97e4ed51f149b9863a5e382111559442':
  optimizing: propagate type information of arguments

8 years agoMerge "optimizing: propagate type information of arguments"
Calin Juravle [Mon, 12 Oct 2015 17:03:32 +0000 (17:03 +0000)]
Merge "optimizing: propagate type information of arguments"

8 years agooptimizing: propagate type information of arguments
Calin Juravle [Mon, 12 Oct 2015 14:01:58 +0000 (15:01 +0100)]
optimizing: propagate type information of arguments

This helps inlining and type check elimination.

e.g:

void foo(ArrayList a) {
int size = a.size(); // this can be inlined now.
}

Change-Id: I3ffeaa79d9df444aa19511c83c544cb5f9d9ab20

8 years agoRevert "Revert "Fix instrumentation frame check with inlining""
Sebastien Hertz [Mon, 12 Oct 2015 13:40:10 +0000 (13:40 +0000)]
Revert "Revert "Fix instrumentation frame check with inlining""

This reverts commit e3e2fe5ecc16184ba91018adb3bfbec1c5880c29.

Fixes an incorrect CHECK_GT into CHECK_GE in method
Instrumentation::ComputeFrameId.

Bug: 22519499
Change-Id: I0a11d378f3baa728b9176ff086fe4b835b30bb46

8 years agoam b5c810e9: Merge "Optimizing: Avoid string init register set copy for debuggable."
Vladimir Marko [Mon, 12 Oct 2015 13:37:47 +0000 (13:37 +0000)]
am b5c810e9: Merge "Optimizing: Avoid string init register set copy for debuggable."

* commit 'b5c810e91d8e3da02c12a490850c68d5d9d563c3':
  Optimizing: Avoid string init register set copy for debuggable.

8 years agoam 98615e5b: Merge "Optimizing: Move GraphChecker memory allocations to arena."
Vladimir Marko [Mon, 12 Oct 2015 13:37:45 +0000 (13:37 +0000)]
am 98615e5b: Merge "Optimizing: Move GraphChecker memory allocations to arena."

* commit '98615e5b7e6f24e40ea5be41a83bdd5a1a0d44a4':
  Optimizing: Move GraphChecker memory allocations to arena.

8 years agoMerge "Optimizing: Avoid string init register set copy for debuggable."
Vladimir Marko [Mon, 12 Oct 2015 13:34:51 +0000 (13:34 +0000)]
Merge "Optimizing: Avoid string init register set copy for debuggable."

8 years agoMerge "Optimizing: Move GraphChecker memory allocations to arena."
Vladimir Marko [Mon, 12 Oct 2015 13:34:34 +0000 (13:34 +0000)]
Merge "Optimizing: Move GraphChecker memory allocations to arena."

8 years agoam 439ffb8d: Merge "Intrinsify System.arraycopy."
Nicolas Geoffray [Mon, 12 Oct 2015 12:53:41 +0000 (12:53 +0000)]
am 439ffb8d: Merge "Intrinsify System.arraycopy."

* commit '439ffb8d4fa25b4ac7518a3bd5cbc3f3769ead48':
  Intrinsify System.arraycopy.

8 years agoMerge "Intrinsify System.arraycopy."
Nicolas Geoffray [Mon, 12 Oct 2015 12:47:06 +0000 (12:47 +0000)]
Merge "Intrinsify System.arraycopy."

8 years agoam 5021883b: Merge "Assert that referrers class should not need access check."
Calin Juravle [Mon, 12 Oct 2015 12:30:23 +0000 (12:30 +0000)]
am 5021883b: Merge "Assert that referrers class should not need access check."

* commit '5021883b95d2637f9cc6b4f2c5cf305730e864df':
  Assert that referrers class should not need access check.

8 years agoMerge "Assert that referrers class should not need access check."
Calin Juravle [Mon, 12 Oct 2015 12:25:47 +0000 (12:25 +0000)]
Merge "Assert that referrers class should not need access check."

8 years agoOptimizing: Move GraphChecker memory allocations to arena.
Vladimir Marko [Mon, 12 Oct 2015 09:38:28 +0000 (10:38 +0100)]
Optimizing: Move GraphChecker memory allocations to arena.

Bug: 18120045
Change-Id: I3934158e6ea4868d9baa1dfcc53b603ca6c521e2

8 years agoOptimizing: Avoid string init register set copy for debuggable.
Vladimir Marko [Mon, 12 Oct 2015 11:45:52 +0000 (12:45 +0100)]
Optimizing: Avoid string init register set copy for debuggable.

Change-Id: I9c0d2e1353c68129db06d53a190a015710e4fd0d

8 years agoAssert that referrers class should not need access check.
Calin Juravle [Wed, 7 Oct 2015 17:55:43 +0000 (18:55 +0100)]
Assert that referrers class should not need access check.

Change-Id: Ia682befdb0dc665f74c0f96454cc007304ff2397

8 years agoam 34ce73a9: Merge "Revert "Fix instrumentation frame check with inlining""
Nicolas Geoffray [Mon, 12 Oct 2015 11:24:33 +0000 (11:24 +0000)]
am 34ce73a9: Merge "Revert "Fix instrumentation frame check with inlining""

* commit '34ce73a962379b7b844c605f1c4c80cf133009e3':
  Revert "Fix instrumentation frame check with inlining"

8 years agoMerge "Revert "Fix instrumentation frame check with inlining""
Nicolas Geoffray [Mon, 12 Oct 2015 11:20:55 +0000 (11:20 +0000)]
Merge "Revert "Fix instrumentation frame check with inlining""

8 years agoRevert "Fix instrumentation frame check with inlining"
Nicolas Geoffray [Mon, 12 Oct 2015 11:20:24 +0000 (11:20 +0000)]
Revert "Fix instrumentation frame check with inlining"

Times out on some run-tests.

Bug: 22519499

This reverts commit 3079e28b00accd19aa1153929fb00497d00956d9.

Change-Id: I4c612a5af20e4481eb9865f90abd429f4a40ce57

8 years agoIntrinsify System.arraycopy.
Nicolas Geoffray [Tue, 6 Oct 2015 10:45:02 +0000 (11:45 +0100)]
Intrinsify System.arraycopy.

Currently on x64, will do the other architectures in
different changes.

Change-Id: I15fbbadb450dd21787809759a8b14b21b1e42624

8 years agoam 89792b9c: Merge "Fix instrumentation frame check with inlining"
Sebastien Hertz [Mon, 12 Oct 2015 07:11:11 +0000 (07:11 +0000)]
am 89792b9c: Merge "Fix instrumentation frame check with inlining"

* commit '89792b9c5ed09dda2937944b69b1b2016807b6aa':
  Fix instrumentation frame check with inlining

8 years agoMerge "Fix instrumentation frame check with inlining"
Sebastien Hertz [Mon, 12 Oct 2015 07:07:29 +0000 (07:07 +0000)]
Merge "Fix instrumentation frame check with inlining"

8 years agoART: Lock counting in the interpreter
Andreas Gampe [Fri, 28 Aug 2015 00:41:47 +0000 (17:41 -0700)]
ART: Lock counting in the interpreter

To support structured locking when balanced-locking verification
failed, count lock and unlock operations in the verifier.

Bug: 23502994
Change-Id: I2bb915da6e3d43c49723a943b42d4d5a7c939aa1

8 years agoam 296a7dc6: Merge "Add OatFileManager"
Mathieu Chartier [Fri, 9 Oct 2015 20:11:55 +0000 (20:11 +0000)]
am 296a7dc6: Merge "Add OatFileManager"

* commit '296a7dc68449fb49d47bf2cb93f1ed469bc3228b':
  Add OatFileManager

8 years agoMerge "Add OatFileManager"
Mathieu Chartier [Fri, 9 Oct 2015 20:07:38 +0000 (20:07 +0000)]
Merge "Add OatFileManager"

8 years agoAdd OatFileManager
Mathieu Chartier [Wed, 7 Oct 2015 18:44:05 +0000 (11:44 -0700)]
Add OatFileManager

Takes over a large amount of functionality from the class linker.

Changed OatFile to loading the same OatFile multiple times. This is
required for unloading OatFiles and moving dex caches to BSS since
these require a different OatFile for each dex cache and class
loader.

Bug: 22720414

Change-Id: I0321096723a294dc72949f21e66da82727b512fc

8 years agoam 793e6fbd: Merge "Add test to check that unverified methods are not inlined."
Calin Juravle [Fri, 9 Oct 2015 13:40:29 +0000 (13:40 +0000)]
am 793e6fbd: Merge "Add test to check that unverified methods are not inlined."

* commit '793e6fbdefb092d1dab50bca5618aed110c7e037':
  Add test to check that unverified methods are not inlined.

8 years agoam c9f22550: Merge "Add a clarifying comment on HLoadClass::InstructionDataEquals."
Calin Juravle [Fri, 9 Oct 2015 13:40:27 +0000 (13:40 +0000)]
am c9f22550: Merge "Add a clarifying comment on HLoadClass::InstructionDataEquals."

* commit 'c9f225501f74f5cc3a58f0d311061ace8db6f0c4':
  Add a clarifying comment on HLoadClass::InstructionDataEquals.

8 years agoam b28e1660: Merge "Don\'t check for optimizing test marker on unsupported ISAs."
Calin Juravle [Fri, 9 Oct 2015 13:40:26 +0000 (13:40 +0000)]
am b28e1660: Merge "Don\'t check for optimizing test marker on unsupported ISAs."

* commit 'b28e1660758763743b2727c32ec5eac1d24ae0b5':
  Don't check for optimizing test marker on unsupported ISAs.

8 years agoMerge "Add test to check that unverified methods are not inlined."
Calin Juravle [Fri, 9 Oct 2015 13:35:35 +0000 (13:35 +0000)]
Merge "Add test to check that unverified methods are not inlined."

8 years agoMerge "Add a clarifying comment on HLoadClass::InstructionDataEquals."
Calin Juravle [Fri, 9 Oct 2015 13:35:23 +0000 (13:35 +0000)]
Merge "Add a clarifying comment on HLoadClass::InstructionDataEquals."

8 years agoMerge "Don't check for optimizing test marker on unsupported ISAs."
Calin Juravle [Fri, 9 Oct 2015 13:35:06 +0000 (13:35 +0000)]
Merge "Don't check for optimizing test marker on unsupported ISAs."

8 years agoAdd test to check that unverified methods are not inlined.
Calin Juravle [Thu, 8 Oct 2015 16:31:00 +0000 (17:31 +0100)]
Add test to check that unverified methods are not inlined.

Change-Id: I4b91d863d871be2419d9558b3d19c53cba4f6e2d

8 years agoAdd a clarifying comment on HLoadClass::InstructionDataEquals.
Calin Juravle [Thu, 8 Oct 2015 15:48:31 +0000 (16:48 +0100)]
Add a clarifying comment on HLoadClass::InstructionDataEquals.

Change-Id: I4c298a453f03cde9d32fe43aff86886835af16fe

8 years agoDon't check for optimizing test marker on unsupported ISAs.
Calin Juravle [Fri, 9 Oct 2015 11:03:24 +0000 (12:03 +0100)]
Don't check for optimizing test marker on unsupported ISAs.

Change-Id: I39b31e770f4a9f1f5806cc4b28009e2f1908ad43

8 years agoam a36b5c01: Merge "ART: Use arena allocator with HashSet/HashMap."
Vladimir Marko [Fri, 9 Oct 2015 12:28:35 +0000 (12:28 +0000)]
am a36b5c01: Merge "ART: Use arena allocator with HashSet/HashMap."

* commit 'a36b5c01984cdb4d7265cd2dda6da0ce7f9b136b':
  ART: Use arena allocator with HashSet/HashMap.

8 years agoMerge "ART: Use arena allocator with HashSet/HashMap."
Vladimir Marko [Fri, 9 Oct 2015 12:23:08 +0000 (12:23 +0000)]
Merge "ART: Use arena allocator with HashSet/HashMap."

8 years agoART: Use arena allocator with HashSet/HashMap.
Vladimir Marko [Mon, 5 Oct 2015 19:34:42 +0000 (20:34 +0100)]
ART: Use arena allocator with HashSet/HashMap.

Allow passing ArenaAllocatorAdapter (or any other allocator)
to HashSet/HashMap and create appropriate Arena- aliases.
Use the ArenaHashMap in StackMapsStream.

Update arena allocator adapters' construct()/destroy() to
C++11 std::allocator<> API.

Change-Id: I18544f718f84c6d6580228dd35297daf7f6afb5e

8 years agoam 80d3f4f0: Merge "ART: Do not abort on exception in CreatePeer"
Andreas Gampe [Fri, 9 Oct 2015 03:12:35 +0000 (03:12 +0000)]
am 80d3f4f0: Merge "ART: Do not abort on exception in CreatePeer"

* commit '80d3f4f00e2494f0311f04e8379497ec75376d46':
  ART: Do not abort on exception in CreatePeer

8 years agoMerge "ART: Do not abort on exception in CreatePeer"
Andreas Gampe [Fri, 9 Oct 2015 03:06:37 +0000 (03:06 +0000)]
Merge "ART: Do not abort on exception in CreatePeer"

8 years agoam 14412079: Merge "Revert "Disable clang optimization to boot up on arm64.""
Chih-hung Hsieh [Thu, 8 Oct 2015 22:30:21 +0000 (22:30 +0000)]
am 14412079: Merge "Revert "Disable clang optimization to boot up on arm64.""

* commit '14412079e6eba4d16f40c0bdc5e94812e1c7f5bc':
  Revert "Disable clang optimization to boot up on arm64."

8 years agoMerge "Revert "Disable clang optimization to boot up on arm64.""
Chih-hung Hsieh [Thu, 8 Oct 2015 22:25:50 +0000 (22:25 +0000)]
Merge "Revert "Disable clang optimization to boot up on arm64.""

8 years agoam 526ec078: Merge "ART: Do not include endian.h on Mac."
Vladimir Marko [Thu, 8 Oct 2015 22:08:15 +0000 (22:08 +0000)]
am 526ec078: Merge "ART: Do not include endian.h on Mac."

* commit '526ec078c7e4ace31193d7f49ded661ea0929292':
  ART: Do not include endian.h on Mac.

8 years agoRevert "Disable clang optimization to boot up on arm64."
Chih-hung Hsieh [Thu, 8 Oct 2015 21:00:10 +0000 (21:00 +0000)]
Revert "Disable clang optimization to boot up on arm64."

This reverts commit 1675f2c5581c7b0b83c8823e2b4eb0ec62b28b7f.

With latest Android source, now we can boot up without this workaround.

BUG: 19180814

Change-Id: I8a7852573856dbbe10a5f4823f7261b8ecc7490c

8 years agoART: Do not abort on exception in CreatePeer
Andreas Gampe [Thu, 1 Oct 2015 23:47:26 +0000 (16:47 -0700)]
ART: Do not abort on exception in CreatePeer

Different parts of CreatePeer may throw an exception, especially
the Thread constructor. Do not abort in such a case, but return
and report a failure to attach/create a thread.

Bug: 24200698

(cherry picked from commit 2a196784553f4fd0c0f7d4b8aac87281db3a4748)

Change-Id: I06f2c997f0451c71f791d1f12bea6f8ee65e8ab2

8 years agoMerge "ART: Do not include endian.h on Mac."
Vladimir Marko [Thu, 8 Oct 2015 18:09:39 +0000 (18:09 +0000)]
Merge "ART: Do not include endian.h on Mac."

8 years agoART: Do not include endian.h on Mac.
Vladimir Marko [Thu, 8 Oct 2015 18:07:04 +0000 (19:07 +0100)]
ART: Do not include endian.h on Mac.

Change-Id: I1bb28bd49bd1847c45e93bf2b06c643be6e09926

8 years agoMerge commit '12de240152b8b0147b83d800bf69f4fb635dc2d3' into HEAD
Bill Yi [Thu, 8 Oct 2015 17:34:17 +0000 (10:34 -0700)]
Merge commit '12de240152b8b0147b83d800bf69f4fb635dc2d3' into HEAD

8 years agoam 359f77c4: Merge "Add DCHECKs to ArenaVector and ScopedArenaVector."
Vladimir Marko [Thu, 8 Oct 2015 15:52:30 +0000 (15:52 +0000)]
am 359f77c4: Merge "Add DCHECKs to ArenaVector and ScopedArenaVector."

* commit '359f77c44dafef7ebed027180422ee75eef1467c':
  Add DCHECKs to ArenaVector and ScopedArenaVector.

8 years agoMerge "Add DCHECKs to ArenaVector and ScopedArenaVector."
Vladimir Marko [Thu, 8 Oct 2015 15:47:08 +0000 (15:47 +0000)]
Merge "Add DCHECKs to ArenaVector and ScopedArenaVector."

8 years agoam 64d8d93a: Merge "Make sure classes with different access checks are not GVN-ed"
Calin Juravle [Thu, 8 Oct 2015 14:05:12 +0000 (14:05 +0000)]
am 64d8d93a: Merge "Make sure classes with different access checks are not GVN-ed"

* commit '64d8d93aa9359b1126513dba92e27dbe184bfe3a':
  Make sure classes with different access checks are not GVN-ed

8 years agoMerge "Make sure classes with different access checks are not GVN-ed"
Calin Juravle [Thu, 8 Oct 2015 13:59:41 +0000 (13:59 +0000)]
Merge "Make sure classes with different access checks are not GVN-ed"

8 years agoam d40ef4b1: Merge "Optimizing: Clean up after tagging arena allocations."
Vladimir Marko [Thu, 8 Oct 2015 13:29:55 +0000 (13:29 +0000)]
am d40ef4b1: Merge "Optimizing: Clean up after tagging arena allocations."

* commit 'd40ef4b12b581c29753735ebd9815b19c16e3901':
  Optimizing: Clean up after tagging arena allocations.

8 years agoMerge "Optimizing: Clean up after tagging arena allocations."
Vladimir Marko [Thu, 8 Oct 2015 13:23:57 +0000 (13:23 +0000)]
Merge "Optimizing: Clean up after tagging arena allocations."

8 years agoMake sure classes with different access checks are not GVN-ed
Calin Juravle [Wed, 7 Oct 2015 17:55:43 +0000 (18:55 +0100)]
Make sure classes with different access checks are not GVN-ed

Change-Id: I89f72fef3be35a4dd9585d97d03a3150386e0891

8 years agoam 5248d2b5: Merge "Mark a new Checker test broken for MIPS32"
David Brazdil [Thu, 8 Oct 2015 11:43:27 +0000 (11:43 +0000)]
am 5248d2b5: Merge "Mark a new Checker test broken for MIPS32"

* commit '5248d2b53c9444f72e5e5f562ce7edcdb7a57256':
  Mark a new Checker test broken for MIPS32

8 years agoMerge "Mark a new Checker test broken for MIPS32"
David Brazdil [Thu, 8 Oct 2015 11:38:25 +0000 (11:38 +0000)]
Merge "Mark a new Checker test broken for MIPS32"

8 years agoMark a new Checker test broken for MIPS32
David Brazdil [Thu, 8 Oct 2015 11:37:25 +0000 (12:37 +0100)]
Mark a new Checker test broken for MIPS32

Change-Id: I6ecf41774326ad42d0b7c91f7bfad8047ce41260

8 years agoam 018545ff: Merge "ART: Checker tests for --debuggable"
David Brazdil [Thu, 8 Oct 2015 11:26:06 +0000 (11:26 +0000)]
am 018545ff: Merge "ART: Checker tests for --debuggable"

* commit '018545ff018f849f22aed381b19107b0ef970cc9':
  ART: Checker tests for --debuggable

8 years agoMerge "ART: Checker tests for --debuggable"
David Brazdil [Thu, 8 Oct 2015 11:21:26 +0000 (11:21 +0000)]
Merge "ART: Checker tests for --debuggable"

8 years agoART: Checker tests for --debuggable
David Brazdil [Thu, 8 Oct 2015 10:35:32 +0000 (11:35 +0100)]
ART: Checker tests for --debuggable

Checker was disabled for --debuggable because the code was not compiled
with Optimizing. Now that it is, we might want to write Checker tests
only for this mode. With this patch, CHECK-START(-ARCH)-DEBUGGABLE
tests will only be invoked on output of debuggable compilation.
Existing CHECK-START(-ARCH) tests will not be invoked.

Change-Id: I00c864f77b038af913d0d22ba7cf5655687f7c7c

8 years agoOptimizing: Clean up after tagging arena allocations.
Vladimir Marko [Wed, 30 Sep 2015 12:32:31 +0000 (13:32 +0100)]
Optimizing: Clean up after tagging arena allocations.

Change-Id: Id6ee1fe44c4c57d373db7a39530f29a5ca9aee18

8 years agoAdd DCHECKs to ArenaVector and ScopedArenaVector.
Vladimir Marko [Thu, 1 Oct 2015 19:57:57 +0000 (20:57 +0100)]
Add DCHECKs to ArenaVector and ScopedArenaVector.

Implement dchecked_vector<> template that DCHECK()s element
access and insert()/emplace()/erase() positions. Change the
ArenaVector<> and ScopedArenaVector<> aliases to use the new
template instead of std::vector<>. Remove DCHECK()s that
have now become unnecessary from the Optimizing compiler.

Change-Id: Ib8506bd30d223f68f52bd4476c76d9991acacadc

8 years agoam b2e436ff: Merge "Don\'t remove type checks if we need to perform an access check."
Calin Juravle [Thu, 8 Oct 2015 09:46:41 +0000 (09:46 +0000)]
am b2e436ff: Merge "Don\'t remove type checks if we need to perform an access check."

* commit 'b2e436ffcda1d7a87e7bf9133d8ed878388c73c2':
  Don't remove type checks if we need to perform an access check.

8 years agoam 89b8691f: Merge "Enforce optimizing test marker for verification errors."
Calin Juravle [Thu, 8 Oct 2015 09:46:40 +0000 (09:46 +0000)]
am 89b8691f: Merge "Enforce optimizing test marker for verification errors."

* commit '89b8691ff08bbe951782745c6eeeb070ee269a67':
  Enforce optimizing test marker for verification errors.

8 years agoMerge "Don't remove type checks if we need to perform an access check."
Calin Juravle [Thu, 8 Oct 2015 09:41:32 +0000 (09:41 +0000)]
Merge "Don't remove type checks if we need to perform an access check."

8 years agoMerge "Enforce optimizing test marker for verification errors."
Calin Juravle [Thu, 8 Oct 2015 09:41:22 +0000 (09:41 +0000)]
Merge "Enforce optimizing test marker for verification errors."

8 years agoam 19631f32: Merge "Fix x86_64 round intrinsic duplicate load"
Nicolas Geoffray [Thu, 8 Oct 2015 07:50:27 +0000 (07:50 +0000)]
am 19631f32: Merge "Fix x86_64 round intrinsic duplicate load"

* commit '19631f327a77873db897156ffad1574811f1d94e':
  Fix x86_64 round intrinsic duplicate load

8 years agoMerge "Fix x86_64 round intrinsic duplicate load"
Nicolas Geoffray [Thu, 8 Oct 2015 07:45:06 +0000 (07:45 +0000)]
Merge "Fix x86_64 round intrinsic duplicate load"

8 years agoFix instrumentation frame check with inlining
Sebastien Hertz [Tue, 6 Oct 2015 13:28:44 +0000 (15:28 +0200)]
Fix instrumentation frame check with inlining

When instrumenting code compiled with inlining, we must compute
frame IDs like instrumentation did for pushing instrumentation
stack frames.

Bug: 22519499
Change-Id: I4a72dbe9e4d2fd4985e49f8261b54c96df7c4a81

8 years agoam 56e4db28: am 09d00566: Merge "Move dmtracedump from dalvik to art."
Jeff Hao [Wed, 7 Oct 2015 23:39:20 +0000 (23:39 +0000)]
am 56e4db28: am 09d00566: Merge "Move dmtracedump from dalvik to art."

* commit '56e4db287477545d9df517a9270c6477263442a6':
  Move dmtracedump from dalvik to art.

8 years agoam 09d00566: Merge "Move dmtracedump from dalvik to art."
Jeff Hao [Wed, 7 Oct 2015 23:32:36 +0000 (23:32 +0000)]
am 09d00566: Merge "Move dmtracedump from dalvik to art."

* commit '09d005667edbf2b2676d387111888cb638428af6':
  Move dmtracedump from dalvik to art.

8 years agoMerge "Move dmtracedump from dalvik to art."
Jeff Hao [Wed, 7 Oct 2015 23:27:55 +0000 (23:27 +0000)]
Merge "Move dmtracedump from dalvik to art."

8 years agoMove dmtracedump from dalvik to art.
Jeff Hao [Wed, 7 Oct 2015 22:52:09 +0000 (15:52 -0700)]
Move dmtracedump from dalvik to art.

Also ported from C to C++. Note this is more or less a straight port
from C, and the code is still very C-like.

Bug: 24700673
Change-Id: I87db5b799dc1ddd442fdd519abb88fe69fc66773

8 years agoam 2beb2ab1: am 80cd1635: Merge "Mark breakpoint roots"
Mathieu Chartier [Wed, 7 Oct 2015 21:27:57 +0000 (21:27 +0000)]
am 2beb2ab1: am 80cd1635: Merge "Mark breakpoint roots"

* commit '2beb2ab1561339601dfc905e68122faa8b76263b':
  Mark breakpoint roots

8 years agoam 80cd1635: Merge "Mark breakpoint roots"
Mathieu Chartier [Wed, 7 Oct 2015 21:20:18 +0000 (21:20 +0000)]
am 80cd1635: Merge "Mark breakpoint roots"

* commit '80cd163575f3ca7b8f9885e47fdcc798336ab058':
  Mark breakpoint roots

8 years agoMerge "Mark breakpoint roots"
Mathieu Chartier [Wed, 7 Oct 2015 21:15:51 +0000 (21:15 +0000)]
Merge "Mark breakpoint roots"

8 years agoDon't remove type checks if we need to perform an access check.
Calin Juravle [Wed, 7 Oct 2015 16:51:52 +0000 (17:51 +0100)]
Don't remove type checks if we need to perform an access check.

Change-Id: I9b9e07c7524e96ece8dc089c8379631c2f9e3320

8 years agoEnforce optimizing test marker for verification errors.
Calin Juravle [Wed, 7 Oct 2015 11:08:54 +0000 (12:08 +0100)]
Enforce optimizing test marker for verification errors.

Change-Id: Ie7babf162729fa02d285572ee043fa9e588d73cc

8 years agoam 8eb985e9: am 9be16fe2: Merge "ART: Remove interpreter entrypoints"
Andreas Gampe [Wed, 7 Oct 2015 17:10:48 +0000 (17:10 +0000)]
am 8eb985e9: am 9be16fe2: Merge "ART: Remove interpreter entrypoints"

* commit '8eb985e95088053f1e31f057cbe58ebad5392962':
  ART: Remove interpreter entrypoints

8 years agoFix x86_64 round intrinsic duplicate load
Mark Mendell [Fri, 18 Sep 2015 12:22:04 +0000 (08:22 -0400)]
Fix x86_64 round intrinsic duplicate load

When I changed the code to use Load64BitValue, I forgot to delete the
original load instruction(s).  Remove them now.

Change-Id: I76aeccf88576507f2fbcf463ae1e503827a20fe2
Signed-off-by: Mark Mendell <mark.p.mendell@intel.com>
8 years agoam 9be16fe2: Merge "ART: Remove interpreter entrypoints"
Andreas Gampe [Wed, 7 Oct 2015 17:03:33 +0000 (17:03 +0000)]
am 9be16fe2: Merge "ART: Remove interpreter entrypoints"

* commit '9be16fe2cd19a555092512c16afde50f79e80e3d':
  ART: Remove interpreter entrypoints