/art/test/626-const-class-linking/ |
D | expected-stdout.txt | 2 first: Helper1 class loader: DelegatingLoader 3 second: Test class loader: DefiningLoader 4 first: Helper1 class loader: DelegatingLoader 5 second: Test class loader: DefiningLoader 7 first: Helper1 class loader: DelegatingLoader 8 second: Test class loader: DefiningLoader 9 first: Helper2 class loader: DelegatingLoader 10 second: Test class loader: DefiningLoader 12 first: Helper1 class loader: RacyLoader 13 second: Test class loader: DefiningLoader [all …]
|
D | clear_dex_cache_types.cc | 61 ObjPtr<mirror::ClassLoader> loader = as_class->GetClassLoader(); in Java_Main_nativeDumpClasses() local 65 << " definingLoader:" << static_cast<const void*>(loader.Ptr()) in Java_Main_nativeDumpClasses() 67 << (loader != nullptr ? loader->GetClass()->PrettyDescriptor() : "N/A"); in Java_Main_nativeDumpClasses()
|
/art/test/692-vdex-secondary-loader/src/ |
D | Main.java | 36 private static void test(ClassLoader loader, in test() argument 46 check(expectedClassesVerified, areClassesVerified(loader), "areClassesVerified"); in test() 47 check(expectedHasVdexFile, hasVdexFile(loader), "hasVdexFile"); in test() 48 check(expectedBackedByOat, isBackedByOatFile(loader), "isBackedByOatFile"); in test() 49 check(expectedBackedByOat, areClassesPreverified(loader), "areClassesPreverified"); in test() 52 loader.loadClass("art.ClassB").getDeclaredMethod("printHello").invoke(null); in test() 56 String filter = getCompilerFilter(loader.loadClass("art.ClassB")); in test() 87 private static native boolean areClassesVerified(ClassLoader loader); in areClassesVerified() argument 88 private static native boolean hasVdexFile(ClassLoader loader); in hasVdexFile() argument 89 private static native boolean isBackedByOatFile(ClassLoader loader); in isBackedByOatFile() argument [all …]
|
/art/test/068-classloader/src/ |
D | Main.java | 28 FancyLoader loader; in main() local 30 loader = new FancyLoader(ClassLoader.getSystemClassLoader()); in main() 54 testAccess1(loader); in main() 55 testAccess2(loader); in main() 56 testAccess3(loader); in main() 58 testExtend(loader); in main() 59 testExtendOkay(loader); in main() 60 testInterface(loader); in main() 61 testAbstract(loader); in main() 62 testImplement(loader); in main() [all …]
|
/art/test/692-vdex-inmem-loader/src/ |
D | Main.java | 43 private static void test(ClassLoader loader, in test() argument 53 check(expectedClassesVerified, areClassesVerified(loader), "areClassesVerified"); in test() 54 check(expectedHasVdexFile, hasVdexFile(loader), "areClassesVerified"); in test() 55 check(expectedBackedByOat, isBackedByOatFile(loader), "isBackedByOatFile"); in test() 56 check(expectedBackedByOat, areClassesPreverified(loader), "areClassesPreverified"); in test() 59 loader.loadClass("art.ClassB").getDeclaredMethod("printHello").invoke(null); in test() 62 String filter = getCompilerFilter(loader.loadClass("art.ClassB")); in test() 126 private static native boolean areClassesVerified(ClassLoader loader); in areClassesVerified() argument 127 private static native boolean hasVdexFile(ClassLoader loader); in hasVdexFile() argument 128 private static native boolean isBackedByOatFile(ClassLoader loader); in isBackedByOatFile() argument [all …]
|
/art/test/141-class-unload/src/ |
D | Main.java | 108 WeakReference<ClassLoader> loader = setUpUnloadLoader(constructor, true); in testUnloadLoader() local 112 System.out.println(loader.get()); in testUnloadLoader() 128 WeakReference<ClassLoader> loader = setUpLoadLibrary(constructor); in testLoadAndUnloadLibrary() local 132 System.out.println(loader.get()); in testLoadAndUnloadLibrary() 135 private static Object testNoUnloadHelper(ClassLoader loader) throws Exception { in testNoUnloadHelper() argument 136 Class<?> intHolder = loader.loadClass("IntHolder"); in testNoUnloadHelper() 151 ClassLoader loader = (ClassLoader) constructor.newInstance( in testNoUnloadInstanceHelper() local 153 Object o = testNoUnloadHelper(loader); in testNoUnloadInstanceHelper() 154 return new Pair(o, loader); in testNoUnloadInstanceHelper() 166 ClassLoader loader = (ClassLoader) constructor.newInstance( in setUpUnloadClass() local [all …]
|
/art/test/949-in-memory-transform/src/art/ |
D | Test949.java | 90 ClassLoader loader; in run() local 93 loader = (ClassLoader)Class.forName("dalvik.system.InMemoryDexClassLoader") in run() 99 loader = new ClassLoader() { in run() 109 doTest(loader); in run() 112 public static void doTest(ClassLoader loader) throws Exception { in doTest() argument 114 Class<?> transform_class = loader.loadClass("Transform"); in doTest()
|
/art/test/156-register-dex-file-multi-loader/ |
D | Android.bp | 3 // Build rules for ART run-test `156-register-dex-file-multi-loader`. 16 name: "art-run-test-156-register-dex-file-multi-loader", 21 ":art-run-test-156-register-dex-file-multi-loader-expected-stdout", 22 ":art-run-test-156-register-dex-file-multi-loader-expected-stderr", 28 name: "art-run-test-156-register-dex-file-multi-loader-expected-stdout", 29 out: ["art-run-test-156-register-dex-file-multi-loader-expected-stdout.txt"], 36 name: "art-run-test-156-register-dex-file-multi-loader-expected-stderr", 37 out: ["art-run-test-156-register-dex-file-multi-loader-expected-stderr.txt"],
|
/art/test/693-vdex-inmem-loader-evict/ |
D | Android.bp | 3 // Build rules for ART run-test `693-vdex-inmem-loader-evict`. 16 name: "art-run-test-693-vdex-inmem-loader-evict", 21 ":art-run-test-693-vdex-inmem-loader-evict-expected-stdout", 22 ":art-run-test-693-vdex-inmem-loader-evict-expected-stderr", 28 name: "art-run-test-693-vdex-inmem-loader-evict-expected-stdout", 29 out: ["art-run-test-693-vdex-inmem-loader-evict-expected-stdout.txt"], 36 name: "art-run-test-693-vdex-inmem-loader-evict-expected-stderr", 37 out: ["art-run-test-693-vdex-inmem-loader-evict-expected-stderr.txt"],
|
/art/test/497-inlining-and-class-loader/ |
D | Android.bp | 3 // Build rules for ART run-test `497-inlining-and-class-loader`. 16 name: "art-run-test-497-inlining-and-class-loader", 21 ":art-run-test-497-inlining-and-class-loader-expected-stdout", 22 ":art-run-test-497-inlining-and-class-loader-expected-stderr", 28 name: "art-run-test-497-inlining-and-class-loader-expected-stdout", 29 out: ["art-run-test-497-inlining-and-class-loader-expected-stdout.txt"], 36 name: "art-run-test-497-inlining-and-class-loader-expected-stderr", 37 out: ["art-run-test-497-inlining-and-class-loader-expected-stderr.txt"],
|
/art/test/496-checker-inlining-class-loader/ |
D | Android.bp | 3 // Build rules for ART run-test `496-checker-inlining-class-loader`. 16 name: "art-run-test-496-checker-inlining-class-loader", 21 ":art-run-test-496-checker-inlining-class-loader-expected-stdout", 22 ":art-run-test-496-checker-inlining-class-loader-expected-stderr", 31 name: "art-run-test-496-checker-inlining-class-loader-expected-stdout", 32 out: ["art-run-test-496-checker-inlining-class-loader-expected-stdout.txt"], 39 name: "art-run-test-496-checker-inlining-class-loader-expected-stderr", 40 out: ["art-run-test-496-checker-inlining-class-loader-expected-stderr.txt"],
|
/art/runtime/ |
D | debug_print.cc | 63 std::string DescribeLoaders(ObjPtr<mirror::ClassLoader> loader, const char* class_descriptor) { in DescribeLoaders() argument 76 if (loader == nullptr) { in DescribeLoaders() 79 for (; loader != nullptr; loader = loader->GetParent()) { in DescribeLoaders() 80 ClassTable* table = Runtime::Current()->GetClassLinker()->ClassTableForClassLoader(loader); in DescribeLoaders() 81 oss << loader_separator << loader->GetClass()->PrettyDescriptor() in DescribeLoaders() 96 if (loader->GetClass() == path_class_loader || in DescribeLoaders() 97 loader->GetClass() == dex_class_loader || in DescribeLoaders() 98 loader->GetClass() == delegate_last_class_loader) { in DescribeLoaders() 102 Handle<mirror::ClassLoader> handle(hs.NewHandle(loader)); in DescribeLoaders()
|
/art/test/626-const-class-linking/src/ |
D | RacyMisbehavingHelper.java | 25 ClassLoader loader = helper1_class.getClassLoader(); in get() local 26 Method reportAfterLoading = loader.getClass().getDeclaredMethod("reportAfterLoading"); in get() 27 reportAfterLoading.invoke(loader); in get()
|
/art/test/612-jit-dex-cache/src-art/ |
D | Main.java | 46 ClassLoader loader = new DelegateLastPathClassLoader(DEX_FILE, Main.class.getClassLoader()); in classFromDifferentLoader() local 47 return loader.loadClass("LoadedByAppClassLoader"); in classFromDifferentLoader() 60 ClassLoader loader = (ClassLoader) m.invoke(null); in main() local 61 if (loader != cls.getClassLoader()) { in main()
|
/art/test/616-cha-unloading/src-art/ |
D | Main.java | 53 WeakReference<ClassLoader> loader = result.cl; in testUnload() local 56 if (loader.get() != null) { in testUnload() 78 ClassLoader loader = sConstructor.newInstance( in setupLoader() local 80 Class<?> concreteCHATester = loader.loadClass("ConcreteCHATester"); in setupLoader() 93 return new CHAUnloaderRetType(new WeakReference(loader), ret, artMethod); in setupLoader()
|
/art/openjdkjvmti/ |
D | ti_class_loader.cc | 64 art::Handle<art::mirror::ClassLoader> loader, in AddToClassLoader() argument 68 if (art::ClassLinker::IsBootClassLoader(soa, loader.Get())) { in AddToClassLoader() 73 hs.NewHandle(FindSourceDexFileObject(self, loader))); in AddToClassLoader() 139 art::Handle<art::mirror::ClassLoader> loader) { in GetDexElementList() argument 153 art::Handle<art::mirror::Class> loader_class(hs.NewHandle(loader->GetClass())); in GetDexElementList() 164 hs.NewHandle(path_list_field->GetObject(loader.Get()))); in GetDexElementList() 173 art::Thread* self, art::Handle<art::mirror::ClassLoader> loader) { in FindSourceDexFileObject() argument 176 loader, in FindSourceDexFileObject()
|
D | ti_class_loader.h | 61 art::Handle<art::mirror::ClassLoader> loader, 69 art::Thread* self, art::Handle<art::mirror::ClassLoader> loader) 76 art::Handle<art::mirror::ClassLoader> loader, 94 art::Thread* self, art::Handle<art::mirror::ClassLoader> loader)
|
/art/test/692-vdex-inmem-loader/ |
D | vdex_inmem_loader.cc | 41 jobject loader) { in Java_Main_areClassesVerified() argument 44 Handle<mirror::ClassLoader> h_loader(hs.NewHandle(soa.Decode<mirror::ClassLoader>(loader))); in Java_Main_areClassesVerified() 80 jobject loader) { in Java_Main_hasVdexFile() argument 83 Handle<mirror::ClassLoader> h_loader = hs.NewHandle(soa.Decode<mirror::ClassLoader>(loader)); in Java_Main_hasVdexFile() 110 jobject loader) { in Java_Main_isBackedByOatFile() argument 113 Handle<mirror::ClassLoader> h_loader = hs.NewHandle(soa.Decode<mirror::ClassLoader>(loader)); in Java_Main_isBackedByOatFile() 137 jobject loader) { in Java_Main_areClassesPreverified() argument 140 Handle<mirror::ClassLoader> h_loader(hs.NewHandle(soa.Decode<mirror::ClassLoader>(loader))); in Java_Main_areClassesPreverified()
|
/art/test/693-vdex-inmem-loader-evict/src/ |
D | Main.java | 52 ClassLoader loader = loadDex(i); in main() local 54 check(true, hasVdexFile(loader), "Loading dex file should have produced a vdex"); in main() 62 ClassLoader loader = loadDex(i); in main() local 64 check(true, hasVdexFile(loader), "Loading dex file should have produced a vdex"); in main() 75 private static native boolean hasVdexFile(ClassLoader loader); in hasVdexFile() argument
|
/art/runtime/native/ |
D | java_lang_reflect_Proxy.cc | 33 jobject loader, jobjectArray methods, jobjectArray throws) { in Proxy_generateProxy() argument 37 soa, name, interfaces, loader, methods, throws)); in Proxy_generateProxy()
|
/art/test/1963-add-to-dex-classloader-in-memory/ |
D | add_to_loader.cc | 30 jobject loader, 73 jobject loader, in Java_art_Test1963_addToClassLoaderNative() argument 84 loader, in Java_art_Test1963_addToClassLoaderNative()
|
/art/test/1964-add-to-dex-classloader-file/ |
D | add_to_loader.cc | 30 jobject loader, 72 jobject loader, in Java_Main_addToClassLoaderNative() argument 84 loader, in Java_Main_addToClassLoaderNative()
|
/art/test/138-duplicate-classes-check/src-art/ |
D | Main.java | 36 PathClassLoader loader = new PathClassLoader(dexPath, librarySearchPath, in run() local 40 Class<?> testEx = loader.loadClass("TestEx"); in run()
|
/art/test/086-null-super/src/ |
D | Main.java | 148 BrokenDexLoader loader; in testFailLoadAndGc() local 150 loader = new BrokenDexLoader(ClassLoader.getSystemClassLoader()); in testFailLoadAndGc() 151 loader.findBrokenClass(); in testFailLoadAndGc()
|
/art/test/636-wrong-static-access/src/ |
D | Main.java | 31 ClassLoader loader = (ClassLoader) constructor.newInstance( in main() local 33 Class<?> foo = loader.loadClass("Foo"); in main()
|