OSDN Git Service

android-x86/art.git
8 years agoam a5b63f2c: Merge "Generate an hprof file to test ahat."
Richard Uhler [Fri, 2 Oct 2015 19:59:36 +0000 (19:59 +0000)]
am a5b63f2c: Merge "Generate an hprof file to test ahat."

* commit 'a5b63f2c46b1a5bf0452032dd51198adfb3aa309':
  Generate an hprof file to test ahat.

8 years agoMerge "Generate an hprof file to test ahat."
Richard Uhler [Fri, 2 Oct 2015 19:52:39 +0000 (19:52 +0000)]
Merge "Generate an hprof file to test ahat."

8 years agoam 42888b28: Merge "Change DecodeWeakGlobal to DecodeJObject for class unloading"
Mathieu Chartier [Fri, 2 Oct 2015 16:45:51 +0000 (16:45 +0000)]
am 42888b28: Merge "Change DecodeWeakGlobal to DecodeJObject for class unloading"

* commit '42888b28d2a0f112187c906296d4b28674c8bee2':
  Change DecodeWeakGlobal to DecodeJObject for class unloading

8 years agoMerge "Change DecodeWeakGlobal to DecodeJObject for class unloading"
Mathieu Chartier [Fri, 2 Oct 2015 16:40:06 +0000 (16:40 +0000)]
Merge "Change DecodeWeakGlobal to DecodeJObject for class unloading"

8 years agoam edbff6f5: Merge "ART: Use an iterative way in DoDFSPreOrderSSARename()"
Vladimir Marko [Fri, 2 Oct 2015 16:09:57 +0000 (16:09 +0000)]
am edbff6f5: Merge "ART: Use an iterative way in DoDFSPreOrderSSARename()"

* commit 'edbff6f51abc2bfb43be78b9a1beaa382c498a1f':
  ART: Use an iterative way in DoDFSPreOrderSSARename()

8 years agoMerge "ART: Use an iterative way in DoDFSPreOrderSSARename()"
Vladimir Marko [Fri, 2 Oct 2015 16:03:24 +0000 (16:03 +0000)]
Merge "ART: Use an iterative way in DoDFSPreOrderSSARename()"

8 years agoam acd70887: Merge "KNOWN_BROKEN/FAILING does not work for gtests."
Nicolas Geoffray [Fri, 2 Oct 2015 15:18:37 +0000 (15:18 +0000)]
am acd70887: Merge "KNOWN_BROKEN/FAILING does not work for gtests."

* commit 'acd7088735d8299c90c1e480be146c71adcd8d08':
  KNOWN_BROKEN/FAILING does not work for gtests.

8 years agoMerge "KNOWN_BROKEN/FAILING does not work for gtests."
Nicolas Geoffray [Fri, 2 Oct 2015 15:15:47 +0000 (15:15 +0000)]
Merge "KNOWN_BROKEN/FAILING does not work for gtests."

8 years agoKNOWN_BROKEN/FAILING does not work for gtests.
Nicolas Geoffray [Fri, 2 Oct 2015 13:41:18 +0000 (14:41 +0100)]
KNOWN_BROKEN/FAILING does not work for gtests.

Instead disable the test in the gtest file.

Change-Id: Iede5de7ca572c9454437981a5fa63cda444d0497

8 years agoam cc245eab: Merge "Fix lint error."
Nicolas Geoffray [Fri, 2 Oct 2015 11:42:41 +0000 (11:42 +0000)]
am cc245eab: Merge "Fix lint error."

* commit 'cc245eab2148547f9df37ddc5f767656dc033b81':
  Fix lint error.

8 years agoMerge "Fix lint error."
Nicolas Geoffray [Fri, 2 Oct 2015 11:39:37 +0000 (11:39 +0000)]
Merge "Fix lint error."

8 years agoFix lint error.
Nicolas Geoffray [Fri, 2 Oct 2015 11:38:40 +0000 (12:38 +0100)]
Fix lint error.

Change-Id: Icb10d23bdac6881b48d2025cac76dc130aefbf73

8 years agoam 00f24284: Merge "Test fails on mips."
Nicolas Geoffray [Fri, 2 Oct 2015 10:40:45 +0000 (10:40 +0000)]
am 00f24284: Merge "Test fails on mips."

* commit '00f24284fd4bd12a7fc1865da4984dd6a7c71a94':
  Test fails on mips.

