Home
last modified time | relevance | path

Searched refs:loader (Results 1 – 25 of 66) sorted by relevance

123

/art/test/626-const-class-linking/
Dexpected.txt2 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 …]
Dclear_dex_cache_types.cc59 mirror::ClassLoader* loader = as_class->GetClassLoader(); in Java_Main_nativeDumpClasses() local
63 << " definingLoader:" << static_cast<const void*>(loader) in Java_Main_nativeDumpClasses()
65 << (loader != nullptr ? loader->GetClass()->PrettyDescriptor() : "N/A"); in Java_Main_nativeDumpClasses()
/art/test/068-classloader/src/
DMain.java28 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/141-class-unload/src/
DMain.java108 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/
DTest949.java90 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/626-const-class-linking/src/
DRacyMisbehavingHelper.java25 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/
DMain.java46 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/runtime/native/
Djava_lang_reflect_Proxy.cc33 jobject loader, jobjectArray methods, jobjectArray throws) { in Proxy_generateProxy() argument
37 soa, name, interfaces, loader, methods, throws)); in Proxy_generateProxy()
Djava_lang_VMClassLoader.cc65 ObjPtr<mirror::ClassLoader> loader = soa.Decode<mirror::ClassLoader>(javaLoader); in VMClassLoader_findLoadedClass() local
80 loader); in VMClassLoader_findLoadedClass()
103 if (loader != nullptr) { in VMClassLoader_findLoadedClass()
111 hs.NewHandle(loader)); in VMClassLoader_findLoadedClass()
/art/test/086-null-super/src/
DMain.java148 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/
DMain.java31 ClassLoader loader = (ClassLoader) constructor.newInstance( in main() local
33 Class<?> foo = loader.loadClass("Foo"); in main()
/art/test/138-duplicate-classes-check/src-art/
DMain.java37 DexClassLoader loader = new DexClassLoader(dexPath, optimizedDirectory, librarySearchPath, in run() local
41 Class<?> testEx = loader.loadClass("TestEx"); in run()
/art/test/156-register-dex-file-multi-loader/src/
DMain.java27 ClassLoader loader = getClass().getClassLoader(); in MyClassLoader() local
28 Class<?> baseDexClassLoader = loader.getClass().getSuperclass(); in MyClassLoader()
31 Object pathList = f.get(loader); in MyClassLoader()
/art/runtime/openjdkjvmti/
Dti_class_loader.cc62 art::Handle<art::mirror::ClassLoader> loader, in AddToClassLoader() argument
66 if (art::ClassLinker::IsBootClassLoader(soa, loader.Get())) { in AddToClassLoader()
71 hs.NewHandle(FindSourceDexFileObject(self, loader))); in AddToClassLoader()
139 art::Thread* self, art::Handle<art::mirror::ClassLoader> loader) { in FindSourceDexFileObject() argument
171 art::Handle<art::mirror::Class> loader_class(hs.NewHandle(loader->GetClass())); in FindSourceDexFileObject()
181 hs.NewHandle(path_list_field->GetObject(loader.Get()))); in FindSourceDexFileObject()
Dti_class_loader.h74 art::Handle<art::mirror::ClassLoader> loader,
82 art::Thread* self, art::Handle<art::mirror::ClassLoader> loader)
/art/test/087-gc-after-link/src/
DMain.java164 BrokenDexLoader loader; in processFailLoadAndGc() local
166 loader = new BrokenDexLoader(ClassLoader.getSystemClassLoader()); in processFailLoadAndGc()
167 loader.findBrokenClass(); in processFailLoadAndGc()
/art/test/496-checker-inlining-class-loader/src/
DMain.java27 ClassLoader loader = getClass().getClassLoader(); in MyClassLoader() local
28 Class<?> baseDexClassLoader = loader.getClass().getSuperclass(); in MyClassLoader()
31 Object pathList = f.get(loader); in MyClassLoader()
/art/test/661-classloader-allocator/src/
DMain.java52 ClassLoader loader = (ClassLoader) constructor.newInstance( in loadClass() local
54 Class<?> otherClass = loader.loadClass("p1.OtherClass"); in loadClass()
/art/tools/ahat/src/heapdump/
DAhatClassObj.java48 Instance loader = classObj.getClassLoader(); in initialize() local
49 if (loader != null) { in initialize()
50 mClassLoader = snapshot.findInstance(loader.getId()); in initialize()
/art/test/542-unresolved-access-check/src/
DMain.java30 ClassLoader loader = getClass().getClassLoader(); in MyClassLoader() local
31 Class<?> baseDexClassLoader = loader.getClass().getSuperclass(); in MyClassLoader()
34 Object pathList = f.get(loader); in MyClassLoader()
/art/test/613-inlining-dex-cache/src-art/
DMain.java47 ClassLoader loader = new DelegateLastPathClassLoader(DEX_FILE, Main.class.getClassLoader()); in main() local
48 Class cls = loader.loadClass("LoadedByAppClassLoader"); in main()
/art/tools/ahat/src/
DStaticHandler.java39 ClassLoader loader = StaticHandler.class.getClassLoader(); in handle() local
40 InputStream is = loader.getResourceAsStream(mResourceName); in handle()
/art/test/497-inlining-and-class-loader/src/
DMain.java26 ClassLoader loader = getClass().getClassLoader(); in MyClassLoader() local
27 Class<?> baseDexClassLoader = loader.getClass().getSuperclass(); in MyClassLoader()
30 Object pathList = f.get(loader); in MyClassLoader()
/art/test/497-inlining-and-class-loader/
Dinfo.txt2 the correct class loader when walking inlined frames.
/art/test/613-inlining-dex-cache/
Dinfo.txt2 wrongly update the dex cache of a class loader.

123