OSDN Git Service

android-x86/art.git
7 years agoDelete extra arm64/mips64 MterpReturn suspend check
Mathieu Chartier [Fri, 20 Jan 2017 23:54:31 +0000 (23:54 +0000)]
Delete extra arm64/mips64 MterpReturn suspend check
am: 61049e8701  -s ours

Change-Id: I78be596aa88af0fef12a41647c88e46621112a55

7 years agoMerge "ART: More valgrind suppressions" am: d713d29507 am: e6701f6275
Andreas Gampe [Fri, 20 Jan 2017 22:42:26 +0000 (22:42 +0000)]
Merge "ART: More valgrind suppressions" am: d713d29507 am: e6701f6275
am: 14065eed7b

Change-Id: I443c2578092c0dd7ffd79ad52a22191fe35d2270

7 years agoMerge "ART: More valgrind suppressions" am: d713d29507
Andreas Gampe [Fri, 20 Jan 2017 22:39:26 +0000 (22:39 +0000)]
Merge "ART: More valgrind suppressions" am: d713d29507
am: e6701f6275

Change-Id: Icbb47f01633c3fa3af8ac5c177e30da42b027dfe

7 years agoMerge "ART: More valgrind suppressions"
Andreas Gampe [Fri, 20 Jan 2017 22:36:26 +0000 (22:36 +0000)]
Merge "ART: More valgrind suppressions"
am: d713d29507

Change-Id: I6122458a5eb3e648e5f8a154cbad0700a459b071

7 years agoMerge "ART: More valgrind suppressions"
Treehugger Robot [Fri, 20 Jan 2017 22:30:29 +0000 (22:30 +0000)]
Merge "ART: More valgrind suppressions"

7 years agoMerge "Use original dex file for retransformation." am: 7453604e4f am: 074e014e7a
Alex Light [Fri, 20 Jan 2017 22:17:57 +0000 (22:17 +0000)]
Merge "Use original dex file for retransformation." am: 7453604e4f am: 074e014e7a
am: 008dfd5164

Change-Id: Icfa409c76d5dba46414a1c22468ccf54d78bbf86

7 years agoMerge "Use original dex file for retransformation." am: 7453604e4f
Alex Light [Fri, 20 Jan 2017 22:14:58 +0000 (22:14 +0000)]
Merge "Use original dex file for retransformation." am: 7453604e4f
am: 074e014e7a

Change-Id: Id649856963707159d75fdcc5d615d9dd97c214a0

7 years agoMerge "Use original dex file for retransformation."
Alex Light [Fri, 20 Jan 2017 22:11:56 +0000 (22:11 +0000)]
Merge "Use original dex file for retransformation."
am: 7453604e4f

Change-Id: Iab126a9a88b39d76da5efd7fcdfbd5f59dafe12a

7 years agoMerge "Use original dex file for retransformation."
Alex Light [Fri, 20 Jan 2017 22:06:09 +0000 (22:06 +0000)]
Merge "Use original dex file for retransformation."

7 years agoART: More valgrind suppressions
Andreas Gampe [Fri, 20 Jan 2017 19:38:37 +0000 (11:38 -0800)]
ART: More valgrind suppressions

Local host seems different from build bots.

Bug: 31684920
Test: m valgrind-test-art-host-gtest-runtime_callbacks_test
Change-Id: Ie662373e7779be1694b8d338b3ddf91b5fd25df1

7 years agoDelete extra arm64/mips64 MterpReturn suspend check
Mathieu Chartier [Tue, 10 Jan 2017 02:48:11 +0000 (18:48 -0800)]
Delete extra arm64/mips64 MterpReturn suspend check

Doing a suspend check after moving the result into the shadow frame
result_register_ is not safe since result_register_ is not a GC
root. The suspend check is unnecessary since the opcodes that branch
to MterpReturn already do a suspend check.

This could maybe explain one crash for CC that was seen after calling
a getter that had no compiled code.

The extra suspend check appears to only be present on arm64 amd mips64.

Test: test-art-target ART_TEST_INTERPRETER=true, N5X booting

(cherry picked from commit aceff18580b94a586a469110565f2ba166f3635a)

Bug: 33211261
Change-Id: I70b8863f40a25a26f278ac8ef0d57e083b663e0f

7 years agoUse original dex file for retransformation.
Alex Light [Thu, 19 Jan 2017 22:57:28 +0000 (14:57 -0800)]
Use original dex file for retransformation.

The spec requires us to pass the dex file as it appeared before any
retransformation-capable agents had modified it to the
ClassFileLoadHooks when RetransformClasses is called. We do this by
saving the initial dex file bytes into the class as a byte[].

Bug: 32369916
Test: mma -j40 test-art-host