8 years agoam d0abb395: Merge "Do more inlining when JITting."
Nicolas Geoffray [Fri, 2 Oct 2015 10:40:43 +0000 (10:40 +0000)]
am d0abb395: Merge "Do more inlining when JITting."

* commit 'd0abb39540aa85306647801ef75fcc5c35fab69a':
  Do more inlining when JITting.

8 years agoMerge "Test fails on mips."
Nicolas Geoffray [Fri, 2 Oct 2015 10:36:22 +0000 (10:36 +0000)]
Merge "Test fails on mips."

8 years agoMerge "Do more inlining when JITting."
Nicolas Geoffray [Fri, 2 Oct 2015 10:34:17 +0000 (10:34 +0000)]
Merge "Do more inlining when JITting."

8 years agoTest fails on mips.
Nicolas Geoffray [Fri, 2 Oct 2015 09:39:55 +0000 (10:39 +0100)]
Test fails on mips.

bug:24596015
Change-Id: Iad6ab18b287b398af82b6a0574cb74204619755d

8 years agoam 230033ba: Merge "Don\'t force the boot image to using quick."
Nicolas Geoffray [Fri, 2 Oct 2015 09:00:46 +0000 (09:00 +0000)]
am 230033ba: Merge "Don\'t force the boot image to using quick."

* commit '230033ba185ef83f7be84a4839d4d2e195ab50f4':
  Don't force the boot image to using quick.

8 years agoDo more inlining when JITting.
Nicolas Geoffray [Thu, 1 Oct 2015 13:34:20 +0000 (14:34 +0100)]
Do more inlining when JITting.

We now check the verification status of the class.

This triggered a bug when an inlined method was not compiled
(typically in a JIT configuration), and the path for deopting in
StackVisitor was using the wrong ArtMethod in order to know the
compiler that compiled the current frame.

Change-Id: I81d3ca0cf5cd3864b83b63dd954c58e1f2adaad4

8 years agoMerge "Don't force the boot image to using quick."
Nicolas Geoffray [Fri, 2 Oct 2015 08:01:09 +0000 (08:01 +0000)]
Merge "Don't force the boot image to using quick."

8 years agoam 1604cb97: Merge "Fix x86_64 gtest."
Calin Juravle [Fri, 2 Oct 2015 06:45:04 +0000 (06:45 +0000)]
am 1604cb97: Merge "Fix x86_64 gtest."

* commit '1604cb973e96ede4af275e676f0f35af46641f03':
  Fix x86_64 gtest.

8 years agoMerge "Fix x86_64 gtest."
Calin Juravle [Fri, 2 Oct 2015 06:40:57 +0000 (06:40 +0000)]
Merge "Fix x86_64 gtest."

8 years agoFix x86_64 gtest.
Calin Juravle [Fri, 2 Oct 2015 06:27:51 +0000 (07:27 +0100)]
Fix x86_64 gtest.

Calling convention for setting a 64bit field changed.
The CL fixes the test for x86_64 and disable it for other arches.

Change-Id: Iea3df0965f65b10c59ed975f91ca8069fde6e13c

8 years agoam 77189602: Merge "Enable compilation of members with access check failures."
Calin Juravle [Fri, 2 Oct 2015 01:56:39 +0000 (01:56 +0000)]
am 77189602: Merge "Enable compilation of members with access check failures."

* commit '77189602d7bd291a7de87967b87b9b5a9b2eb68a':
  Enable compilation of members with access check failures.

8 years agoam 487e7b3a: Merge "Revert "Revert "Support unresolved fields in optimizing""
Calin Juravle [Fri, 2 Oct 2015 01:56:37 +0000 (01:56 +0000)]
am 487e7b3a: Merge "Revert "Revert "Support unresolved fields in optimizing""

* commit '487e7b3aca83d6e7d52f86b73eaa359f23993fcb':
  Revert "Revert "Support unresolved fields in optimizing"

8 years agoMerge "Enable compilation of members with access check failures."
Calin Juravle [Fri, 2 Oct 2015 01:53:08 +0000 (01:53 +0000)]
Merge "Enable compilation of members with access check failures."

8 years agoMerge "Revert "Revert "Support unresolved fields in optimizing""
Calin Juravle [Fri, 2 Oct 2015 01:52:46 +0000 (01:52 +0000)]
Merge "Revert "Revert "Support unresolved fields in optimizing""

8 years agoam 2a09e92a: Merge "Make SetStateUnsafe run checkpoints before going to suspended"
Mathieu Chartier [Fri, 2 Oct 2015 01:29:16 +0000 (01:29 +0000)]
am 2a09e92a: Merge "Make SetStateUnsafe run checkpoints before going to suspended"

