OSDN Git Service

android-x86/art.git
7 years agoART: Stack locals am: f10dfcdb76
Andreas Gampe [Mon, 12 Dec 2016 21:50:51 +0000 (21:50 +0000)]
ART: Stack locals am: f10dfcdb76
am: 19a970d771

Change-Id: I0a7bbb1e5e53e9c4608207d01c76f63c52960b13

7 years agoART: Add precise root visiting am: 585da955bc
Andreas Gampe [Mon, 12 Dec 2016 21:50:43 +0000 (21:50 +0000)]
ART: Add precise root visiting am: 585da955bc
am: 96d174d1f8

Change-Id: I4f735069322426612ddc0b449bc0c6ab21da781c

7 years agoMerge "Disable test 964 with no-image" am: d9fb4dd3f9
Alex Light [Mon, 12 Dec 2016 21:45:28 +0000 (21:45 +0000)]
Merge "Disable test 964 with no-image" am: d9fb4dd3f9
am: 7af0c534cf

Change-Id: Ia439f4420259ac64b0ff325d3edb7be44a301fb0

7 years agoART: Stack locals
Andreas Gampe [Mon, 12 Dec 2016 21:45:23 +0000 (21:45 +0000)]
ART: Stack locals
am: f10dfcdb76

Change-Id: I1a3b0eb5f7a55602bc7606c2d7097f0f58271704

7 years agoART: Add precise root visiting
Andreas Gampe [Mon, 12 Dec 2016 21:45:13 +0000 (21:45 +0000)]
ART: Add precise root visiting
am: 585da955bc

Change-Id: I3dca109401326b4494de963d37c490f2185beb61

7 years agoMerge "ART: Report cputime in dex2oat" am: 3c7b8f4c45
Andreas Gampe [Mon, 12 Dec 2016 21:45:12 +0000 (21:45 +0000)]
Merge "ART: Report cputime in dex2oat" am: 3c7b8f4c45
am: 1d0095825d

Change-Id: I61ce6121f4ef804cb7b90ba12bdbc8c0c907fb8d

7 years agoMerge "Disable test 964 with no-image"
Alex Light [Mon, 12 Dec 2016 21:39:32 +0000 (21:39 +0000)]
Merge "Disable test 964 with no-image"
am: d9fb4dd3f9

Change-Id: I398437a3be31d2913de3209c65d3c73885ec4ea2

7 years agoMerge "ART: Report cputime in dex2oat"
Andreas Gampe [Mon, 12 Dec 2016 21:39:16 +0000 (21:39 +0000)]
Merge "ART: Report cputime in dex2oat"
am: 3c7b8f4c45

Change-Id: Ib1709151de04c20b452580a2e4c2a7ea36f9cb5f

7 years agoMerge "Disable test 964 with no-image"
Alex Light [Mon, 12 Dec 2016 21:33:25 +0000 (21:33 +0000)]
Merge "Disable test 964 with no-image"

7 years agoMerge "ART: Report cputime in dex2oat"
Treehugger Robot [Mon, 12 Dec 2016 21:29:20 +0000 (21:29 +0000)]
Merge "ART: Report cputime in dex2oat"

7 years agoART: Stack locals
Andreas Gampe [Fri, 2 Dec 2016 22:42:33 +0000 (14:42 -0800)]
ART: Stack locals

Add reporting of stack-locals roots. Use the new
precise root visiting to get dalvik register
information for compiled frames.

Bug: 31385354
Test: m test-art-host-run-test-913-heaps
Change-Id: Ieb86f67829e546692c30faa08eb44e8dcf2b2c6a

7 years agoART: Add precise root visiting
Andreas Gampe [Fri, 2 Dec 2016 22:52:29 +0000 (14:52 -0800)]
ART: Add precise root visiting

Add VisitRootFlags::kVisitRootFlagPrecise to signal a
request for precise RootInfo objects.

Move VisitRootFlags to gc_root.h. Refactor VisitRoot
functions to pass flags. Add code in Thread visiting
to decode vregs in compiled code.

Bug: 31385354
Test: m test-art-host
Change-Id: I8e7280f0ab682871f729f2a1c6b18670cf2dbf82

7 years agoMerge "ART: Implement FollowReferences for initial object" am: ce29d18139
Andreas Gampe [Mon, 12 Dec 2016 19:35:04 +0000 (19:35 +0000)]
Merge "ART: Implement FollowReferences for initial object" am: ce29d18139
am: e70e46afb6

Change-Id: Ief02c6b4d7a5b4c56bb66ba78aaa9c54fdd0a1a2

7 years agoMerge "ART: Implement FollowReferences for initial object"
Andreas Gampe [Mon, 12 Dec 2016 19:29:03 +0000 (19:29 +0000)]
Merge "ART: Implement FollowReferences for initial object"
am: ce29d18139

Change-Id: I350196d99ee333320aeda6bced525dcac382bad9