Change-Id: Ic6af3738cd2a831e91ba1144f502fa58b3c333e4

7 years agoMerge "Dexfuzz: Added --divergence-retry option." am: 64e5002184 am: 7ce6bb5b41
Branislav Rankov [Fri, 20 Jan 2017 19:20:41 +0000 (19:20 +0000)]
Merge "Dexfuzz: Added --divergence-retry option." am: 64e5002184 am: 7ce6bb5b41
am: 3bae8786b8

Change-Id: I9ade530b91c4823f3aabdc25f88c7b7d8984f283

7 years agoMerge "Dexfuzz: Added --divergence-retry option." am: 64e5002184
Branislav Rankov [Fri, 20 Jan 2017 19:15:39 +0000 (19:15 +0000)]
Merge "Dexfuzz: Added --divergence-retry option." am: 64e5002184
am: 7ce6bb5b41

Change-Id: Ib41af5176963af4a1c4e0b00837e90d743101e06

7 years agoMerge "Dexfuzz: Added --divergence-retry option."
Branislav Rankov [Fri, 20 Jan 2017 19:14:09 +0000 (19:14 +0000)]
Merge "Dexfuzz: Added --divergence-retry option."
am: 64e5002184

Change-Id: I4fd122328bb75b59d4e11fc8bc0c5d450f2826cd

7 years agoMerge "Dexfuzz: Added --divergence-retry option."
Treehugger Robot [Fri, 20 Jan 2017 19:10:32 +0000 (19:10 +0000)]
Merge "Dexfuzz: Added --divergence-retry option."

7 years agoMerge "Revert "CHA for abstract methods."" am: 05778764cb am: 6dcd1c6499
Colin Cross [Fri, 20 Jan 2017 18:47:07 +0000 (18:47 +0000)]
Merge "Revert "CHA for abstract methods."" am: 05778764cb am: 6dcd1c6499
am: b7c323f559

Change-Id: Id99c546524dd17ba41f497cd3c0c3901ca80986e

7 years agoMerge "Revert "CHA for abstract methods."" am: 05778764cb
Colin Cross [Fri, 20 Jan 2017 18:44:09 +0000 (18:44 +0000)]
Merge "Revert "CHA for abstract methods."" am: 05778764cb
am: 6dcd1c6499

Change-Id: I3a1090092940463b2dd6eb0a25f5dd48e34b3a16

7 years agoMerge "Revert "CHA for abstract methods.""
Colin Cross [Fri, 20 Jan 2017 18:39:36 +0000 (18:39 +0000)]
Merge "Revert "CHA for abstract methods.""
am: 05778764cb

Change-Id: I1b05c66eb56ce2c2b6bab0538624d7767902e453

7 years agoMerge "Revert "CHA for abstract methods.""
Colin Cross [Fri, 20 Jan 2017 18:34:32 +0000 (18:34 +0000)]
Merge "Revert "CHA for abstract methods.""

7 years agoRevert "CHA for abstract methods."
Colin Cross [Fri, 20 Jan 2017 17:37:02 +0000 (17:37 +0000)]
Revert "CHA for abstract methods."

This reverts commit ae6c189b9d63ca4c2ae0e952187819c5e442e3c9.

This is causing sporadic build failures with:
dex2oatd F 01-20 15:05:33 8343 10164 cha.cc:292] Check failed: method_in_super->HasSingleImplementation()

Change-Id: I4435ab028d3f7893e18b44347f294326c573a255

7 years agoMerge "ART: Add GetClassVersionNumbers." am: 7c3de08e2f am: ee779dbebd
Andreas Gampe [Fri, 20 Jan 2017 17:18:32 +0000 (17:18 +0000)]
Merge "ART: Add GetClassVersionNumbers." am: 7c3de08e2f am: ee779dbebd
am: 287025d0d8

Change-Id: I50a0cbc7e43e37c841a001e58be85172902853e9

7 years agoMerge "ART: Add tests for TLS" am: 6cbb3c89c8 am: ddd31473d8
Andreas Gampe [Fri, 20 Jan 2017 17:18:18 +0000 (17:18 +0000)]
Merge "ART: Add tests for TLS" am: 6cbb3c89c8 am: ddd31473d8
am: 8c95f9a74d

Change-Id: Ic5a5a1bd8e5c0856e6b796f7fd04f34992e5b735

7 years agoMerge changes I914dfac9,I33b1934a am: 7709f7bec8 am: 6e820fe940
Andreas Gampe [Fri, 20 Jan 2017 17:17:50 +0000 (17:17 +0000)]
Merge changes I914dfac9,I33b1934a am: 7709f7bec8 am: 6e820fe940
am: 395cf9fcb2

Change-Id: I8f4884fe2bc215259a282eb8d5d4fbec36efb794