* commit '2a09e92a87ff788479ba481b3b216609424aabdc':
  Make SetStateUnsafe run checkpoints before going to suspended

8 years agoEnable compilation of members with access check failures.
Calin Juravle [Thu, 17 Sep 2015 13:15:12 +0000 (14:15 +0100)]
Enable compilation of members with access check failures.

Change-Id: I0de73099b53612072c3e6f1235c22f96339fe440

8 years agoRevert "Revert "Support unresolved fields in optimizing"
Calin Juravle [Tue, 29 Sep 2015 03:52:17 +0000 (04:52 +0100)]
Revert "Revert "Support unresolved fields in optimizing"

The CL also changes the calling convetion for 64bit static field set
to use kArg2 instead of kArg1. This allows optimizing to keep
the asumptions:
- arm pairs are always of form (even_reg, odd_reg)
- ecx_edx is not used as a register on x86.

This reverts commit e6f49b47b6a4dc9c7684e4483757872cfc7ff1a1.

Change-Id: I93159917565824084abc96775f31be1a4249f2f3

8 years agoMerge "Make SetStateUnsafe run checkpoints before going to suspended"
Mathieu Chartier [Fri, 2 Oct 2015 01:23:04 +0000 (01:23 +0000)]
Merge "Make SetStateUnsafe run checkpoints before going to suspended"

8 years agoMake SetStateUnsafe run checkpoints before going to suspended
Mathieu Chartier [Thu, 1 Oct 2015 22:58:41 +0000 (15:58 -0700)]
Make SetStateUnsafe run checkpoints before going to suspended

This prevents cases where we can get a checkpoint request in runnable
and then unsafe set to suspended. This was bad behavior since the
checkpoint may not be run in a timely manner.

Bug: 24191051
Change-Id: I73605c1a1154f67699f3902141f3232ab064793f

8 years agoam c448024b: Merge "Improvements for table lookup read barriers."
Hiroshi Yamauchi [Fri, 2 Oct 2015 01:05:15 +0000 (01:05 +0000)]
am c448024b: Merge "Improvements for table lookup read barriers."

* commit 'c448024b005bb2debb851f4de1b7fb5e544c3a80':
  Improvements for table lookup read barriers.

8 years agoMerge "Improvements for table lookup read barriers."
Hiroshi Yamauchi [Fri, 2 Oct 2015 01:01:25 +0000 (01:01 +0000)]
Merge "Improvements for table lookup read barriers."

8 years agoImprovements for table lookup read barriers.
Hiroshi Yamauchi [Thu, 1 Oct 2015 03:12:11 +0000 (20:12 -0700)]
Improvements for table lookup read barriers.

- Implement fast paths for the GC root read barrier routines.
- Avoid unnecessary CAS operations.

Bug: 12687968
Change-Id: Iceef44e253062af5bf2295a521a9c64403deafe1

8 years agoChange DecodeWeakGlobal to DecodeJObject for class unloading
Mathieu Chartier [Fri, 2 Oct 2015 00:08:44 +0000 (17:08 -0700)]
Change DecodeWeakGlobal to DecodeJObject for class unloading

DecodeWeakGlobal returns the sentinel object for cleared JNI weak
globals. This was causing a memory leak since it wouldn't delete
class tables and linear allocs due to never returning null. The bug
was found by yamauchi.

Bug: 22720414

Change-Id: Iff4681495232b9a9756dbdb51d10ea72691a85dd

8 years agoam 25217af2: Merge "Add more error printing to TransitionFromSuspendedToRunnable"
Mathieu Chartier [Thu, 1 Oct 2015 22:16:26 +0000 (22:16 +0000)]
am 25217af2: Merge "Add more error printing to TransitionFromSuspendedToRunnable"

* commit '25217af2a7cae96b32ba566aaf697288f3374c99':
  Add more error printing to TransitionFromSuspendedToRunnable

8 years agoam 506b08cb: Merge "Revert "Revert "ART: Remove unnecessary SHARED_REQUIRES in ArtMet...
Andreas Gampe [Thu, 1 Oct 2015 22:11:39 +0000 (22:11 +0000)]
am 506b08cb: Merge "Revert "Revert "ART: Remove unnecessary SHARED_REQUIRES in ArtMethod"""