7 years agoART: Report cputime in dex2oat
Andreas Gampe [Wed, 16 Jul 2014 16:57:39 +0000 (09:57 -0700)]
ART: Report cputime in dex2oat

Add ProcessCpuNanoTime. Log cputime in dex2oat completion message.

Sample:

 dex2oat took 20.036s(64.843s cpu) (threads: 48) arena alloc=25MB (26760672B) java alloc=2MB (2311688B) native alloc=44MB (46792784B) free=35MB (37502896B)

Test: m test-art-host
Change-Id: I78646c4808c8205f7f8e7995a82a1ba63cd15298

7 years agoMerge "ART: Implement FollowReferences for initial object"
Treehugger Robot [Mon, 12 Dec 2016 19:16:43 +0000 (19:16 +0000)]
Merge "ART: Implement FollowReferences for initial object"

7 years agoMerge "Use store release for resolved types" am: 7d785fca4f
Mathieu Chartier [Mon, 12 Dec 2016 18:46:04 +0000 (18:46 +0000)]
Merge "Use store release for resolved types" am: 7d785fca4f
am: afe7270684

Change-Id: I96ae60263063e098e246ef9bcb8355ccc56cda92

7 years agoDisable test 964 with no-image
Alex Light [Mon, 12 Dec 2016 18:39:50 +0000 (10:39 -0800)]
Disable test 964 with no-image

It often times out due to the large number of classes involved in the
test. Since it doesn't test anything particularly interesting for the
no-image case we are disabling it to reduce flakiness.

Test: TEST_ART_RUN_TEST_NO_IMAGE=true mma -j40 test-art-host
Change-Id: I9e51481e52dd1eb332d7563795f490b0e97001a5

7 years agoMerge "Use store release for resolved types"
Mathieu Chartier [Mon, 12 Dec 2016 18:39:01 +0000 (18:39 +0000)]
Merge "Use store release for resolved types"
am: 7d785fca4f

Change-Id: I33d3cc9daeedf6f63c5a2f2c97bf5abea39cce3b

7 years agoMerge "Use store release for resolved types"
Mathieu Chartier [Mon, 12 Dec 2016 18:32:57 +0000 (18:32 +0000)]
Merge "Use store release for resolved types"

7 years agoMerge "Revert "Add kJitTableAddress for HLoadClass."" am: 4dd3f7d2e9
Nicolas Geoffray [Mon, 12 Dec 2016 16:44:00 +0000 (16:44 +0000)]
Merge "Revert "Add kJitTableAddress for HLoadClass."" am: 4dd3f7d2e9
am: a7f380facb

Change-Id: I769694709150e857a6189cff5bc09db78afdb8bd

7 years agoMerge "Revert "Add kJitTableAddress for HLoadClass.""
Nicolas Geoffray [Mon, 12 Dec 2016 16:37:28 +0000 (16:37 +0000)]
Merge "Revert "Add kJitTableAddress for HLoadClass.""
am: 4dd3f7d2e9

Change-Id: Ib55836b23c6cb5d61c09ef3d0b7dd45ee90915db

7 years agoMerge "Revert "Add kJitTableAddress for HLoadClass.""
Nicolas Geoffray [Mon, 12 Dec 2016 16:29:18 +0000 (16:29 +0000)]
Merge "Revert "Add kJitTableAddress for HLoadClass.""

7 years agoRevert "Add kJitTableAddress for HLoadClass."
Nicolas Geoffray [Mon, 12 Dec 2016 16:28:54 +0000 (16:28 +0000)]
Revert "Add kJitTableAddress for HLoadClass."

One test failure after merge.

This reverts commit 5b12f7973636bfea29da3956a9baa7a6bbe2b666.

Change-Id: I120c49e53274471fc1c82a10d52e99c83f5f85cc

7 years agoMerge "Add kJitTableAddress for HLoadClass." am: 7d81bf2c9d
Nicolas Geoffray [Mon, 12 Dec 2016 15:37:22 +0000 (15:37 +0000)]
Merge "Add kJitTableAddress for HLoadClass." am: 7d81bf2c9d
am: 72c25940b7

Change-Id: Ie98f521889cfe38313e50e0d6d792e6bd6c4c5a2

7 years agoMerge "Add kJitTableAddress for HLoadClass."
Nicolas Geoffray [Mon, 12 Dec 2016 15:30:51 +0000 (15:30 +0000)]
Merge "Add kJitTableAddress for HLoadClass."
am: 7d81bf2c9d

Change-Id: If90c5e91c2be184f5c521d881e2a060830750eb6

7 years agoMerge "Add kJitTableAddress for HLoadClass."
Nicolas Geoffray [Mon, 12 Dec 2016 15:26:10 +0000 (15:26 +0000)]
Merge "Add kJitTableAddress for HLoadClass."

