OSDN Git Service

android-x86/art.git
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 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 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
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
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

7 years agoMerge "Revert "Revert "Implement RetransformClasses"""
Treehugger Robot [Fri, 20 Jan 2017 01:08:56 +0000 (01:08 +0000)]
Merge "Revert "Revert "Implement RetransformClasses"""

7 years agoART: Add SigQuit Callback
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

7 years agoMerge "Revert "Implement RetransformClasses"" am: 152b9567d0
Alex Light [Thu, 19 Jan 2017 23:20:26 +0000 (23:20 +0000)]
Merge "Revert "Implement RetransformClasses"" am: 152b9567d0
am: b72553a036

Change-Id: I6b85988234f84c1d59eefb953efe2210c49e6d2b

7 years agoRevert "Revert "Implement RetransformClasses""
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

7 years agoART: Make RuntimeCallbacks unique_ptr
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

7 years agoART: Add ClassLoadCallback
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

7 years agoRevert "Revert "ART: Start RuntimeCallbacks""
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

7 years agoMerge "Revert "Implement RetransformClasses""
Alex Light [Thu, 19 Jan 2017 23:10:25 +0000 (23:10 +0000)]
Merge "Revert "Implement RetransformClasses""
am: 152b9567d0

Change-Id: Ib84ad8e4a4d0b24e721a1cb0ffabc97f3bcbc890

7 years agoMerge "Revert "Implement RetransformClasses""
Alex Light [Thu, 19 Jan 2017 23:01:26 +0000 (23:01 +0000)]
Merge "Revert "Implement RetransformClasses""

7 years agoRevert "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

7 years agoMerge "Delete deadlocking DCHECK for LOS allocation" am: a8acb1274c
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

7 years agoMerge "Delete deadlocking DCHECK for LOS allocation"
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

7 years agoMerge "Delete deadlocking DCHECK for LOS allocation"
Mathieu Chartier [Thu, 19 Jan 2017 22:21:31 +0000 (22:21 +0000)]
Merge "Delete deadlocking DCHECK for LOS allocation"

7 years agoMerge "Implement RetransformClasses" am: a58bc2e744
Alex Light [Thu, 19 Jan 2017 21:17:47 +0000 (21:17 +0000)]
Merge "Implement RetransformClasses" am: a58bc2e744
am: 2c0048b339

Change-Id: Ib8be7bf4f9e9286afc59d0ad336766dc1e0d6bc0

7 years agoMerge "Implement RetransformClasses"
Alex Light [Thu, 19 Jan 2017 21:15:17 +0000 (21:15 +0000)]
Merge "Implement RetransformClasses"
am: a58bc2e744

Change-Id: Ib5efc5b07464d3b9385e7282bbac0ccd323d2182

7 years agoMerge "Implement RetransformClasses"
Treehugger Robot [Thu, 19 Jan 2017 21:09:19 +0000 (21:09 +0000)]
Merge "Implement RetransformClasses"

7 years agoDelete deadlocking DCHECK for LOS allocation
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

7 years agoMerge "Rename offline_profiling_info to profile_compilation_info" am: 7af8c6a499
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

7 years agoMerge "Rename offline_profiling_info to profile_compilation_info"
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

7 years agoMerge "Rename offline_profiling_info to profile_compilation_info"
Calin Juravle [Thu, 19 Jan 2017 19:42:25 +0000 (19:42 +0000)]
Merge "Rename offline_profiling_info to profile_compilation_info"

7 years agoImplement RetransformClasses
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

7 years agoMerge "Partial revert of "Reduce using ArtMethod's dex_cache_resolved_types_."" am...
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

7 years agoEnable CC (ART_USE_READ_BARRIER) by default.
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

7 years agoMerge "Partial revert of "Reduce using ArtMethod's dex_cache_resolved_types_.""
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

7 years agoMerge "Partial revert of "Reduce using ArtMethod's dex_cache_resolved_types_.""
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_.""

7 years agoPartial revert of "Reduce using ArtMethod's dex_cache_resolved_types_."
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