* commit '506b08cbd5e44bedc32f31ea74ddcc921c98ec99':
  Revert "Revert "ART: Remove unnecessary SHARED_REQUIRES in ArtMethod""

8 years agoMerge "Add more error printing to TransitionFromSuspendedToRunnable"
Mathieu Chartier [Thu, 1 Oct 2015 22:08:56 +0000 (22:08 +0000)]
Merge "Add more error printing to TransitionFromSuspendedToRunnable"

8 years agoMerge "Revert "Revert "ART: Remove unnecessary SHARED_REQUIRES in ArtMethod"""
Andreas Gampe [Thu, 1 Oct 2015 22:05:49 +0000 (22:05 +0000)]
Merge "Revert "Revert "ART: Remove unnecessary SHARED_REQUIRES in ArtMethod"""

8 years agoAdd more error printing to TransitionFromSuspendedToRunnable
Mathieu Chartier [Thu, 1 Oct 2015 21:46:29 +0000 (14:46 -0700)]
Add more error printing to TransitionFromSuspendedToRunnable

Bug: 24191051
Change-Id: I5c66ba5c76bf86e8d603110989b9da883ca4ca65

8 years agoam 9b29f3ef: Merge "MIPS64: Implement intrinsic java.lang.Thread.currentThread()"
Andreas Gampe [Thu, 1 Oct 2015 21:05:46 +0000 (21:05 +0000)]
am 9b29f3ef: Merge "MIPS64: Implement intrinsic java.lang.Thread.currentThread()"

* commit '9b29f3ef7df18c84d922634709e38a1913709ad7':
  MIPS64: Implement intrinsic java.lang.Thread.currentThread()

8 years agoMerge "MIPS64: Implement intrinsic java.lang.Thread.currentThread()"
Andreas Gampe [Thu, 1 Oct 2015 20:29:43 +0000 (20:29 +0000)]
Merge "MIPS64: Implement intrinsic java.lang.Thread.currentThread()"

8 years agoam 8446ed41: Merge "Fix another poisoning problem."
Nicolas Geoffray [Thu, 1 Oct 2015 18:05:43 +0000 (18:05 +0000)]
am 8446ed41: Merge "Fix another poisoning problem."

* commit '8446ed412d3a4ca2c70737d6f40c4129b0ee8ab1':
  Fix another poisoning problem.

8 years agoMerge "Fix another poisoning problem."
Nicolas Geoffray [Thu, 1 Oct 2015 17:41:27 +0000 (17:41 +0000)]
Merge "Fix another poisoning problem."

8 years agoFix another poisoning problem.
Nicolas Geoffray [Thu, 1 Oct 2015 14:50:27 +0000 (15:50 +0100)]
Fix another poisoning problem.

We were using the wrong temp.

Change-Id: Id79d5079cc85f61eb1a45d741a67f24d33e8fa03

8 years agoGenerate an hprof file to test ahat.
Richard Uhler [Thu, 10 Sep 2015 23:45:54 +0000 (16:45 -0700)]
Generate an hprof file to test ahat.

This change sets up the infrastructure to write test cases for ahat
that make use of an hprof file automatically generated from a sample
program.

Change-Id: Id11f656afb69c96a26655cc4caeb745ad844f431

8 years agoam b3577f0a: Merge "ART: Fix a static_cast int32_t -> uint64_t bug."
David Brazdil [Thu, 1 Oct 2015 14:22:19 +0000 (14:22 +0000)]
am b3577f0a: Merge "ART: Fix a static_cast int32_t -> uint64_t bug."

* commit 'b3577f0ab8f1765d3554f575d99adbc65bfaf1b6':
  ART: Fix a static_cast int32_t -> uint64_t bug.

8 years agoMerge "ART: Fix a static_cast int32_t -> uint64_t bug."
David Brazdil [Thu, 1 Oct 2015 14:16:40 +0000 (14:16 +0000)]
Merge "ART: Fix a static_cast int32_t -> uint64_t bug."

8 years agoART: Fix a static_cast int32_t -> uint64_t bug.
David Brazdil [Thu, 1 Oct 2015 13:32:56 +0000 (14:32 +0100)]
ART: Fix a static_cast int32_t -> uint64_t bug.

HConstant::GetValueAsUint64 is used by SsaChecker to verify that
equivalent phis are created only for untyped constants. The test
would fail because a static_cast would sign extend the value of the
IntConstant.

Bug: 24561315
Change-Id: I818ce6a2080994a7c4395d084c1df7fd615a246d