7 years agoAdd kJitTableAddress for HLoadClass.
Nicolas Geoffray [Fri, 9 Dec 2016 11:26:35 +0000 (11:26 +0000)]
Add kJitTableAddress for HLoadClass.

This new kind loads classes from the root table associated with
JIT compiled code.

Also remove kDexCacheAddress, which is replaced by kJitTableAddress.

test: ART_TEST_JIT=true test-art-host-jit test-art-target-jit
Change-Id: Ia23029688d1a60c178bf2ffa7463927c5d5de4d0

7 years agoMerge "Revert "Revert "ARM: VIXL32: Use DontCare for SetFlags + fix for GenerateFrame...
Nicolas Geoffray [Mon, 12 Dec 2016 10:43:52 +0000 (10:43 +0000)]
Merge "Revert "Revert "ARM: VIXL32: Use DontCare for SetFlags + fix for GenerateFrameEntry.""" am: c836b5a8a5
am: c0e81e3b14

Change-Id: I27bb93eb6b1a41a15d38f44ffc99c11608c05a25

7 years agoMerge "Revert^8 "Make sure that const-class linkage is preserved."" am: 726e517305
Vladimir Marko [Mon, 12 Dec 2016 10:43:35 +0000 (10:43 +0000)]
Merge "Revert^8 "Make sure that const-class linkage is preserved."" am: 726e517305
am: cc17df57df

Change-Id: Id8e64545e8c8a6ce1eb7453434afa9c310ffa9ae

7 years agoMerge "Revert "Revert "ARM: VIXL32: Use DontCare for SetFlags + fix for GenerateFrame...
Nicolas Geoffray [Mon, 12 Dec 2016 10:37:25 +0000 (10:37 +0000)]
Merge "Revert "Revert "ARM: VIXL32: Use DontCare for SetFlags + fix for GenerateFrameEntry."""
am: c836b5a8a5

Change-Id: I99d7792e8107b29aea43355851f74f58ccf55d0d

7 years agoMerge "Revert^8 "Make sure that const-class linkage is preserved.""
Vladimir Marko [Mon, 12 Dec 2016 10:37:05 +0000 (10:37 +0000)]
Merge "Revert^8 "Make sure that const-class linkage is preserved.""
am: 726e517305

Change-Id: I4eee4925831c3366e413b48e92c75c068a312b0a

7 years agoMerge "Use System.out only." am: bf4e45476d
Nicolas Geoffray [Mon, 12 Dec 2016 10:30:34 +0000 (10:30 +0000)]
Merge "Use System.out only." am: bf4e45476d
am: a88879327e

Change-Id: I60cae80d40c3602fd12553939595c28a1f3f6849

7 years agoMerge "Revert "Revert "ARM: VIXL32: Use DontCare for SetFlags + fix for GenerateFrame...
Nicolas Geoffray [Mon, 12 Dec 2016 10:30:24 +0000 (10:30 +0000)]
Merge "Revert "Revert "ARM: VIXL32: Use DontCare for SetFlags + fix for GenerateFrameEntry."""

7 years agoMerge "Revert^8 "Make sure that const-class linkage is preserved.""
Vladimir Marko [Mon, 12 Dec 2016 10:29:49 +0000 (10:29 +0000)]
Merge "Revert^8 "Make sure that const-class linkage is preserved.""

7 years agoMerge "Use System.out only."
Nicolas Geoffray [Mon, 12 Dec 2016 10:24:33 +0000 (10:24 +0000)]
Merge "Use System.out only."
am: bf4e45476d

Change-Id: I511dd09e4b44374e7d4888944288de268b81c003

7 years agoMerge "Use System.out only."
Nicolas Geoffray [Mon, 12 Dec 2016 10:17:56 +0000 (10:17 +0000)]
Merge "Use System.out only."

7 years agoUse System.out only.
Nicolas Geoffray [Sun, 11 Dec 2016 22:05:15 +0000 (22:05 +0000)]
Use System.out only.

Otherwise streams can get interleaved when printing.

test: 956-methodhandles
Change-Id: Ie734e24ed5bb73786e1972df784b365176bfd593

7 years agoART: Implement FollowReferences for initial object
Andreas Gampe [Sat, 3 Dec 2016 03:11:17 +0000 (19:11 -0800)]
ART: Implement FollowReferences for initial object

Add code for FollowReferences with initial object. Simply skip
root visiting and add the initial object to the work list.

Bug: 31385354
Test: m test-art-host-run-test-913-heaps
Change-Id: I7d2a852fac54b13219df975d131f5b95e8094d9b

7 years agoUse store release for resolved types
Mathieu Chartier [Wed, 7 Dec 2016 00:02:27 +0000 (16:02 -0800)]
Use store release for resolved types

For DefineClass, use a release store for SetResolvedType. This is
done to prevent other threads from seeing a class but not necessarily
seeing the loaded members like the static fields array.

It is theorized that a load acquire is not required since obtaining
the resolved class will always have an address depedency or a lock.