7 years agoDo not use npic image for oat file assistant tests.
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

7 years agoMerge "Always inline some methods related to StackMap." am: a8b4390a3b
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

7 years agoMerge "Always inline some methods related to StackMap."
Mingyao Yang [Thu, 19 Jan 2017 14:31:19 +0000 (14:31 +0000)]
Merge "Always inline some methods related to StackMap."
am: a8b4390a3b

Change-Id: Ie6e2b60a8bcbe253e167a293cebf6f21b138d770

7 years agoMerge "Remove unused array entrypoints." am: c956973106
Nicolas Geoffray [Thu, 19 Jan 2017 14:27:19 +0000 (14:27 +0000)]
Merge "Remove unused array entrypoints." am: c956973106
am: 96cdb907b5

Change-Id: Ibdc1c4eac0a1dbfb3022af9874d5b14c8e64b970

7 years agoMerge "Always inline some methods related to StackMap."
Mingyao Yang [Thu, 19 Jan 2017 14:24:54 +0000 (14:24 +0000)]
Merge "Always inline some methods related to StackMap."

7 years agoMerge "Remove unused array entrypoints."
Nicolas Geoffray [Thu, 19 Jan 2017 14:20:50 +0000 (14:20 +0000)]
Merge "Remove unused array entrypoints."
am: c956973106

Change-Id: I2ea0b6175442af684eb2c90b94b47dc1729b067a

7 years agoMerge "Remove unused array entrypoints."
Nicolas Geoffray [Thu, 19 Jan 2017 14:11:35 +0000 (14:11 +0000)]
Merge "Remove unused array entrypoints."

7 years agoMerge "Remove now unused dex_cache_resolved_types_ from ArtMethod." am: 308fa4d904
Nicolas Geoffray [Thu, 19 Jan 2017 13:28:17 +0000 (13:28 +0000)]
Merge "Remove now unused dex_cache_resolved_types_ from ArtMethod." am: 308fa4d904
am: dc12c6a607

Change-Id: I5f8ee895e3b2e1ffd00af34f806a211274073efc

7 years agoMerge "Remove now unused dex_cache_resolved_types_ from ArtMethod."
Nicolas Geoffray [Thu, 19 Jan 2017 13:25:47 +0000 (13:25 +0000)]
Merge "Remove now unused dex_cache_resolved_types_ from ArtMethod."
am: 308fa4d904

Change-Id: Ic5a058ad68667db15fa1e0cc973365025facffe0

7 years agoMerge "Remove now unused dex_cache_resolved_types_ from ArtMethod."
Nicolas Geoffray [Thu, 19 Jan 2017 13:20:58 +0000 (13:20 +0000)]
Merge "Remove now unused dex_cache_resolved_types_ from ArtMethod."

7 years agoMerge "ART: Remove unused runtime.h include" am: 6141e156f7
Andreas Gampe [Thu, 19 Jan 2017 13:16:16 +0000 (13:16 +0000)]
Merge "ART: Remove unused runtime.h include" am: 6141e156f7
am: 074629d64e

Change-Id: I8b6a09a3cac975cbe032ba1c993fde7ffb76bfed

7 years agoMerge "ART: Remove unused runtime.h include"
Andreas Gampe [Thu, 19 Jan 2017 13:13:45 +0000 (13:13 +0000)]
Merge "ART: Remove unused runtime.h include"
am: 6141e156f7

Change-Id: I4e2d9dc576435599fc5623e5d9af3d4424daca68

7 years agoMerge "ART: Remove unused runtime.h include"
Treehugger Robot [Thu, 19 Jan 2017 13:09:10 +0000 (13:09 +0000)]
Merge "ART: Remove unused runtime.h include"

7 years agoRemove unused array entrypoints.
Nicolas Geoffray [Wed, 18 Jan 2017 18:07:15 +0000 (18:07 +0000)]
Remove unused array entrypoints.

Test: test-art-host test-art-target
Change-Id: I910d1c912c7c9056ecea0e1e7da7afb2a7220dfa