8 years agoam 9664c089: Merge "CUSTOM_TARGET_LINKER is set by the buildbot already."
Nicolas Geoffray [Thu, 1 Oct 2015 10:52:12 +0000 (10:52 +0000)]
am 9664c089: Merge "CUSTOM_TARGET_LINKER is set by the buildbot already."

* commit '9664c08964c7db92151335023c6ea595f75f4033':
  CUSTOM_TARGET_LINKER is set by the buildbot already.

8 years agoMerge "CUSTOM_TARGET_LINKER is set by the buildbot already."
Nicolas Geoffray [Thu, 1 Oct 2015 10:47:57 +0000 (10:47 +0000)]
Merge "CUSTOM_TARGET_LINKER is set by the buildbot already."

8 years agoam 47b1416f: Merge "Fix poisoining bug in arm64."
Nicolas Geoffray [Thu, 1 Oct 2015 10:43:53 +0000 (10:43 +0000)]
am 47b1416f: Merge "Fix poisoining bug in arm64."

* commit '47b1416fdef714ac427db3728b5e05215bd5df0a':
  Fix poisoining bug in arm64.

8 years agoMerge "Fix poisoining bug in arm64."
Nicolas Geoffray [Thu, 1 Oct 2015 10:41:17 +0000 (10:41 +0000)]
Merge "Fix poisoining bug in arm64."

8 years agoDon't force the boot image to using quick.
Nicolas Geoffray [Thu, 1 Oct 2015 09:32:19 +0000 (10:32 +0100)]
Don't force the boot image to using quick.

Instead, put the debuggable flag.

Also, remove obsolete ART_USE_OPTIMIZING_COMPILER environment
variable.

Change-Id: Idde00da0d063aa461faa0308134f3b420de9fe0a

8 years agoFix poisoining bug in arm64.
Nicolas Geoffray [Thu, 1 Oct 2015 09:27:52 +0000 (10:27 +0100)]
Fix poisoining bug in arm64.

Change-Id: I30ca7f237009d81c9d83fabb6a4c76bf4c74d451

8 years agoam 59349e6a: Merge "Mark one more Checker test broken for mips32"
David Brazdil [Thu, 1 Oct 2015 09:03:44 +0000 (09:03 +0000)]
am 59349e6a: Merge "Mark one more Checker test broken for mips32"

* commit '59349e6a67c8c95e35439c2a8097846886ae5ced':
  Mark one more Checker test broken for mips32

8 years agoMerge "Mark one more Checker test broken for mips32"
David Brazdil [Thu, 1 Oct 2015 08:57:17 +0000 (08:57 +0000)]
Merge "Mark one more Checker test broken for mips32"

8 years agoMark one more Checker test broken for mips32
David Brazdil [Thu, 1 Oct 2015 08:55:45 +0000 (09:55 +0100)]
Mark one more Checker test broken for mips32

Change-Id: I5289e91ff4b8bc530530eef000091c52f96fcc45

8 years agoam dc2ce636: Merge "Optimize ArraySet for x86/x64/arm/arm64."
Nicolas Geoffray [Thu, 1 Oct 2015 07:38:18 +0000 (07:38 +0000)]
am dc2ce636: Merge "Optimize ArraySet for x86/x64/arm/arm64."

* commit 'dc2ce636d6a98118a5998b93da161ef7840ec645':
  Optimize ArraySet for x86/x64/arm/arm64.

8 years agoMerge "Optimize ArraySet for x86/x64/arm/arm64."
Nicolas Geoffray [Thu, 1 Oct 2015 07:34:40 +0000 (07:34 +0000)]
Merge "Optimize ArraySet for x86/x64/arm/arm64."

8 years agoRevert "Revert "ART: Remove unnecessary SHARED_REQUIRES in ArtMethod""
Andreas Gampe [Wed, 30 Sep 2015 20:05:24 +0000 (20:05 +0000)]
Revert "Revert "ART: Remove unnecessary SHARED_REQUIRES in ArtMethod""

This reverts commit 38b8287004770e4d20dcc0e0fe4697060917ec72.

Do not always use ScopedObjectAccess. The GC might call this during
sanity checking, at which point the state is not runnable, but the
mutator lock is still held.

Currently needs an ugly NO_THREAD_SAFETY_ANALYSIS helper, as the
assert isn't correctly handled (establishing the held mutator lock).

Change-Id: Ie79e85e2afedc9b989382d88155b09e426fe7f75