Bug: 32075261

Test: test-art-host

Change-Id: I8ab18edc2cc7c9eb4a30897903d5cf1c7f9eb24e

7 years agoMerge "Added polynomial induction variables analysis. With tests." am: 57096b7231
Aart Bik [Fri, 9 Dec 2016 22:01:49 +0000 (22:01 +0000)]
Merge "Added polynomial induction variables analysis. With tests." am: 57096b7231
am: c8b31039d9

Change-Id: I45b4f0a96a09639f9737e75eff1a2659532e8dc3

7 years agoMerge "Added polynomial induction variables analysis. With tests."
Aart Bik [Fri, 9 Dec 2016 21:56:17 +0000 (21:56 +0000)]
Merge "Added polynomial induction variables analysis. With tests."
am: 57096b7231

Change-Id: I279b7719950eaa64921f70f43568a51ea74c0328

7 years agoMerge "Added polynomial induction variables analysis. With tests."
Treehugger Robot [Fri, 9 Dec 2016 21:48:43 +0000 (21:48 +0000)]
Merge "Added polynomial induction variables analysis. With tests."

7 years agoAdded polynomial induction variables analysis. With tests.
Aart Bik [Tue, 6 Dec 2016 18:05:30 +0000 (10:05 -0800)]
Added polynomial induction variables analysis. With tests.

Rationale:
Information on polynomial sequences is nice to further enhance
BCE and last-value assignment. In this case, this CL enables more
loop optimizations for benchpress' Sum (80 x speedup). Also
changed rem-based geometric induction to wrap-around induction.

Test: test-art-host

Change-Id: Ie4d2659edefb814edda2c971c1f70ba400c31111

7 years agoMerge "Clean up Class::GetDirectInterface()." am: 88e9168c5c
Vladimir Marko [Fri, 9 Dec 2016 15:50:26 +0000 (15:50 +0000)]
Merge "Clean up Class::GetDirectInterface()." am: 88e9168c5c
am: d70dccf5e2

Change-Id: I66a1208eb7cdf3db8915fbd90c40cfd0950c884d

7 years agoMerge "Clean up Class::GetDirectInterface()."
Vladimir Marko [Fri, 9 Dec 2016 15:44:26 +0000 (15:44 +0000)]
Merge "Clean up Class::GetDirectInterface()."
am: 88e9168c5c

Change-Id: I112269a5b34bdb06f10390af9d5c9125a223aa98

7 years agoMerge "Clean up Class::GetDirectInterface()."
Vladimir Marko [Fri, 9 Dec 2016 15:36:53 +0000 (15:36 +0000)]
Merge "Clean up Class::GetDirectInterface()."

7 years agoClean up Class::GetDirectInterface().
Vladimir Marko [Thu, 8 Dec 2016 14:41:46 +0000 (14:41 +0000)]
Clean up Class::GetDirectInterface().

Once the `klass` has been resolved, this function should not
need to resolve interface types anymore. Drop the type
resolution from this function and pass the Class as ObjPtr<>
instead of Handle<>. Make callers that expect non-null
result DCHECK() that assumption. For the callers that may
actually need to resolve these interface classes, introduce
a new function ResolveDirectInterface().

Also improve ObjPtr<> constructors and assignment operator
to improve overload resolution. For example, if we have
foo(ObjPtr<T1>) and foo(ObjPtr<T2>), calling foo(.) with
a T1* would have previously been ambiguous even if T1 is
not a base of T2.

Test: m test-art-host
Change-Id: Iff44a7285f68f0af4507fc9ba37343865422fe84

7 years agoRevert^8 "Make sure that const-class linkage is preserved."
Vladimir Marko [Fri, 9 Dec 2016 10:20:54 +0000 (10:20 +0000)]
Revert^8 "Make sure that const-class linkage is preserved."

Replaced two ReaderMutexLocks with WriterMutexLocks.
Removed some unnecessary debugging output.

Test: m test-art-host
Bug: 30627598
Original-Change-Id: Ie9b721464b4e9a5dcce8df8095548e983bba1fe8

This reverts commit 2c8c6b63da6ecb2ac701cc30f9b4fa4a8eea5cc8.

Change-Id: I3a1aeecf64e4b202cef61cceb248d48106a2f4a6

7 years agoMerge "ARM: VIXL32: Implement read barriers." am: f3dcdd9e24
Nicolas Geoffray [Fri, 9 Dec 2016 11:35:40 +0000 (11:35 +0000)]
Merge "ARM: VIXL32: Implement read barriers." am: f3dcdd9e24
am: ff5b086126

Change-Id: I7463a21d84535b3ab121e78498b26cec92dfadf1

7 years agoMerge "ARM: VIXL32: Implement read barriers."
Nicolas Geoffray [Fri, 9 Dec 2016 11:31:10 +0000 (11:31 +0000)]
Merge "ARM: VIXL32: Implement read barriers."
am: f3dcdd9e24

