diff options
author | 2017-03-14 13:26:12 +0000 | |
---|---|---|
committer | 2017-03-16 17:56:04 +0000 | |
commit | 6b2dc3156a2140a5bfd9cbbf5d7dad332ab5f5bd (patch) | |
tree | a335cae93c0eabae63e39b8bc13ef3e15f4f7e50 /runtime/native/java_lang_DexCache.h | |
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 'runtime/native/java_lang_DexCache.h')
-rw-r--r-- | runtime/native/java_lang_DexCache.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/runtime/native/java_lang_DexCache.h b/runtime/native/java_lang_DexCache.h deleted file mode 100644 index b1c1f5e72c..0000000000 --- a/runtime/native/java_lang_DexCache.h +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright (C) 2014 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ART_RUNTIME_NATIVE_JAVA_LANG_DEXCACHE_H_ -#define ART_RUNTIME_NATIVE_JAVA_LANG_DEXCACHE_H_ - -#include <jni.h> - -namespace art { - -void register_java_lang_DexCache(JNIEnv* env); - -} // namespace art - -#endif // ART_RUNTIME_NATIVE_JAVA_LANG_DEXCACHE_H_ |