8 years agoam d1169045: Merge "ART: Fix test"
Andreas Gampe [Thu, 1 Oct 2015 00:35:17 +0000 (00:35 +0000)]
am d1169045: Merge "ART: Fix test"

* commit 'd1169045e978c8c9dde98315612c488c6bb153f4':
  ART: Fix test

8 years agoMerge "ART: Fix test"
Andreas Gampe [Thu, 1 Oct 2015 00:30:40 +0000 (00:30 +0000)]
Merge "ART: Fix test"

8 years agoART: Fix test
Andreas Gampe [Thu, 1 Oct 2015 00:25:15 +0000 (17:25 -0700)]
ART: Fix test

Fix a missing rename after 89df7bfc41a4de9685f84e7db07f77db3fd485fc.

Change-Id: I67c8dfd45ff9d4d6b6b005df20c17ba4e453c378

8 years agoam 5df7f784: Merge "ART: Refactor libarttest C++ code"
Andreas Gampe [Wed, 30 Sep 2015 23:43:58 +0000 (23:43 +0000)]
am 5df7f784: Merge "ART: Refactor libarttest C++ code"

* commit '5df7f784407e963280c4fc2bca18b17834b0f268':
  ART: Refactor libarttest C++ code

8 years agoMerge "ART: Refactor libarttest C++ code"
Andreas Gampe [Wed, 30 Sep 2015 22:09:41 +0000 (22:09 +0000)]
Merge "ART: Refactor libarttest C++ code"

8 years agoam 46dcaf93: Merge "Tidy up spelling"
Kenny Root [Wed, 30 Sep 2015 21:47:43 +0000 (21:47 +0000)]
am 46dcaf93: Merge "Tidy up spelling"

* commit '46dcaf9350c7571fe07098c6de2f8da24a2c3e2c':
  Tidy up spelling

8 years agoMerge "Tidy up spelling"
Kenny Root [Wed, 30 Sep 2015 21:42:02 +0000 (21:42 +0000)]
Merge "Tidy up spelling"

8 years agoam 883dc19b: Merge "Use free lists instead of bitmaps within rosalloc runs."
Hiroshi Yamauchi [Wed, 30 Sep 2015 21:39:04 +0000 (21:39 +0000)]
am 883dc19b: Merge "Use free lists instead of bitmaps within rosalloc runs."

* commit '883dc19b542c7580734f1c8757dbb6d0bf3f23a5':
  Use free lists instead of bitmaps within rosalloc runs.

8 years agoMerge "Use free lists instead of bitmaps within rosalloc runs."
Hiroshi Yamauchi [Wed, 30 Sep 2015 21:33:53 +0000 (21:33 +0000)]
Merge "Use free lists instead of bitmaps within rosalloc runs."

8 years agoUse free lists instead of bitmaps within rosalloc runs.
Hiroshi Yamauchi [Thu, 24 Sep 2015 18:20:29 +0000 (11:20 -0700)]
Use free lists instead of bitmaps within rosalloc runs.

Speedups (CMS GC/N5)
BinaryTrees:  2008 -> 1694 ms (-16%)
MemAllocTest: 2303 -> 2076 ms (-10%)

TODO: Add assembly fast path code.

Bug: 9986565

Change-Id: I9dd7cbfd8e1ae083a399e70abaf2064a959f24fa

8 years agoART: Refactor libarttest C++ code
Andreas Gampe [Wed, 30 Sep 2015 20:13:21 +0000 (13:13 -0700)]
ART: Refactor libarttest C++ code

Refactor some libarttest JNI functions into a common directory, so
they can be easily used by multiple tests without code duplication.
This is preparation for better deoptimization state testing.

Change-Id: I43f7340b699b26930aabfd665c707e0485b17fc8

8 years agoTidy up spelling
Kenny Root [Wed, 30 Sep 2015 20:09:51 +0000 (13:09 -0700)]
Tidy up spelling

To match the directory "compiler/optimizing" change the spelling of
comments.

Change-Id: I816da4836ce86f4a44ddd2754d8e788d77a27de3

8 years agoam 3f8cc8d3: Merge "Revert "Revert "Keep internal stack trace methods declaring class...
Mathieu Chartier [Wed, 30 Sep 2015 20:04:48 +0000 (20:04 +0000)]
am 3f8cc8d3: Merge "Revert "Revert "Keep internal stack trace methods declaring classes live"""

* commit '3f8cc8d3454c6289a0b2171000a34bf2297def10':
  Revert "Revert "Keep internal stack trace methods declaring classes live""