7 years agoMerge "Revert "Revert "Load the array class in the compiler for allocations.""" am...
Nicolas Geoffray [Thu, 19 Jan 2017 11:26:39 +0000 (11:26 +0000)]
Merge "Revert "Revert "Load the array class in the compiler for allocations.""" am: 2f670ccba0
am: 24adeb9496

Change-Id: Id1016a81237319e3307274bb605a79bed6586996

7 years agoMerge "Revert "Revert "Load the array class in the compiler for allocations."""
Nicolas Geoffray [Thu, 19 Jan 2017 11:22:09 +0000 (11:22 +0000)]
Merge "Revert "Revert "Load the array class in the compiler for allocations."""
am: 2f670ccba0

Change-Id: I1657a9287cb391240dbd7762ee12ecb2adf2c8d6

7 years agoMerge "Revert "Revert "Load the array class in the compiler for allocations."""
Nicolas Geoffray [Thu, 19 Jan 2017 11:15:05 +0000 (11:15 +0000)]
Merge "Revert "Revert "Load the array class in the compiler for allocations."""

7 years agoMerge "Revert^3 "Remove unused code for patching oat files."" am: fcb6e39157
Richard Uhler [Thu, 19 Jan 2017 11:04:09 +0000 (11:04 +0000)]
Merge "Revert^3 "Remove unused code for patching oat files."" am: fcb6e39157
am: a6a31aa19e

Change-Id: I241b079ec4fc8130e9f798957a1b6d345e38cb73

7 years agoMerge "Revert^3 "Remove unused code for patching oat files.""
Richard Uhler [Thu, 19 Jan 2017 11:01:37 +0000 (11:01 +0000)]
Merge "Revert^3 "Remove unused code for patching oat files.""
am: fcb6e39157

Change-Id: Ia38bf92b639e10460b33e7bb7e789bf58f7f06d9

7 years agoMerge "Revert^3 "Remove unused code for patching oat files.""
Richard Uhler [Thu, 19 Jan 2017 10:57:52 +0000 (10:57 +0000)]
Merge "Revert^3 "Remove unused code for patching oat files.""

7 years agoRevert^3 "Remove unused code for patching oat files."
Richard Uhler [Thu, 19 Jan 2017 10:53:59 +0000 (10:53 +0000)]
Revert^3 "Remove unused code for patching oat files."

This reverts commit e7ec8b25dd6ac1b8ad8a68f808048bd6a61138f0.
Because tests are failing.

Bug: 33192586

Change-Id: I3e575c6c037873195c2177241153e3646d58e8a6

7 years agoMerge "ART: Improve class initializer and constructor verification." am: 9e8c8ca2d4
Orion Hodson [Thu, 19 Jan 2017 10:41:06 +0000 (10:41 +0000)]
Merge "ART: Improve class initializer and constructor verification." am: 9e8c8ca2d4
am: dc1a8b5d92

Change-Id: Ifa322f78b38c6b275aafa956c556fe0b6ac6bde8

7 years agoMerge "ART: Improve class initializer and constructor verification."
Orion Hodson [Thu, 19 Jan 2017 10:39:06 +0000 (10:39 +0000)]
Merge "ART: Improve class initializer and constructor verification."
am: 9e8c8ca2d4

Change-Id: I00c27affa667472bf42ff59692a346efdc732688

7 years agoMerge "ART: Improve class initializer and constructor verification."
Treehugger Robot [Thu, 19 Jan 2017 10:35:47 +0000 (10:35 +0000)]
Merge "ART: Improve class initializer and constructor verification."

7 years agoMerge "Revert "Revert "Remove unused code for patching oat files.""" am: ee64b4d83a
Richard Uhler [Thu, 19 Jan 2017 09:47:04 +0000 (09:47 +0000)]
Merge "Revert "Revert "Remove unused code for patching oat files.""" am: ee64b4d83a
am: cb41e2692e

Change-Id: I32af4bac8ea061eea75b3609b98e2dde611d14fc