Change-Id: Ibe808c4b576f23c1628ba2efded04d65a80cf45f

7 years agoMerge "ARM: VIXL32: Implement read barriers."
Nicolas Geoffray [Fri, 9 Dec 2016 11:23:42 +0000 (11:23 +0000)]
Merge "ARM: VIXL32: Implement read barriers."

7 years agoMerge "Revert "ART: Remove workaround in verifer after Jack update."" am: aea9ffece7
Orion Hodson [Thu, 8 Dec 2016 14:38:55 +0000 (14:38 +0000)]
Merge "Revert "ART: Remove workaround in verifer after Jack update."" am: aea9ffece7
am: b115a80c1b

Change-Id: Ic6acec772d313c56c3c8f2b158ed9d12dde65855

7 years agoMerge "Revert "ART: Remove workaround in verifer after Jack update.""
Orion Hodson [Thu, 8 Dec 2016 14:34:26 +0000 (14:34 +0000)]
Merge "Revert "ART: Remove workaround in verifer after Jack update.""
am: aea9ffece7

Change-Id: Ia9fd8a6ee73b56ef10601f5b489dccceb9d987d8

7 years agoMerge "Revert "ART: Remove workaround in verifer after Jack update.""
Orion Hodson [Thu, 8 Dec 2016 14:26:09 +0000 (14:26 +0000)]
Merge "Revert "ART: Remove workaround in verifer after Jack update.""

7 years agoMerge "Add libstdc++ as a dependency for build-target-art-golem." am: b671dcff59
Nicolas Geoffray [Thu, 8 Dec 2016 14:20:25 +0000 (14:20 +0000)]
Merge "Add libstdc++ as a dependency for build-target-art-golem." am: b671dcff59
am: aea3766a92

Change-Id: Ie1d5334a3a3e4dc182134561e4bf96fb9b448255

7 years agoMerge "Add libstdc++ as a dependency for build-target-art-golem."
Nicolas Geoffray [Thu, 8 Dec 2016 14:15:54 +0000 (14:15 +0000)]
Merge "Add libstdc++ as a dependency for build-target-art-golem."
am: b671dcff59

Change-Id: Ic8d150248edb5dd6948d05f5b8a9e33a3fe74d36

7 years agoRevert "ART: Remove workaround in verifer after Jack update."
Orion Hodson [Thu, 8 Dec 2016 14:15:25 +0000 (14:15 +0000)]
Revert "ART: Remove workaround in verifer after Jack update."

This reverts commit 1aab04df52529d3cabe28fd9f0cb008bf8180a56.

Change-Id: Ifecad6a16f2c6dfeea99adcdca7da05fb71592a8

7 years agoMerge "Add libstdc++ as a dependency for build-target-art-golem."
Nicolas Geoffray [Thu, 8 Dec 2016 14:11:10 +0000 (14:11 +0000)]
Merge "Add libstdc++ as a dependency for build-target-art-golem."

7 years agoAdd libstdc++ as a dependency for build-target-art-golem.
Nicolas Geoffray [Thu, 8 Dec 2016 13:49:54 +0000 (13:49 +0000)]
Add libstdc++ as a dependency for build-target-art-golem.

Needed for running with ART_TARGET_LINUX=true

Test: builds and runs.
Change-Id: Idf74eff0a4114952b71781ed80de5bbe75f666ae

7 years agoMerge "ART: Remove workaround in verifer after Jack update." am: e063a7f0f8
Orion Hodson [Thu, 8 Dec 2016 13:01:22 +0000 (13:01 +0000)]
Merge "ART: Remove workaround in verifer after Jack update." am: e063a7f0f8
am: 178908181d

Change-Id: Ic91a4dfe25a54d5b1b81112e926fcc9b069317e3

7 years agoMerge "ART: Remove workaround in verifer after Jack update."
Orion Hodson [Thu, 8 Dec 2016 12:56:51 +0000 (12:56 +0000)]
Merge "ART: Remove workaround in verifer after Jack update."
am: e063a7f0f8

Change-Id: I12f71bbf4abc8b840efa39aa327c833d52709e92

7 years agoMerge "ART: Remove workaround in verifer after Jack update."
Orion Hodson [Thu, 8 Dec 2016 12:49:46 +0000 (12:49 +0000)]
Merge "ART: Remove workaround in verifer after Jack update."

7 years agoART: Remove workaround in verifer after Jack update.
Orion Hodson [Thu, 8 Dec 2016 10:29:53 +0000 (10:29 +0000)]
ART: Remove workaround in verifer after Jack update.

Bug: 33099829,30550796
Test: m test-art-host
Change-Id: I812809e7f043ec2a9651f22e970312e094b78966