8 years agoam 0dbcaee5: Merge "Don\'t use floating point callee saves in debuggable."
Nicolas Geoffray [Wed, 30 Sep 2015 20:04:47 +0000 (20:04 +0000)]
am 0dbcaee5: Merge "Don\'t use floating point callee saves in debuggable."

* commit '0dbcaee559dc6005dec335119982b73692300e45':
  Don't use floating point callee saves in debuggable.

8 years agoam a841bc3f: Merge "Optimizing: Tag even more arena allocations."
Vladimir Marko [Wed, 30 Sep 2015 20:04:45 +0000 (20:04 +0000)]
am a841bc3f: Merge "Optimizing: Tag even more arena allocations."

* commit 'a841bc3fb000a9cdbbb7b3cedf2cb7a11e2c82ce':
  Optimizing: Tag even more arena allocations.

8 years agoam 25255512: Merge "Implemented trip-count safety information."
Aart Bik [Wed, 30 Sep 2015 20:04:44 +0000 (20:04 +0000)]
am 25255512: Merge "Implemented trip-count safety information."

* commit '25255512bae64fefc5cb76b1590e8e9c1dd42e82':
  Implemented trip-count safety information.

8 years agoMerge "Revert "Revert "Keep internal stack trace methods declaring classes live"""
Mathieu Chartier [Wed, 30 Sep 2015 18:34:18 +0000 (18:34 +0000)]
Merge "Revert "Revert "Keep internal stack trace methods declaring classes live"""

8 years agoMerge "Don't use floating point callee saves in debuggable."
Nicolas Geoffray [Wed, 30 Sep 2015 17:48:51 +0000 (17:48 +0000)]
Merge "Don't use floating point callee saves in debuggable."

8 years agoMerge "Optimizing: Tag even more arena allocations."
Vladimir Marko [Wed, 30 Sep 2015 17:46:01 +0000 (17:46 +0000)]
Merge "Optimizing: Tag even more arena allocations."

8 years agoDon't use floating point callee saves in debuggable.
Nicolas Geoffray [Wed, 30 Sep 2015 16:18:14 +0000 (17:18 +0100)]
Don't use floating point callee saves in debuggable.

The runtime stubs don't save them, so GetVReg and SetVReg
won't work on them.

Not having callee saves will increase code size and reduce
performance of fp-heavy methods. But we need to do it for
propper debugging.

Change-Id: I40354c29718af49b6b3adf61d724d3bb93680107

8 years agoOptimize ArraySet for x86/x64/arm/arm64.
Nicolas Geoffray [Fri, 25 Sep 2015 10:04:45 +0000 (11:04 +0100)]
Optimize ArraySet for x86/x64/arm/arm64.

Change-Id: I5bc8c6adf7f82f3b211f0c21067f5bb54dd0c040

8 years agoMerge "Implemented trip-count safety information."
Aart Bik [Wed, 30 Sep 2015 17:23:55 +0000 (17:23 +0000)]
Merge "Implemented trip-count safety information."

8 years agoRevert "Revert "Keep internal stack trace methods declaring classes live""
Mathieu Chartier [Wed, 30 Sep 2015 16:24:22 +0000 (09:24 -0700)]
Revert "Revert "Keep internal stack trace methods declaring classes live""

Fixed some code which used old stack trace representation in throwable.cc.

Bug: 22720414

This reverts commit 45a8522898702f6a725ae19d97bceedc8fc609a6.

Change-Id: I7385075caf649ce76da5d8866fd0031b9e8e5ef4

8 years agoImplemented trip-count safety information.
Aart Bik [Mon, 28 Sep 2015 23:25:56 +0000 (16:25 -0700)]
Implemented trip-count safety information.

As shown in the induction analysis presentation, trip-counts need to
deal with potential taken/not-taken situations (so that trip-count
is either valid in the full loop or just in the loop-body proper)
and potential finite/infinite situations (the latter can still be
analyzed but may need to run-time test later to guard against the
infinite conditions). This CL provides that information.

Change-Id: I0445d8e836b80a3614af217ce3e39d766e77b986

8 years agoam 63878212: Merge "Make libcore timeout the same for all runs."
Nicolas Geoffray [Wed, 30 Sep 2015 12:46:17 +0000 (12:46 +0000)]
am 63878212: Merge "Make libcore timeout the same for all runs."

* commit '6387821209a03c5d873cf9dc6fd11434918bbdf4':
  Make libcore timeout the same for all runs.

