Home | History | Annotate | Download | only in base

Lines Matching defs:frq

96     // sepLoader is the loader that we will use to load the parallel FinalizableReferenceQueue (FRQ)
98 // is that the ClassLoader of this test is a URLClassLoader, and that it loads FRQ itself
107 // FRQ tries to load the Finalizer class (for the reference-collecting thread) in a few ways.
109 // then FRQ does not bother to load Finalizer.class through a separate ClassLoader. That happens
111 // our test by setting a static field. We are changing the field in the parallel version of FRQ
119 // Now make a parallel FRQ and an associated FinalizableWeakReference to an object, in order to
176 public static FinalizableReferenceQueue frq = new FinalizableReferenceQueue();
181 WeakReference<Object> wr = new FinalizableWeakReference<Object>(new Integer(23), frq) {
207 // is that we attempt to run a thread in a separate ClassLoader that will detect when the FRQ
212 // security reasons anyway. Therefore, the FRQ.close() method provides a way to stop the thread
215 // to null would also work, but only if there are no references to the FRQ anywhere else.)
246 Field sepFrqUserFrqF = sepFrqUserC.getField("frq");
247 Closeable frq = (Closeable) sepFrqUserFrqF.get(null);
248 frq.close();