7 years agoART: Add phase events am: 3a7eb1482b am: c6514e8e4d
Andreas Gampe [Fri, 20 Jan 2017 17:17:42 +0000 (17:17 +0000)]
ART: Add phase events am: 3a7eb1482b am: c6514e8e4d
am: 13e5237c92

Change-Id: I8660faa5aded522ca9cdb107015b5f8f0923d56c

7 years agoART: Add GetPhase am: 96eca78958 am: 4482d2ae57
Andreas Gampe [Fri, 20 Jan 2017 17:17:32 +0000 (17:17 +0000)]
ART: Add GetPhase am: 96eca78958 am: 4482d2ae57
am: 0fbc73055f

Change-Id: Iccf5419baeb8d02750e2e17edc06f6383cc35839

7 years agoMerge "ART: Add GetClassVersionNumbers." am: 7c3de08e2f
Andreas Gampe [Fri, 20 Jan 2017 17:14:10 +0000 (17:14 +0000)]
Merge "ART: Add GetClassVersionNumbers." am: 7c3de08e2f
am: ee779dbebd

Change-Id: Idead1aa8c0a03563839d9d1e325cdaa08dc1bfd1

7 years agoMerge "ART: Add tests for TLS" am: 6cbb3c89c8
Andreas Gampe [Fri, 20 Jan 2017 17:13:56 +0000 (17:13 +0000)]
Merge "ART: Add tests for TLS" am: 6cbb3c89c8
am: ddd31473d8

Change-Id: I188eb56ae92b3328c43f3d346f35111b61663414

7 years agoMerge changes I914dfac9,I33b1934a am: 7709f7bec8
Andreas Gampe [Fri, 20 Jan 2017 17:13:25 +0000 (17:13 +0000)]
Merge changes I914dfac9,I33b1934a am: 7709f7bec8
am: 6e820fe940

Change-Id: I0daf430539899532a26851a908a71ccd67ef811d

7 years agoART: Add phase events am: 3a7eb1482b
Andreas Gampe [Fri, 20 Jan 2017 17:13:14 +0000 (17:13 +0000)]
ART: Add phase events am: 3a7eb1482b
am: c6514e8e4d

Change-Id: I4257df4af266ff129ab5e0392c08d7d64d04c5e9

7 years agoART: Add GetPhase am: 96eca78958
Andreas Gampe [Fri, 20 Jan 2017 17:13:02 +0000 (17:13 +0000)]
ART: Add GetPhase am: 96eca78958
am: 4482d2ae57

Change-Id: I5bb6bcd71b7f6e24985663f8ee52482834292e3c

7 years agoMerge "ART: Add GetClassVersionNumbers."
Andreas Gampe [Fri, 20 Jan 2017 17:10:00 +0000 (17:10 +0000)]
Merge "ART: Add GetClassVersionNumbers."
am: 7c3de08e2f

Change-Id: Ibf8f0fac19b2c5a607082bbb23a0f8ccf3fd4110

7 years agoMerge "ART: Add tests for TLS"
Andreas Gampe [Fri, 20 Jan 2017 17:09:45 +0000 (17:09 +0000)]
Merge "ART: Add tests for TLS"
am: 6cbb3c89c8

Change-Id: I12e9d0707e4dc004b88132971161da9aa2c911ce

7 years agoMerge changes I914dfac9,I33b1934a
Andreas Gampe [Fri, 20 Jan 2017 17:09:14 +0000 (17:09 +0000)]
Merge changes I914dfac9,I33b1934a
am: 7709f7bec8

Change-Id: I85cd1c69a758bda81420849144d0b0fe2d7d2411

7 years agoART: Add phase events
Andreas Gampe [Fri, 20 Jan 2017 17:09:12 +0000 (17:09 +0000)]
ART: Add phase events
am: 3a7eb1482b

Change-Id: I3eb85444077e16b4e5b10e542b849baa5ac33af8

7 years agoART: Add GetPhase
Andreas Gampe [Fri, 20 Jan 2017 17:09:02 +0000 (17:09 +0000)]
ART: Add GetPhase
am: 96eca78958

Change-Id: Ib05acefb6620b0f6c34b0009132fac7340366603

7 years agoMerge "ART: Add GetClassVersionNumbers."
Treehugger Robot [Fri, 20 Jan 2017 17:06:30 +0000 (17:06 +0000)]
Merge "ART: Add GetClassVersionNumbers."

7 years agoMerge "ART: Add tests for TLS"
Treehugger Robot [Fri, 20 Jan 2017 17:05:23 +0000 (17:05 +0000)]
Merge "ART: Add tests for TLS"

