OSDN Git Service
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
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
Andreas Gampe [Fri, 20 Jan 2017 17:13:14 +0000 (17:13 +0000)]
ART: Add phase events am:
3a7eb1482b
am:
c6514e8e4d
Change-Id: I4257df4af266ff129ab5e0392c08d7d64d04c5e9
Andreas Gampe [Fri, 20 Jan 2017 17:13:02 +0000 (17:13 +0000)]
ART: Add GetPhase am:
96eca78958
am:
4482d2ae57
Change-Id: I5bb6bcd71b7f6e24985663f8ee52482834292e3c
Andreas Gampe [Fri, 20 Jan 2017 17:09:12 +0000 (17:09 +0000)]
ART: Add phase events
am:
3a7eb1482b
Change-Id: I3eb85444077e16b4e5b10e542b849baa5ac33af8
Andreas Gampe [Fri, 20 Jan 2017 17:09:02 +0000 (17:09 +0000)]
ART: Add GetPhase
am:
96eca78958
Change-Id: Ib05acefb6620b0f6c34b0009132fac7340366603
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
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
Mingyao Yang [Fri, 20 Jan 2017 14:26:53 +0000 (14:26 +0000)]
Merge "CHA for abstract methods."
am:
6611d2733c
Change-Id: I657df5bceb9a8a0056803c9c867d7919ed24ecb9
Mingyao Yang [Fri, 20 Jan 2017 14:23:39 +0000 (14:23 +0000)]
Merge "CHA for abstract methods."
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
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
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
Treehugger Robot [Fri, 20 Jan 2017 10:57:28 +0000 (10:57 +0000)]
Merge "Fix polymorphic invokes (one more round)."
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
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
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
Nicolas Geoffray [Fri, 20 Jan 2017 10:29:59 +0000 (10:29 +0000)]
Merge "vdex optimization: avoid doing application type resolution."
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
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
Andreas Gampe [Fri, 20 Jan 2017 09:14:04 +0000 (09:14 +0000)]
Merge "ART: Add valgrind suppression"
am:
5e82160242
Change-Id: I4fede7e516dcaa35a3e727257318a21fbab891ed
Treehugger Robot [Fri, 20 Jan 2017 09:08:47 +0000 (09:08 +0000)]
Merge "ART: Add valgrind suppression"
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
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
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
Treehugger Robot [Fri, 20 Jan 2017 08:47:51 +0000 (08:47 +0000)]
Merge "Do not use npic image for oat file assistant tests."
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
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
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
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
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
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
Andreas Gampe [Fri, 20 Jan 2017 05:16:48 +0000 (05:16 +0000)]
Merge "ART: Add runtime phase callback"
am:
c93d203b5d
Change-Id: Ib4bc75d094b40219740e9a3c766d249ea87fa9fe
Treehugger Robot [Fri, 20 Jan 2017 05:13:17 +0000 (05:13 +0000)]
Merge "ART: Add runtime phase callback"
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
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
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
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
Treehugger Robot [Fri, 20 Jan 2017 03:14:44 +0000 (03:14 +0000)]
Merge "Enable CC (ART_USE_READ_BARRIER) by default."
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
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
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
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
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
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
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
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
Andreas Gampe [Fri, 20 Jan 2017 02:06:18 +0000 (02:06 +0000)]
ART: Add ClassLoadCallback am:
0f01b583c3
am:
7da221b346
Change-Id: I9e9649c3d5d9f3e3e0d3ce0aedd47114a0ca9b0b
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
Andreas Gampe [Fri, 20 Jan 2017 02:01:58 +0000 (02:01 +0000)]
Merge "ART: Add SigQuit Callback"
am:
2c19ea9308
Change-Id: Ic0d2c4548b8725b44e48dca6be4557d79688e838
Andreas Gampe [Fri, 20 Jan 2017 02:01:25 +0000 (02:01 +0000)]
Merge changes Ib5a3632c,I871f6b3c,I6ce0f71d
am:
7cd7b964e2
Change-Id: I0489923afb4e8a5a2e89792f740984cf08999017
Andreas Gampe [Fri, 20 Jan 2017 02:01:24 +0000 (02:01 +0000)]
ART: Make RuntimeCallbacks unique_ptr
am:
ac30fa2151
Change-Id: I5ff83bcef10a2d7bd7136140daad054f491fa2db
Andreas Gampe [Fri, 20 Jan 2017 02:01:16 +0000 (02:01 +0000)]
ART: Add ClassLoadCallback
am:
0f01b583c3
Change-Id: Ib4ac8edbcf14bdb423f7992e92f5a4ca989bdf70
Andreas Gampe [Fri, 20 Jan 2017 02:01:08 +0000 (02:01 +0000)]
Revert "Revert "ART: Start RuntimeCallbacks""
am:
04bbb5be5b
Change-Id: Ie5f0850a4985afec450010d5a515d5d19288f350
Treehugger Robot [Fri, 20 Jan 2017 01:52:53 +0000 (01:52 +0000)]
Merge "ART: Add SigQuit Callback"
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""
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
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
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
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
Andreas Gampe [Fri, 20 Jan 2017 01:20:21 +0000 (01:20 +0000)]
Merge "ART: Add Agent Thread API"
am:
03042d5456
Change-Id: I2f7733665758ac2a9ab811b999884b44accdfa37
Alex Light [Fri, 20 Jan 2017 01:20:05 +0000 (01:20 +0000)]
Merge "Revert "Revert "Implement RetransformClasses"""
am:
07e56f3e1d
Change-Id: Ia7464767f092d9d78523c7d188f0a7cb0b4815c1
Treehugger Robot [Fri, 20 Jan 2017 01:14:42 +0000 (01:14 +0000)]
Merge "ART: 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
Treehugger Robot [Fri, 20 Jan 2017 01:08:56 +0000 (01:08 +0000)]
Merge "Revert "Revert "Implement RetransformClasses"""
Andreas Gampe [Thu, 19 Jan 2017 05:43:16 +0000 (21:43 -0800)]
ART: Add SigQuit Callback
Add callback being triggered when the runtime handles SigQuit.
Bug:
31684920
Test: m test-art-host-gtest-runtime_callbacks_test
Change-Id: I23e3b256c654b6078c79b3897439d893ea79d96e
Alex Light [Thu, 19 Jan 2017 23:27:57 +0000 (23:27 +0000)]
Merge "Revert "Implement RetransformClasses"" am:
152b9567d0 am:
b72553a036
am:
33ab67953c
Change-Id: Ic05b72055730d01f23d44c2cfc6f209d6688f42c
Alex Light [Thu, 19 Jan 2017 23:20:26 +0000 (23:20 +0000)]
Merge "Revert "Implement RetransformClasses"" am:
152b9567d0
am:
b72553a036
Change-Id: I6b85988234f84c1d59eefb953efe2210c49e6d2b
Alex Light [Thu, 19 Jan 2017 23:05:06 +0000 (15:05 -0800)]
Revert "Revert "Implement RetransformClasses""
This reverts commit
52a2db50b76f2b981d21d5508c3d9e8ab4c5fe93.
Reason for revert: Issue with RedefineClasses was resolved.
Test: ART_TEST_JNI_FORCECOPY=true mma -j40 test-art-host
Change-Id: I06f198df4fb40c48647b358d241710329e0812e9
Andreas Gampe [Thu, 19 Jan 2017 05:02:36 +0000 (21:02 -0800)]
ART: Make RuntimeCallbacks unique_ptr
Reduce the transitive closure of headers on runtime.h
Test: m
Change-Id: Ib5a3632c28b08bf07773f217a7ad711c1f12af6b
Andreas Gampe [Wed, 18 Jan 2017 23:22:37 +0000 (15:22 -0800)]
ART: Add ClassLoadCallback
Add callback for class-load and class-prepare events. Move Dbg
over. Add tests.
Bug:
31684920
Test: m test-art-host-gtest-runtime_callbacks_test
Test: art/tools/run-jdwp-tests.sh --mode=host
Change-Id: I871f6b3c54448fd6ece8d9a7571b2042be50d525
Andreas Gampe [Thu, 19 Jan 2017 17:49:03 +0000 (17:49 +0000)]
Revert "Revert "ART: Start RuntimeCallbacks""
This reverts commit
bf6331a45f730e1f1044af2ce43bceda660ae6fc.
Switch to using the mutator lock.
Bug:
31684920
Test: m test-art-host-gtest-runtime_callbacks_test
Test: art/tools/run-jdwp-tests.sh --mode=host --debug
Change-Id: I6ce0f71de2aa9f90cd23cfca7723a793b560b16b
Alex Light [Thu, 19 Jan 2017 23:10:25 +0000 (23:10 +0000)]
Merge "Revert "Implement RetransformClasses""
am:
152b9567d0
Change-Id: Ib84ad8e4a4d0b24e721a1cb0ffabc97f3bcbc890
Alex Light [Thu, 19 Jan 2017 23:01:26 +0000 (23:01 +0000)]
Merge "Revert "Implement RetransformClasses""
Alex Light [Thu, 19 Jan 2017 23:00:21 +0000 (23:00 +0000)]
Revert "Implement RetransformClasses"
This reverts commit
a6c5e97a4395352bc8684e6af9cecb62b80c316c.
Reason for revert: Accidently introduces double-free bug in RedefineClasses.
Change-Id: I021336c4fcf0cfb304915b0ffc5eaba5f91fdd5e
Mathieu Chartier [Thu, 19 Jan 2017 22:29:22 +0000 (22:29 +0000)]
Merge "Delete deadlocking DCHECK for LOS allocation" am:
a8acb1274c am:
5cb3d67420
am:
da16748c78
Change-Id: Id08cc40b779a98696f5744fc55a011e4c5decf58
Mathieu Chartier [Thu, 19 Jan 2017 22:26:52 +0000 (22:26 +0000)]
Merge "Delete deadlocking DCHECK for LOS allocation" am:
a8acb1274c
am:
5cb3d67420
Change-Id: Ib9863f67bb5af16e4362d1a74aaa09ac732d3afc
Mathieu Chartier [Thu, 19 Jan 2017 22:24:21 +0000 (22:24 +0000)]
Merge "Delete deadlocking DCHECK for LOS allocation"
am:
a8acb1274c
Change-Id: If6e69b581e71e947cd5f47084de7687f87b81d85
Mathieu Chartier [Thu, 19 Jan 2017 22:21:31 +0000 (22:21 +0000)]
Merge "Delete deadlocking DCHECK for LOS allocation"
Alex Light [Thu, 19 Jan 2017 21:20:18 +0000 (21:20 +0000)]
Merge "Implement RetransformClasses" am:
a58bc2e744 am:
2c0048b339
am:
15778ae5e7
Change-Id: I8c364b39312dca225e9c2f8d27c0dc7290c9332c
Alex Light [Thu, 19 Jan 2017 21:17:47 +0000 (21:17 +0000)]
Merge "Implement RetransformClasses" am:
a58bc2e744
am:
2c0048b339
Change-Id: Ib8be7bf4f9e9286afc59d0ad336766dc1e0d6bc0
Alex Light [Thu, 19 Jan 2017 21:15:17 +0000 (21:15 +0000)]
Merge "Implement RetransformClasses"
am:
a58bc2e744
Change-Id: Ib5efc5b07464d3b9385e7282bbac0ccd323d2182
Treehugger Robot [Thu, 19 Jan 2017 21:09:19 +0000 (21:09 +0000)]
Merge "Implement RetransformClasses"
Mathieu Chartier [Thu, 19 Jan 2017 19:37:22 +0000 (11:37 -0800)]
Delete deadlocking DCHECK for LOS allocation
The DCHECK required acquiring the heap bitmap lock. This lock
may be held by the GC during checkpoint marking. If the GC was
blocked waiting for the allocating thread to run its checkpoint, the
allocating thread would deadlock trying to acquire the heap bitmap
lock.
Bug:
34386492
Test: test-art-host
Change-Id: Idc0bf43cba726c690e578c15bd6373ba0a2c1ecb
Calin Juravle [Thu, 19 Jan 2017 19:55:40 +0000 (19:55 +0000)]
Merge "Rename offline_profiling_info to profile_compilation_info" am:
7af8c6a499 am:
4af047eed5
am:
af4e817291
Change-Id: I4d8021144097cfbce109399e7b8c0592c39c668d
Calin Juravle [Thu, 19 Jan 2017 19:53:10 +0000 (19:53 +0000)]
Merge "Rename offline_profiling_info to profile_compilation_info" am:
7af8c6a499
am:
4af047eed5
Change-Id: I6e1743e7327d08a4428af31e8cb9d3a54584eb5c
Calin Juravle [Thu, 19 Jan 2017 19:51:40 +0000 (19:51 +0000)]
Merge "Rename offline_profiling_info to profile_compilation_info"
am:
7af8c6a499
Change-Id: I9e812d71b86ce76dc9336aebd01aa8a08e159117
Calin Juravle [Thu, 19 Jan 2017 19:42:25 +0000 (19:42 +0000)]
Merge "Rename offline_profiling_info to profile_compilation_info"
Alex Light [Fri, 13 Jan 2017 22:15:41 +0000 (14:15 -0800)]
Implement RetransformClasses
This CL implements basic support for the RetransformClasses function
and callbacks of the ClassFileLoadHook.
We do not yet support calling the ClassFileLoadHook events on first
load of class.
Bug:
32369913
Bug:
31684920
Test: mma -j40 test-art-host
Change-Id: I7959474f03f9903cc6f10ae3c06d9fd531ec7957
Nicolas Geoffray [Thu, 19 Jan 2017 19:14:07 +0000 (19:14 +0000)]
Merge "Partial revert of "Reduce using ArtMethod's dex_cache_resolved_types_."" am:
f78f64b2be am:
352cefc496
am:
57185d3c69
Change-Id: I5f60eb87ecb6d46fed5174002028dc4323b57d47
Nicolas Geoffray [Thu, 19 Jan 2017 19:10:08 +0000 (19:10 +0000)]
Merge "Partial revert of "Reduce using ArtMethod's dex_cache_resolved_types_."" am:
f78f64b2be
am:
352cefc496
Change-Id: I1b4feeb4505062abdbbbed4ed49b082b9537641e
Hiroshi Yamauchi [Wed, 18 Jan 2017 22:47:25 +0000 (14:47 -0800)]
Enable CC (ART_USE_READ_BARRIER) by default.
Bug:
34084559
Bug:
12687968
Test: boot on angler
Test: test-art-host
Change-Id: I0287b813335b472dd59aa6b94aeeab2da60b9c99
Nicolas Geoffray [Thu, 19 Jan 2017 19:07:36 +0000 (19:07 +0000)]
Merge "Partial revert of "Reduce using ArtMethod's dex_cache_resolved_types_.""
am:
f78f64b2be
Change-Id: I9678ad7040c0ceb53a13ed760d4c6b24784ec2d2
Treehugger Robot [Thu, 19 Jan 2017 19:02:07 +0000 (19:02 +0000)]
Merge "Partial revert of "Reduce using ArtMethod's dex_cache_resolved_types_.""
Mingyao Yang [Thu, 5 Jan 2017 21:46:36 +0000 (13:46 -0800)]
CHA for abstract methods.
Add the ability to devirtualize abstract method invocation if
an abstract method has only one implementation. Only support in JIT
mode currently.
Test: new testcase and ART_TEST_JIT=true m -j20 test-art-host-run-test
Change-Id: I43da03a9fa9a73840f5eaf207c6611e0913a7f66
Nicolas Geoffray [Thu, 19 Jan 2017 16:25:06 +0000 (16:25 +0000)]
Partial revert of "Reduce using ArtMethod's dex_cache_resolved_types_."
Change Ic45a5ff8c66b79429e440cbc08d67bf22a083682 made the resolution
from true to false, assuming we could only enter that specific code
with a resolved type. Unfortunately b/
34440020 shows we still
need to resolve.
Also move arg to a Handle, now that we are resolving, which could
lead to thread suspension.
bug:
34440020
bug:
34452336
Test: test-art-host test-art-target
Change-Id: I98c834158733a46cf896e7dfa7ce226c53e2d949
Richard Uhler [Thu, 19 Jan 2017 16:58:39 +0000 (16:58 +0000)]
Do not use npic image for oat file assistant tests.
Because patchoat will no longer support relocating npic images.
All that matters for the oat file assistant test is that the secondary
boot image has a different checksum than the primary one.
Bug:
33192586
Test: oat_file_assistant_test
Change-Id: I7ece86337221a9d0c56534b2045026ba5d3d7d89
Mingyao Yang [Thu, 19 Jan 2017 14:38:20 +0000 (14:38 +0000)]
Merge "Always inline some methods related to StackMap." am:
a8b4390a3b am:
573fab74b5
am:
c3ff504cbc
Change-Id: I22afcc43eebf25ca28f04af79563b0f7ab796bcc
Mingyao Yang [Thu, 19 Jan 2017 14:33:50 +0000 (14:33 +0000)]
Merge "Always inline some methods related to StackMap." am:
a8b4390a3b
am:
573fab74b5
Change-Id: I7a45ad2cca3bfba8420be7d415be5b3ca9e9e98a
Nicolas Geoffray [Thu, 19 Jan 2017 14:33:49 +0000 (14:33 +0000)]
Merge "Remove unused array entrypoints." am:
c956973106 am:
96cdb907b5
am:
2002e34244
Change-Id: Ie04aecfde2d24166e10d0c801eea4f9e2d0793ce