7 years agoRevert "Revert "ARM: VIXL32: Use DontCare for SetFlags + fix for GenerateFrameEntry.""
Scott Wakeling [Wed, 7 Dec 2016 17:46:03 +0000 (17:46 +0000)]
Revert "Revert "ARM: VIXL32: Use DontCare for SetFlags + fix for GenerateFrameEntry.""

Override Add in ArmVIXLMacroAssembler to improve 16-bit encodings.

This reverts commit 2f34995469e20a1ac342975856155f69995997ce.

Test: m test-art-host

Change-Id: Ief9f7576cd805104fd517a76b96d8a92f2208dfd

7 years agoMerge "JDWP tests need debug info" am: 0bdba6c301
Yohann Roussel [Wed, 7 Dec 2016 17:28:43 +0000 (17:28 +0000)]
Merge "JDWP tests need debug info" am: 0bdba6c301
am: 8f851b2c6c

Change-Id: If783708f11db94cd8ba8f83e193a51b47582c27c

7 years agoMerge "JDWP tests need debug info"
Yohann Roussel [Wed, 7 Dec 2016 17:24:41 +0000 (17:24 +0000)]
Merge "JDWP tests need debug info"
am: 0bdba6c301

Change-Id: I376ae7846f473e5d3449c98ed3ea8d9060a6f598

7 years agoMerge "MIPS32: Pass more arguments in registers." am: b08265b2d6
Vladimir Marko [Wed, 7 Dec 2016 17:24:41 +0000 (17:24 +0000)]
Merge "MIPS32: Pass more arguments in registers." am: b08265b2d6
am: 284863c6d9

Change-Id: I2a13008ad92e77d1ccccaf17053574938eaca172

7 years agoMerge "MIPS32: Pass more arguments in registers."
Vladimir Marko [Wed, 7 Dec 2016 17:21:43 +0000 (17:21 +0000)]
Merge "MIPS32: Pass more arguments in registers."
am: b08265b2d6

Change-Id: Ica6d0ce4020b0dcb6f9a9346d993cc800984cfdc

7 years agoMerge "JDWP tests need debug info"
Treehugger Robot [Wed, 7 Dec 2016 17:18:16 +0000 (17:18 +0000)]
Merge "JDWP tests need debug info"

7 years agoMerge "MIPS32: Pass more arguments in registers."
Vladimir Marko [Wed, 7 Dec 2016 17:15:08 +0000 (17:15 +0000)]
Merge "MIPS32: Pass more arguments in registers."

7 years agoMerge "Revert "ARM: VIXL32: Use DontCare for SetFlags + fix for GenerateFrameEntry...
Nicolas Geoffray [Wed, 7 Dec 2016 16:30:25 +0000 (16:30 +0000)]
Merge "Revert "ARM: VIXL32: Use DontCare for SetFlags + fix for GenerateFrameEntry."" am: b4ee681c21
am: dca670030a

Change-Id: I23fc6387484b0f74e81ddf4a7399048d70e2ddc8

7 years agoMerge "Mterp/arm: Add CFI directives, add missing change" am: ff64a18f6f
Bill Buzbee [Wed, 7 Dec 2016 16:30:09 +0000 (16:30 +0000)]
Merge "Mterp/arm: Add CFI directives, add missing change" am: ff64a18f6f
am: ec4982b716

Change-Id: Idbc1047d47701ceb50cb1c8a8b138cf02778671a

7 years agoMerge "Revert "ARM: VIXL32: Use DontCare for SetFlags + fix for GenerateFrameEntry.""
Nicolas Geoffray [Wed, 7 Dec 2016 16:26:25 +0000 (16:26 +0000)]
Merge "Revert "ARM: VIXL32: Use DontCare for SetFlags + fix for GenerateFrameEntry.""
am: b4ee681c21

Change-Id: I3c85e8dd9d8def7695b520df292d18c5bb33e60e

7 years agoMerge "Mterp/arm: Add CFI directives, add missing change"
Bill Buzbee [Wed, 7 Dec 2016 16:26:09 +0000 (16:26 +0000)]
Merge "Mterp/arm: Add CFI directives, add missing change"
am: ff64a18f6f

Change-Id: Ic1cc91b6aaa360d8d75e4842241a0731b4b00636

7 years agoMerge "Revert "ARM: VIXL32: Use DontCare for SetFlags + fix for GenerateFrameEntry.""
Nicolas Geoffray [Wed, 7 Dec 2016 16:21:24 +0000 (16:21 +0000)]
Merge "Revert "ARM: VIXL32: Use DontCare for SetFlags + fix for GenerateFrameEntry.""

7 years agoRevert "ARM: VIXL32: Use DontCare for SetFlags + fix for GenerateFrameEntry."
Nicolas Geoffray [Wed, 7 Dec 2016 16:20:47 +0000 (16:20 +0000)]
Revert "ARM: VIXL32: Use DontCare for SetFlags + fix for GenerateFrameEntry."

Breaks assembler_thumb_test.

This reverts commit d494c5e37c656d92fcf83987d886e999457d9252.