8 years agoMerge "Make libcore timeout the same for all runs."
Nicolas Geoffray [Wed, 30 Sep 2015 12:41:47 +0000 (12:41 +0000)]
Merge "Make libcore timeout the same for all runs."

8 years agoam 97c25031: Merge "ART: Mark Checker tests broken for mips32"
David Brazdil [Wed, 30 Sep 2015 11:04:38 +0000 (11:04 +0000)]
am 97c25031: Merge "ART: Mark Checker tests broken for mips32"

* commit '97c25031426ce995058b359b1c544799d322b551':
  ART: Mark Checker tests broken for mips32

8 years agoMake libcore timeout the same for all runs.
Nicolas Geoffray [Wed, 30 Sep 2015 11:02:21 +0000 (12:02 +0100)]
Make libcore timeout the same for all runs.

Looks like our mips32 devices need it too. Simply make
the timeout big enough for all run kinds.

Change-Id: I48a87eaef36c05e09c7ad82aaa003c7eb0d1ad6d

8 years agoMerge "ART: Mark Checker tests broken for mips32"
David Brazdil [Wed, 30 Sep 2015 10:59:28 +0000 (10:59 +0000)]
Merge "ART: Mark Checker tests broken for mips32"

8 years agoART: Mark Checker tests broken for mips32
David Brazdil [Wed, 30 Sep 2015 10:47:35 +0000 (11:47 +0100)]
ART: Mark Checker tests broken for mips32

We don't have a mips32 backend at the moment, so there is no graph
dump to run Checker on.

Change-Id: I9c90b93811aa7bbc849575ac1836c2d85da7e9ac

8 years agoam a39ce124: Merge "Revert "Revert "Enable optimizations with --debuggable."""
Nicolas Geoffray [Wed, 30 Sep 2015 09:23:49 +0000 (09:23 +0000)]
am a39ce124: Merge "Revert "Revert "Enable optimizations with --debuggable."""

* commit 'a39ce12465acae0e594b1fef10225057737aeba4':
  Revert "Revert "Enable optimizations with --debuggable.""

8 years agoMerge "Revert "Revert "Enable optimizations with --debuggable."""
Nicolas Geoffray [Wed, 30 Sep 2015 09:20:32 +0000 (09:20 +0000)]
Merge "Revert "Revert "Enable optimizations with --debuggable."""

8 years agoam 84128f7e: Merge "Add deoptimization test."
Nicolas Geoffray [Wed, 30 Sep 2015 09:04:28 +0000 (09:04 +0000)]
am 84128f7e: Merge "Add deoptimization test."

* commit '84128f7ed681b3c08a7cfba1031c13c17db462d0':
  Add deoptimization test.

8 years agoMerge "Add deoptimization test."
Nicolas Geoffray [Wed, 30 Sep 2015 08:15:15 +0000 (08:15 +0000)]
Merge "Add deoptimization test."

8 years agoRevert "Revert "Enable optimizations with --debuggable.""
Nicolas Geoffray [Tue, 29 Sep 2015 18:00:03 +0000 (18:00 +0000)]
Revert "Revert "Enable optimizations with --debuggable.""

This reverts commit b7d27a53cb280a943c0a63a9e0806cf8e3ae4cde.

Change-Id: I398c23863e4fd86a3112076417378d22efd08306

8 years agoam d2aaf5c1: Merge "Revert "Keep internal stack trace methods declaring classes live""
Nicolas Geoffray [Wed, 30 Sep 2015 07:27:15 +0000 (07:27 +0000)]
am d2aaf5c1: Merge "Revert "Keep internal stack trace methods declaring classes live""

* commit 'd2aaf5c103ea7792854b18150284762f98132287':
  Revert "Keep internal stack trace methods declaring classes live"

8 years agoMerge "Revert "Keep internal stack trace methods declaring classes live""
Nicolas Geoffray [Wed, 30 Sep 2015 07:20:50 +0000 (07:20 +0000)]
Merge "Revert "Keep internal stack trace methods declaring classes live""

8 years agoRevert "Keep internal stack trace methods declaring classes live"
Nicolas Geoffray [Wed, 30 Sep 2015 07:20:13 +0000 (07:20 +0000)]
Revert "Keep internal stack trace methods declaring classes live"

Breaks jdwp tests.

Bug: 22720414

This reverts commit 566fc926942ed57925627d1bd43e099938084f1e.

Change-Id: Ic3544e86af35bf748f9d47e0a4077dcdc206a821