7 years agoMerge changes I914dfac9,I33b1934a
Treehugger Robot [Fri, 20 Jan 2017 17:04:29 +0000 (17:04 +0000)]
Merge changes I914dfac9,I33b1934a

* changes:
  ART: Add phase events
  ART: Add GetPhase

7 years agoMerge "CHA for abstract methods." am: 6611d2733c am: f956e61866
Mingyao Yang [Fri, 20 Jan 2017 14:30:53 +0000 (14:30 +0000)]
Merge "CHA for abstract methods." am: 6611d2733c am: f956e61866
am: 53abeb80e3

Change-Id: I322a8482494c70e5297a1987cd50a2437f0e9371

7 years agoMerge "CHA for abstract methods." am: 6611d2733c
Mingyao Yang [Fri, 20 Jan 2017 14:28:52 +0000 (14:28 +0000)]
Merge "CHA for abstract methods." am: 6611d2733c
am: f956e61866

Change-Id: I8d0aa6633e53e4405b841f9f4bf8dc1ed450bde3

7 years agoMerge "CHA for abstract methods."
Mingyao Yang [Fri, 20 Jan 2017 14:26:53 +0000 (14:26 +0000)]
Merge "CHA for abstract methods."
am: 6611d2733c

Change-Id: I657df5bceb9a8a0056803c9c867d7919ed24ecb9

7 years agoMerge "CHA for abstract methods."
Mingyao Yang [Fri, 20 Jan 2017 14:23:39 +0000 (14:23 +0000)]
Merge "CHA for abstract methods."

7 years agoDexfuzz: Added --divergence-retry option.
Branislav Rankov [Fri, 23 Dec 2016 16:19:09 +0000 (16:19 +0000)]
Dexfuzz: Added --divergence-retry option.

This option controls the number of retries done when checking for self-divergence.

Test: dexfuzz --inputs=seeds --execute --arm --optimizing --interpreter --repeat=100 --divergence-retry=20

Change-Id: I90e2705e40c6f23d47ddbb856828147c4f6a4157

7 years agoMerge "Fix polymorphic invokes (one more round)." am: fff9d4474a am: 7e937403fe
Alexey Frunze [Fri, 20 Jan 2017 11:05:10 +0000 (11:05 +0000)]
Merge "Fix polymorphic invokes (one more round)." am: fff9d4474a am: 7e937403fe
am: 608718fcc9

Change-Id: If203aaa7febbbca0b26efd684c8e2ba65166136e

7 years agoMerge "Fix polymorphic invokes (one more round)." am: fff9d4474a
Alexey Frunze [Fri, 20 Jan 2017 11:03:10 +0000 (11:03 +0000)]
Merge "Fix polymorphic invokes (one more round)." am: fff9d4474a
am: 7e937403fe

Change-Id: I0a306e687ea03e6fd03bfd766fbbb7e3f4daf269

7 years agoMerge "Fix polymorphic invokes (one more round)."
Alexey Frunze [Fri, 20 Jan 2017 11:01:12 +0000 (11:01 +0000)]
Merge "Fix polymorphic invokes (one more round)."
am: fff9d4474a

Change-Id: Idebb24295e8c08a22ae8c257de212004a12337ec

7 years agoMerge "Fix polymorphic invokes (one more round)."
Treehugger Robot [Fri, 20 Jan 2017 10:57:28 +0000 (10:57 +0000)]
Merge "Fix polymorphic invokes (one more round)."

7 years agoMerge "vdex optimization: avoid doing application type resolution." am: 3eede0720f...
Nicolas Geoffray [Fri, 20 Jan 2017 10:37:39 +0000 (10:37 +0000)]
Merge "vdex optimization: avoid doing application type resolution." am: 3eede0720f am: 2e921e5ad1
am: 955a05c0fc

Change-Id: I1d013af4de99df77a39e55eb291c745a0ca50ecd

7 years agoMerge "vdex optimization: avoid doing application type resolution." am: 3eede0720f
Nicolas Geoffray [Fri, 20 Jan 2017 10:35:40 +0000 (10:35 +0000)]
Merge "vdex optimization: avoid doing application type resolution." am: 3eede0720f
am: 2e921e5ad1

Change-Id: I03695899da3c398a7239b842c29dedeeea42fc2a

7 years agoMerge "vdex optimization: avoid doing application type resolution."
Nicolas Geoffray [Fri, 20 Jan 2017 10:33:08 +0000 (10:33 +0000)]
Merge "vdex optimization: avoid doing application type resolution."
am: 3eede0720f

Change-Id: I22e3bb2a0689204989b0d93cc9f46ecc2b833bf5

7 years agoMerge "vdex optimization: avoid doing application type resolution."
Nicolas Geoffray [Fri, 20 Jan 2017 10:29:59 +0000 (10:29 +0000)]
Merge "vdex optimization: avoid doing application type resolution."