Change-Id: I0ccac4c7bf391185b860767bd26d48189bfae461

7 years agoMerge "Mterp/arm: Add CFI directives, add missing change"
Bill Buzbee [Wed, 7 Dec 2016 16:19:41 +0000 (16:19 +0000)]
Merge "Mterp/arm: Add CFI directives, add missing change"

7 years agoJDWP tests need debug info
Yohann Roussel [Wed, 7 Dec 2016 15:41:07 +0000 (16:41 +0100)]
JDWP tests need debug info

Test: art/tools/run-jdwp-tests.sh --mode=host --variant=X32
Change-Id: I4b575978a4005b3b09862c12cd98f1c5436122ce

7 years agoMerge "ARM: VIXL32: Use DontCare for SetFlags + fix for GenerateFrameEntry." am:...
Nicolas Geoffray [Wed, 7 Dec 2016 15:26:36 +0000 (15:26 +0000)]
Merge "ARM: VIXL32: Use DontCare for SetFlags + fix for GenerateFrameEntry." am: 7f735969a9
am: e57dbee244

Change-Id: I5b3197c1495baf15d91c20dfd33f61cac11f547b

7 years agoMerge "ARM: VIXL32: Use DontCare for SetFlags + fix for GenerateFrameEntry."
Nicolas Geoffray [Wed, 7 Dec 2016 15:22:05 +0000 (15:22 +0000)]
Merge "ARM: VIXL32: Use DontCare for SetFlags + fix for GenerateFrameEntry."
am: 7f735969a9

Change-Id: I61e6f8f6a74e9e1bedefc4a7b97f972908350fa7

7 years agoMerge "ARM: VIXL32: Use DontCare for SetFlags + fix for GenerateFrameEntry."
Nicolas Geoffray [Wed, 7 Dec 2016 15:17:12 +0000 (15:17 +0000)]
Merge "ARM: VIXL32: Use DontCare for SetFlags + fix for GenerateFrameEntry."

7 years agoMerge remote-tracking branch 'goog/stage-aosp-master' into HEAD am: 0dd27eb2b5
Bill Yi [Tue, 6 Dec 2016 23:45:06 +0000 (23:45 +0000)]
Merge remote-tracking branch 'goog/stage-aosp-master' into HEAD am: 0dd27eb2b5
am: d6abb5769b

Change-Id: I986d62f297100bf2801dc9e9db6aef44b1427a08

7 years agoMerge "Reduce calls to DescriptorEquals" am: 1a5bfdc22b
Mathieu Chartier [Tue, 6 Dec 2016 23:44:51 +0000 (23:44 +0000)]
Merge "Reduce calls to DescriptorEquals" am: 1a5bfdc22b
am: 1039080f65

Change-Id: Ia489437a6c7d9cf45c13be77007c73c192bc5ee5

7 years agoMerge remote-tracking branch 'goog/stage-aosp-master' into HEAD
Bill Yi [Tue, 6 Dec 2016 23:40:36 +0000 (23:40 +0000)]
Merge remote-tracking branch 'goog/stage-aosp-master' into HEAD
am: 0dd27eb2b5

Change-Id: I073a492a7e0b7ce8ff4dd108da20e2d5e77cff98

7 years agoMerge "Reduce calls to DescriptorEquals"
Mathieu Chartier [Tue, 6 Dec 2016 23:40:21 +0000 (23:40 +0000)]
Merge "Reduce calls to DescriptorEquals"
am: 1a5bfdc22b

Change-Id: Ia3dc7ef60d3848d93d295f93297c09c00e47509d

7 years agoMerge remote-tracking branch 'goog/stage-aosp-master' into HEAD
Bill Yi [Tue, 6 Dec 2016 22:30:01 +0000 (14:30 -0800)]
Merge remote-tracking branch 'goog/stage-aosp-master' into HEAD

7 years agoMerge "Reduce calls to DescriptorEquals"
Mathieu Chartier [Tue, 6 Dec 2016 22:06:05 +0000 (22:06 +0000)]
Merge "Reduce calls to DescriptorEquals"

7 years agoMIPS32: Pass more arguments in registers.
Alexey Frunze [Sun, 13 Nov 2016 01:22:05 +0000 (17:22 -0800)]
MIPS32: Pass more arguments in registers.

Specifically, use A0-A3,T0-T1 for non-floats and F8-F19 for floats.

Test: booted MIPS32R2 in QEMU
Test: test-art-target-run-test-optimizing (MIPS32R2) on CI20
Test: test-art-target-gtest (MIPS32R2) on CI20
Test: booted MIPS64 (with 2nd arch MIPS32R6) in QEMU
Test: test-art-target-run-test-optimizing (MIPS32R6) in QEMU
Test: test-art-target-gtest (MIPS32R6) in QEMU
Test: test-art-host-gtest