7 years agoMerge "Revert "Revert "Remove unused code for patching oat files."""
Richard Uhler [Thu, 19 Jan 2017 09:45:03 +0000 (09:45 +0000)]
Merge "Revert "Revert "Remove unused code for patching oat files."""
am: ee64b4d83a

Change-Id: I2b61ea5c8bc7518544ca7a42dda18a22553c6533

7 years agoMerge "Revert "Revert "Remove unused code for patching oat files."""
Treehugger Robot [Thu, 19 Jan 2017 09:40:34 +0000 (09:40 +0000)]
Merge "Revert "Revert "Remove unused code for patching oat files."""

7 years agoRevert "Revert "Load the array class in the compiler for allocations.""
Nicolas Geoffray [Thu, 19 Jan 2017 08:59:37 +0000 (08:59 +0000)]
Revert "Revert "Load the array class in the compiler for allocations.""

This reverts commit fee255039e30c1c3dfc70c426c3d176221c3cdf9.

Change-Id: I02b45f9a659d872feeb35df40b42c1be9878413a

7 years agoMerge "Revert "ART: Start RuntimeCallbacks"" am: 44751efea1
Nicolas Geoffray [Thu, 19 Jan 2017 09:09:01 +0000 (09:09 +0000)]
Merge "Revert "ART: Start RuntimeCallbacks"" am: 44751efea1
am: 16ff8f0e3f

Change-Id: I42658d82ec641ab557b0dd7886461abced6032b2

7 years agoMerge "Revert "ART: Start RuntimeCallbacks""
Nicolas Geoffray [Thu, 19 Jan 2017 09:07:01 +0000 (09:07 +0000)]
Merge "Revert "ART: Start RuntimeCallbacks""
am: 44751efea1

Change-Id: I4345c4a2ae676c1a9d66f478a3bd6e369bfbd4ef

7 years agoMerge "Revert "ART: Start RuntimeCallbacks""
Nicolas Geoffray [Thu, 19 Jan 2017 09:03:12 +0000 (09:03 +0000)]
Merge "Revert "ART: Start RuntimeCallbacks""

7 years agoRevert "ART: Start RuntimeCallbacks"
Nicolas Geoffray [Thu, 19 Jan 2017 09:02:50 +0000 (09:02 +0000)]
Revert "ART: Start RuntimeCallbacks"

jdwp tests failing with:
    STDERR> dalvikvm32 E 01-18 23:14:50 12180 12198 thread-inl.h:137] holding "runtime callbacks lock" at point where thread suspension is expected

Bug: 31684920

This reverts commit 13093d455b8266338fd713b04261c58e9dc2b164.

Change-Id: I94e4154e273d006eecdd485607dcfd96392d6a00

7 years agoART: Improve class initializer and constructor verification.
Orion Hodson [Wed, 21 Sep 2016 14:41:06 +0000 (15:41 +0100)]
ART: Improve class initializer and constructor verification.

DEX file verifier checks additional properties of class initializers
and constructors:

(i) Names match expected <clinit> / <init>.
(ii) The method descriptor for <clinit> is ()V.
(iii) The return type of <init> is V.
(iV) No other names start with '<'.

Bug:  31313719
Change-Id: I60bffa6561e1bae353f97c42377ea556bfa790af
Test: m test-art-host-gtest-dex_file_verifier_test

7 years agoART: Remove unused runtime.h include
Andreas Gampe [Thu, 19 Jan 2017 05:30:48 +0000 (21:30 -0800)]
ART: Remove unused runtime.h include

This has not been used since 98e6ce44c700abd9375fe17f0aa31fea1e1e938b.

Test: m
Change-Id: If10971f9fcfb2417eece23f0c9186734314ad81b

7 years agoMerge "Revert "Load the array class in the compiler for allocations."" am: b0355130e3
Hiroshi Yamauchi [Thu, 19 Jan 2017 03:46:40 +0000 (03:46 +0000)]
Merge "Revert "Load the array class in the compiler for allocations."" am: b0355130e3
am: 94a4546721