7 years agoMerge "ART: Add valgrind suppression" am: 5e82160242 am: f7eb9f5b07
Andreas Gampe [Fri, 20 Jan 2017 09:18:05 +0000 (09:18 +0000)]
Merge "ART: Add valgrind suppression" am: 5e82160242 am: f7eb9f5b07
am: c7945e8586

Change-Id: Ie9f858117a580f0a698feec4ed26c8d219bf1d99

7 years agoMerge "ART: Add valgrind suppression" am: 5e82160242
Andreas Gampe [Fri, 20 Jan 2017 09:16:05 +0000 (09:16 +0000)]
Merge "ART: Add valgrind suppression" am: 5e82160242
am: f7eb9f5b07

Change-Id: I5ae6517f6568b92fa2914de0ca4e325d137fe6ac

7 years agoMerge "ART: Add valgrind suppression"
Andreas Gampe [Fri, 20 Jan 2017 09:14:04 +0000 (09:14 +0000)]
Merge "ART: Add valgrind suppression"
am: 5e82160242

Change-Id: I4fede7e516dcaa35a3e727257318a21fbab891ed

7 years agoMerge "ART: Add valgrind suppression"
Treehugger Robot [Fri, 20 Jan 2017 09:08:47 +0000 (09:08 +0000)]
Merge "ART: Add valgrind suppression"

7 years agoMerge "Do not use npic image for oat file assistant tests." am: 2c532ed685 am: 794a109a59
Richard Uhler [Fri, 20 Jan 2017 08:56:02 +0000 (08:56 +0000)]
Merge "Do not use npic image for oat file assistant tests." am: 2c532ed685 am: 794a109a59
am: 2f25c226ae

Change-Id: Ieaf04dac3d587c557801fa606ad65c3674b21fea

7 years agoMerge "Do not use npic image for oat file assistant tests." am: 2c532ed685
Richard Uhler [Fri, 20 Jan 2017 08:54:02 +0000 (08:54 +0000)]
Merge "Do not use npic image for oat file assistant tests." am: 2c532ed685
am: 794a109a59

Change-Id: Id46f1909a9271692a45a2cd476c840f38d948227

7 years agoMerge "Do not use npic image for oat file assistant tests."
Richard Uhler [Fri, 20 Jan 2017 08:52:04 +0000 (08:52 +0000)]
Merge "Do not use npic image for oat file assistant tests."
am: 2c532ed685

Change-Id: Iad94eb0fecb7b0466b65a3e7377d18b4fbb6f1e6

7 years agoMerge "Do not use npic image for oat file assistant tests."
Treehugger Robot [Fri, 20 Jan 2017 08:47:51 +0000 (08:47 +0000)]
Merge "Do not use npic image for oat file assistant tests."

7 years agoART: Add GetClassVersionNumbers.
Andreas Gampe [Fri, 20 Jan 2017 06:04:46 +0000 (22:04 -0800)]
ART: Add GetClassVersionNumbers.

Add support for GetClassVersionNumbers. Return the dex file version
as major, zero as minor. Add test.

Bug: 31684578
Test: m test-art-host-run-test-912-classes
Change-Id: Ib5082cd58b27a9183d8f19d42d4d8af46a6bb9c9

7 years agoART: Add phase events
Andreas Gampe [Fri, 20 Jan 2017 05:59:22 +0000 (21:59 -0800)]
ART: Add phase events

Add VMStart, VMInit and VMDeath event support. Add removal of
jvmtiEnv from the event handler. Add and extend tests.

Bug: 31684920
Test: m test-art-host-901-hello-ti-agent
Change-Id: I914dfac98c2fb7b59efdfde69597a7fcd20fd486

7 years agoART: Add valgrind suppression
Andreas Gampe [Fri, 20 Jan 2017 07:30:41 +0000 (23:30 -0800)]
ART: Add valgrind suppression

Suppress libunwind/libbacktrace reading arbitrary memory. Triggered
by SIGQUIT behavior in runtime_callbacks_test.

Bug: 31684920
Test: m valgrind-test-art-host-gtest-runtime_callbacks_test
Change-Id: Ifba237027b5e029b0e4f98264bd5c9eafa243beb

7 years agoART: Add GetPhase
Andreas Gampe [Fri, 20 Jan 2017 03:45:30 +0000 (19:45 -0800)]
ART: Add GetPhase

Extend RuntimePhaseCallback. Add support for GetPhase.
Add tests.

Bug: 31455788
Test: m test-art-host-run-test-901-hello-ti-agent
Change-Id: I33b1934a0789bc713675f21c2c9f676c9d3a1ed1