Change-Id: Ib8b0310a109d9f3d70119c1e605e54b013e60728

7 years agoMerge "Use getReferent() in enqueueSentinelReference to avoid race with GC." am:...
Hiroshi Yamauchi [Tue, 6 Dec 2016 20:13:07 +0000 (20:13 +0000)]
Merge "Use getReferent() in enqueueSentinelReference to avoid race with GC." am: d12f04cb56
am: 6ce90a2d55

Change-Id: I99a07ca04d3b29393ce7d505918255c624cccb85

7 years agoMerge "Use getReferent() in enqueueSentinelReference to avoid race with GC."
Hiroshi Yamauchi [Tue, 6 Dec 2016 20:09:07 +0000 (20:09 +0000)]
Merge "Use getReferent() in enqueueSentinelReference to avoid race with GC."
am: d12f04cb56

Change-Id: I45197211253ba6308695f3bcbf339b118cfed299

7 years agoMerge "Use getReferent() in enqueueSentinelReference to avoid race with GC."
Hiroshi Yamauchi [Tue, 6 Dec 2016 20:04:53 +0000 (20:04 +0000)]
Merge "Use getReferent() in enqueueSentinelReference to avoid race with GC."

7 years agoMerge "Fixed a few bugs in dexfuzz:" am: 72ef70de77
Aart Bik [Tue, 6 Dec 2016 19:57:03 +0000 (19:57 +0000)]
Merge "Fixed a few bugs in dexfuzz:" am: 72ef70de77
am: 20f0ed64fd

Change-Id: If0b3ecb4ab4b750d13f665df0d4a39310a0a49fe

7 years agoMerge "Fixed a few bugs in dexfuzz:"
Aart Bik [Tue, 6 Dec 2016 19:52:32 +0000 (19:52 +0000)]
Merge "Fixed a few bugs in dexfuzz:"
am: 72ef70de77

Change-Id: I83d09f667f21aea5162a9637e55493bef450de16

7 years agoARM: VIXL32: Use DontCare for SetFlags + fix for GenerateFrameEntry.
Artem Serov [Fri, 2 Dec 2016 18:46:40 +0000 (18:46 +0000)]
ARM: VIXL32: Use DontCare for SetFlags + fix for GenerateFrameEntry.

In T32 some of the instructions (add, mov, etc) outside an IT block
have only 32-bit encodings. But there are 16-bit flag setting
versions of these instructions (adds, movs, etc). In most of the
cases in ART we don't care if the instructions keep flags or not;
thus we can benefit from smaller code size.
VIXL will never generate flag setting versions (for example, adds
for Add macro instruction) unless vixl32::DontCare option is
explicitly specified. That's why we introduce wrappers to use
DontCare option by default.

This patch reduces code size of compiled code. For example,
core.oat has shown over 1.16% code size reduction.

Also contains a fix for GenerateFrameEntry.

Test: ART_USE_VIXL_ARM_BACKEND=true m test-art-host
Test: ART_USE_VIXL_ARM_BACKEND=true m test-art-target

Change-Id: Id55a16f34208e7b702016ee83e2f2d0daeb42eaf

7 years agoMerge "Fixed a few bugs in dexfuzz:"
Aart Bik [Tue, 6 Dec 2016 19:45:23 +0000 (19:45 +0000)]
Merge "Fixed a few bugs in dexfuzz:"

7 years agoMerge "ART: Move boot-image loading to ImageSpace" am: f99e0d0f28
Andreas Gampe [Tue, 6 Dec 2016 19:41:03 +0000 (19:41 +0000)]
Merge "ART: Move boot-image loading to ImageSpace" am: f99e0d0f28
am: 325b512b15

Change-Id: Ia1e0811a58793ab153aa854ab7822ce178ac357a

7 years agoMerge "ART: Move boot-image loading to ImageSpace"
Andreas Gampe [Tue, 6 Dec 2016 19:37:31 +0000 (19:37 +0000)]
Merge "ART: Move boot-image loading to ImageSpace"
am: f99e0d0f28

Change-Id: Ib859154a1e0ce49d17b05bfb9bf5c55a0af37364

7 years agoMerge "ART: Move boot-image loading to ImageSpace"
Treehugger Robot [Tue, 6 Dec 2016 19:31:44 +0000 (19:31 +0000)]
Merge "ART: Move boot-image loading to ImageSpace"

7 years agoReduce calls to DescriptorEquals
Mathieu Chartier [Thu, 1 Dec 2016 22:21:11 +0000 (14:21 -0800)]
Reduce calls to DescriptorEquals

Store the low 3 bits of the descriptor hash inside of class set
entries. Compare these bits before comparing descriptors.

Simpleperf interpret-only compile of facebook:
mirror::Class::DescriptorEquals(char const*): 3.66% -> 1.03%

Bug: 32641252

Test: test-art-host

Change-Id: I8d898d4ac7c95383c49401fbcd85bfde226e026c