Change-Id: If55f290228e4372fabfa66bff2354ce85fa9efde

7 years agoMerge "Revert "Load the array class in the compiler for allocations.""
Hiroshi Yamauchi [Thu, 19 Jan 2017 03:44:11 +0000 (03:44 +0000)]
Merge "Revert "Load the array class in the compiler for allocations.""
am: b0355130e3

Change-Id: I4a49af6e60d2efe41dfaee395ca93fc7b0ceee52

7 years agoMerge "Revert "Load the array class in the compiler for allocations.""
Treehugger Robot [Thu, 19 Jan 2017 03:37:11 +0000 (03:37 +0000)]
Merge "Revert "Load the array class in the compiler for allocations.""

7 years agoRename offline_profiling_info to profile_compilation_info
Calin Juravle [Wed, 18 Jan 2017 23:29:12 +0000 (15:29 -0800)]
Rename offline_profiling_info to profile_compilation_info

This solves a long standing TODO to align the names of the files and the
class.

Bug: 32434870
Test: test-art-host

Change-Id: I2707da8fef8736a7223189d894fc00ff11bfab12

7 years agoMerge "ART: Note CC configuration down into oat files" am: 0157eee15c
Andreas Gampe [Thu, 19 Jan 2017 02:16:17 +0000 (02:16 +0000)]
Merge "ART: Note CC configuration down into oat files" am: 0157eee15c
am: c12c72fb2e

Change-Id: Idbaa3fac5a34c7e09ef6fd94a89c87028c311369

7 years agoART: Note CC configuration down into oat files am: f8cd890d86
Andreas Gampe [Thu, 19 Jan 2017 02:16:04 +0000 (02:16 +0000)]
ART: Note CC configuration down into oat files am: f8cd890d86
am: 11d469d2b7

Change-Id: I925d6db4330962a5ebb90da1f16c5cd318940bb5

7 years agoMerge "ART: Note CC configuration down into oat files"
Andreas Gampe [Thu, 19 Jan 2017 02:14:05 +0000 (02:14 +0000)]
Merge "ART: Note CC configuration down into oat files"
am: 0157eee15c

Change-Id: I3f8c004ee7e39ee127630d627c88a35f84f413c2

7 years agoART: Note CC configuration down into oat files
Andreas Gampe [Thu, 19 Jan 2017 02:14:04 +0000 (02:14 +0000)]
ART: Note CC configuration down into oat files
am: f8cd890d86

Change-Id: I9576d4b8f9a2d86b83d6f77ef41ab51a48d022d9

7 years agoRevert "Load the array class in the compiler for allocations."
Hiroshi Yamauchi [Thu, 19 Jan 2017 02:11:15 +0000 (02:11 +0000)]
Revert "Load the array class in the compiler for allocations."

libcore test fails.

This reverts commit cc99df230feb46ba717252f002d0cc2da6828421.

Change-Id: I5bac595acd2b240886062e8c1f11f9095ff6a9ed

7 years agoMerge "ART: Note CC configuration down into oat files"
Treehugger Robot [Thu, 19 Jan 2017 02:10:20 +0000 (02:10 +0000)]
Merge "ART: Note CC configuration down into oat files"

7 years agoMerge "Split ArtJvmtiEvent::kClassFileLoadHook in two." am: 1a901eff5e
Alex Light [Thu, 19 Jan 2017 01:34:03 +0000 (01:34 +0000)]
Merge "Split ArtJvmtiEvent::kClassFileLoadHook in two." am: 1a901eff5e
am: 1fbb64b2d6

Change-Id: I140e8953475f478a1029c7013f415efdb7f1b110

7 years agoMerge "Split ArtJvmtiEvent::kClassFileLoadHook in two."
Alex Light [Thu, 19 Jan 2017 01:32:02 +0000 (01:32 +0000)]
Merge "Split ArtJvmtiEvent::kClassFileLoadHook in two."
am: 1a901eff5e

Change-Id: Ia6e13ca4b2dfa2258f29e806d3d10efe04b7248e