7 years agoMerge "ART: Add runtime phase callback" am: c93d203b5d am: c94f877e83
Andreas Gampe [Fri, 20 Jan 2017 05:20:50 +0000 (05:20 +0000)]
Merge "ART: Add runtime phase callback" am: c93d203b5d am: c94f877e83
am: 3ebf444a84

Change-Id: I618f5980314e5d8c76135e6a8f7dde677664d0e0

7 years agoFix polymorphic invokes (one more round).
Alexey Frunze [Fri, 20 Jan 2017 03:07:37 +0000 (19:07 -0800)]
Fix polymorphic invokes (one more round).

memcpy() exhibits undefined behavior when the source and the
destination overlap. Use memmove() instead.

This fixes test failures when running the below tests on MIPS.

Test: booted MIPS32R2 in QEMU
Test: ./run-test --interpreter 953-invoke-polymorphic-compiler
Test: ./run-test --interpreter 955-methodhandles-smali
Test: ./run-test --interpreter 956-methodhandles
Test: ./run-test --interpreter 957-methodhandle-transforms
Test: ./run-test --interpreter 958-methodhandle-emulated-stackframe
Test: ./run-test --interpreter 959-invoke-polymorphic-accessors

Change-Id: Ia17ff25001faa7d91ce1178ab35313c36e75aa07

7 years agoMerge "ART: Add runtime phase callback" am: c93d203b5d
Andreas Gampe [Fri, 20 Jan 2017 05:18:50 +0000 (05:18 +0000)]
Merge "ART: Add runtime phase callback" am: c93d203b5d
am: c94f877e83

Change-Id: Id0e38a08dd5948d044381fdb1232da2ad1cdddbe

7 years agoMerge "ART: Add runtime phase callback"
Andreas Gampe [Fri, 20 Jan 2017 05:16:48 +0000 (05:16 +0000)]
Merge "ART: Add runtime phase callback"
am: c93d203b5d

Change-Id: Ib4bc75d094b40219740e9a3c766d249ea87fa9fe

7 years agoMerge "ART: Add runtime phase callback"
Treehugger Robot [Fri, 20 Jan 2017 05:13:17 +0000 (05:13 +0000)]
Merge "ART: Add runtime phase callback"

7 years agoART: Add tests for TLS
Andreas Gampe [Fri, 20 Jan 2017 04:40:42 +0000 (20:40 -0800)]
ART: Add tests for TLS

Wire up the functions. Actually add tests to 924-threads.

Bug: 31684593
Test: m test-art-host-run-test-924-threads
Change-Id: Ie4966a57633188fb75278d6bf4bdeb0ff2cd25aa

7 years agoMerge "Enable CC (ART_USE_READ_BARRIER) by default." am: dedb22a0e0 am: 0fbf90eec6
Hiroshi Yamauchi [Fri, 20 Jan 2017 04:02:14 +0000 (04:02 +0000)]
Merge "Enable CC (ART_USE_READ_BARRIER) by default." am: dedb22a0e0 am: 0fbf90eec6
am: 22a46ac9af

Change-Id: I5225c41ac20db141564040eab967b0f2619c1c00

7 years agoMerge "Enable CC (ART_USE_READ_BARRIER) by default." am: dedb22a0e0
Hiroshi Yamauchi [Fri, 20 Jan 2017 03:53:19 +0000 (03:53 +0000)]
Merge "Enable CC (ART_USE_READ_BARRIER) by default." am: dedb22a0e0
am: 0fbf90eec6

Change-Id: I6e5efe0ca7a8300f26300607432491a52d4f835a

7 years agoMerge "Enable CC (ART_USE_READ_BARRIER) by default."
Hiroshi Yamauchi [Fri, 20 Jan 2017 03:38:17 +0000 (03:38 +0000)]
Merge "Enable CC (ART_USE_READ_BARRIER) by default."
am: dedb22a0e0

Change-Id: Ic7734358de85a95c424689d205b7474527ae7091

7 years agoART: Add runtime phase callback
Andreas Gampe [Fri, 20 Jan 2017 01:23:17 +0000 (17:23 -0800)]
ART: Add runtime phase callback

Add callback that describes the current runtime phase, one of
starting, initialized and death. Add test.

Bug: 31684920
Test: m test-art-host-gtest-runtime_callbacks_test
Change-Id: I08ae7c45851572f8b3e446c07f0498f66bb032d3

7 years agoMerge "Enable CC (ART_USE_READ_BARRIER) by default."
Treehugger Robot [Fri, 20 Jan 2017 03:14:44 +0000 (03:14 +0000)]
Merge "Enable CC (ART_USE_READ_BARRIER) by default."

