diff options
| author | 2017-03-14 13:26:12 +0000 | |
|---|---|---|
| committer | 2017-03-16 17:56:04 +0000 | |
| commit | 6b2dc3156a2140a5bfd9cbbf5d7dad332ab5f5bd (patch) | |
| tree | a335cae93c0eabae63e39b8bc13ef3e15f4f7e50 /compiler | |
| parent | f83f3f6ecb1153d96cc8007e8a0d1e35af4d3f38 (diff) | |
ART: Get rid of most of java.lang.DexCache.
All remaining functionality is moved over to native. The DexCache
object itself is allocated in the Java heap, even though there's no
longer much of a reason to do so. It can be changed in a future change
if needed.
This also renames mirror::Class:GetInterfaces to GetProxyInterfaces
since it's supposed to be called only for proxies.
Test: test-art-host, cts -m CtsLibcoreTestCases
Change-Id: Ie261f22a9f80c929f01d2b456f170c7a464ba21c
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/image_writer.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler/image_writer.cc b/compiler/image_writer.cc index aa734561b6..aefdb548ff 100644 --- a/compiler/image_writer.cc +++ b/compiler/image_writer.cc @@ -976,9 +976,6 @@ void ImageWriter::PruneNonImageClasses() { dex_cache->ClearResolvedField(pair.index, target_ptr_size_); } } - // Clean the dex field. It might have been populated during the initialization phase, but - // contains data only valid during a real run. - dex_cache->SetFieldObject<false>(mirror::DexCache::DexOffset(), nullptr); } // Drop the array class cache in the ClassLinker, as these are roots holding those classes live. |