Lines Matching refs:WeakReference
20 import java.lang.ref.WeakReference;
96 WeakReference<Class> klass = setUpUnloadClassWeak(constructor);
99 WeakReference<Class> klass2 = setUpUnloadClassWeak(constructor);
108 WeakReference<ClassLoader> loader = setUpUnloadLoader(constructor, true);
117 WeakReference<Class> weak_klass = new WeakReference(klass);
128 WeakReference<ClassLoader> loader = setUpLoadLibrary(constructor);
143 classLoader = new WeakReference<ClassLoader>(l);
147 public WeakReference<ClassLoader> classLoader;
204 private static WeakReference<Class> setUpUnloadClassWeak(Constructor<?> constructor)
206 return new WeakReference<Class>(setUpUnloadClass(constructor));
209 private static WeakReference<ClassLoader> setUpUnloadLoader(Constructor<?> constructor,
220 return new WeakReference(loader);
232 private static WeakReference<ClassLoader> setUpLoadLibrary(Constructor<?> constructor)
240 return new WeakReference(loader);