7 years agoMerge "ART: Add SigQuit Callback" am: 2c19ea9308 am: e7a7083bb6
Andreas Gampe [Fri, 20 Jan 2017 02:12:04 +0000 (02:12 +0000)]
Merge "ART: Add SigQuit Callback" am: 2c19ea9308 am: e7a7083bb6
am: 876c905b43

Change-Id: I8dc187719350c1916689e6cafe328de90efc55b2

7 years agoMerge changes Ib5a3632c,I871f6b3c,I6ce0f71d am: 7cd7b964e2 am: c077a2d541
Andreas Gampe [Fri, 20 Jan 2017 02:11:33 +0000 (02:11 +0000)]
Merge changes Ib5a3632c,I871f6b3c,I6ce0f71d am: 7cd7b964e2 am: c077a2d541
am: fd43a47d37

Change-Id: I641aa769979794abbc8442c9273ee7e4699bed52

7 years agoART: Make RuntimeCallbacks unique_ptr am: ac30fa2151 am: a0bc83972c
Andreas Gampe [Fri, 20 Jan 2017 02:11:25 +0000 (02:11 +0000)]
ART: Make RuntimeCallbacks unique_ptr am: ac30fa2151 am: a0bc83972c
am: 468cfd558e

Change-Id: I55baedac7e39a1730599c604a12ad5582ad07060

7 years agoART: Add ClassLoadCallback am: 0f01b583c3 am: 7da221b346
Andreas Gampe [Fri, 20 Jan 2017 02:11:18 +0000 (02:11 +0000)]
ART: Add ClassLoadCallback am: 0f01b583c3 am: 7da221b346
am: b68e8dba38

Change-Id: If9616329a6a540aaac580e1f879e42beef67bed9

7 years agoRevert "Revert "ART: Start RuntimeCallbacks"" am: 04bbb5be5b am: ef43f100fc
Andreas Gampe [Fri, 20 Jan 2017 02:11:09 +0000 (02:11 +0000)]
Revert "Revert "ART: Start RuntimeCallbacks"" am: 04bbb5be5b am: ef43f100fc
am: 01edd07b9a

Change-Id: Idef642ea71ae7c2c08418b63b684e97edcb446a3

7 years agoMerge "ART: Add SigQuit Callback" am: 2c19ea9308
Andreas Gampe [Fri, 20 Jan 2017 02:07:05 +0000 (02:07 +0000)]
Merge "ART: Add SigQuit Callback" am: 2c19ea9308
am: e7a7083bb6

Change-Id: I5022b4c783a414ff77f20b32154a28c0a94358b7

7 years agoMerge changes Ib5a3632c,I871f6b3c,I6ce0f71d am: 7cd7b964e2
Andreas Gampe [Fri, 20 Jan 2017 02:06:33 +0000 (02:06 +0000)]
Merge changes Ib5a3632c,I871f6b3c,I6ce0f71d am: 7cd7b964e2
am: c077a2d541

Change-Id: I88c5e098c76762a7f813ef1f71118fc568f1a3fc

7 years agoART: Make RuntimeCallbacks unique_ptr am: ac30fa2151
Andreas Gampe [Fri, 20 Jan 2017 02:06:26 +0000 (02:06 +0000)]
ART: Make RuntimeCallbacks unique_ptr am: ac30fa2151
am: a0bc83972c

Change-Id: Id328c9c8ccbd70fceca5daa5a662456117d4be71

7 years agoART: Add ClassLoadCallback am: 0f01b583c3
Andreas Gampe [Fri, 20 Jan 2017 02:06:18 +0000 (02:06 +0000)]
ART: Add ClassLoadCallback am: 0f01b583c3
am: 7da221b346

Change-Id: I9e9649c3d5d9f3e3e0d3ce0aedd47114a0ca9b0b

7 years agoRevert "Revert "ART: Start RuntimeCallbacks"" am: 04bbb5be5b
Andreas Gampe [Fri, 20 Jan 2017 02:06:08 +0000 (02:06 +0000)]
Revert "Revert "ART: Start RuntimeCallbacks"" am: 04bbb5be5b
am: ef43f100fc

Change-Id: I270a30c8bea824077507e4899cdce4ef02f13545

7 years agoMerge "ART: Add SigQuit Callback"
Andreas Gampe [Fri, 20 Jan 2017 02:01:58 +0000 (02:01 +0000)]
Merge "ART: Add SigQuit Callback"
am: 2c19ea9308

Change-Id: Ic0d2c4548b8725b44e48dca6be4557d79688e838

7 years agoMerge changes Ib5a3632c,I871f6b3c,I6ce0f71d
Andreas Gampe [Fri, 20 Jan 2017 02:01:25 +0000 (02:01 +0000)]
Merge changes Ib5a3632c,I871f6b3c,I6ce0f71d
am: 7cd7b964e2

Change-Id: I0489923afb4e8a5a2e89792f740984cf08999017

7 years agoART: Make RuntimeCallbacks unique_ptr
Andreas Gampe [Fri, 20 Jan 2017 02:01:24 +0000 (02:01 +0000)]
ART: Make RuntimeCallbacks unique_ptr
am: ac30fa2151

Change-Id: I5ff83bcef10a2d7bd7136140daad054f491fa2db

7 years agoART: Add ClassLoadCallback
Andreas Gampe [Fri, 20 Jan 2017 02:01:16 +0000 (02:01 +0000)]
ART: Add ClassLoadCallback
am: 0f01b583c3

Change-Id: Ib4ac8edbcf14bdb423f7992e92f5a4ca989bdf70

7 years agoRevert "Revert "ART: Start RuntimeCallbacks""
Andreas Gampe [Fri, 20 Jan 2017 02:01:08 +0000 (02:01 +0000)]
Revert "Revert "ART: Start RuntimeCallbacks""
am: 04bbb5be5b

Change-Id: Ie5f0850a4985afec450010d5a515d5d19288f350

7 years agoMerge "ART: Add SigQuit Callback"
Treehugger Robot [Fri, 20 Jan 2017 01:52:53 +0000 (01:52 +0000)]
Merge "ART: Add SigQuit Callback"

7 years agoMerge changes Ib5a3632c,I871f6b3c,I6ce0f71d
Treehugger Robot [Fri, 20 Jan 2017 01:49:00 +0000 (01:49 +0000)]
Merge changes Ib5a3632c,I871f6b3c,I6ce0f71d

* changes:
  ART: Make RuntimeCallbacks unique_ptr
  ART: Add ClassLoadCallback
  Revert "Revert "ART: Start RuntimeCallbacks""

7 years agoMerge "ART: Add Agent Thread API" am: 03042d5456 am: 9b3f332dab
Andreas Gampe [Fri, 20 Jan 2017 01:30:33 +0000 (01:30 +0000)]
Merge "ART: Add Agent Thread API" am: 03042d5456 am: 9b3f332dab
am: 9b25c8780f

Change-Id: I60115745b5a97ea9644bf596687c7622859ef37a

7 years agoMerge "Revert "Revert "Implement RetransformClasses""" am: 07e56f3e1d am: bfd6d0d24a
Alex Light [Fri, 20 Jan 2017 01:30:20 +0000 (01:30 +0000)]
Merge "Revert "Revert "Implement RetransformClasses""" am: 07e56f3e1d am: bfd6d0d24a
am: 20e687fccf

Change-Id: Ic6e95afa73f5906c7e3d47bbefc72d61dbfd22eb

7 years agoMerge "ART: Add Agent Thread API" am: 03042d5456
Andreas Gampe [Fri, 20 Jan 2017 01:24:50 +0000 (01:24 +0000)]
Merge "ART: Add Agent Thread API" am: 03042d5456
am: 9b3f332dab

Change-Id: I1cf0b47d364dbd82a4109cad1b6462f9269f9487

7 years agoMerge "Revert "Revert "Implement RetransformClasses""" am: 07e56f3e1d
Alex Light [Fri, 20 Jan 2017 01:24:36 +0000 (01:24 +0000)]
Merge "Revert "Revert "Implement RetransformClasses""" am: 07e56f3e1d
am: bfd6d0d24a

Change-Id: Ia71bf848e55dac61d2faf8705a1661fb0ac6c5c4

7 years agoMerge "ART: Add Agent Thread API"
Andreas Gampe [Fri, 20 Jan 2017 01:20:21 +0000 (01:20 +0000)]
Merge "ART: Add Agent Thread API"
am: 03042d5456

Change-Id: I2f7733665758ac2a9ab811b999884b44accdfa37

7 years agoMerge "Revert "Revert "Implement RetransformClasses"""
Alex Light [Fri, 20 Jan 2017 01:20:05 +0000 (01:20 +0000)]
Merge "Revert "Revert "Implement RetransformClasses"""
am: 07e56f3e1d

Change-Id: Ia7464767f092d9d78523c7d188f0a7cb0b4815c1

7 years agoMerge "ART: Add Agent Thread API"
Treehugger Robot [Fri, 20 Jan 2017 01:14:42 +0000 (01:14 +0000)]
Merge "ART: Add Agent Thread API"

7 years agoART: Add Agent Thread API
Andreas Gampe [Wed, 18 Jan 2017 23:23:39 +0000 (15:23 -0800)]
ART: Add Agent Thread API

Add support for RunAgentThread. Add test.

Bug: 31684593
Test: m test-art-host-run-test-931-agent-thread
Change-Id: I5deb213fb06eedc5ee78a340458cf0dff615d0ac