OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ReferenceQueue
(Results
1 - 25
of
68
) sorted by null
1
2
3
/libcore/luni/src/test/java/libcore/java/lang/ref/
ReferenceQueueTest.java
19
import java.lang.ref.
ReferenceQueue
;
28
ReferenceQueue
<Object>
referenceQueue
= new
ReferenceQueue
<Object>();
30
referenceQueue
.remove(-1);
37
ReferenceQueue
<Object>
referenceQueue
= new
ReferenceQueue
<Object>();
38
enqueueLater(
referenceQueue
, 500);
39
referenceQueue
.remove(Long.MAX_VALUE)
[
all
...]
/libcore/luni/src/main/java/java/lang/ref/
PhantomReference.java
59
public PhantomReference(T r,
ReferenceQueue
<? super T> q) {
SoftReference.java
99
public SoftReference(T r,
ReferenceQueue
<? super T> q) {
WeakReference.java
107
public WeakReference(T r,
ReferenceQueue
<? super T> q) {
ReferenceQueue.java
21
* The {@code
ReferenceQueue
} is the container on which reference objects are
27
public class
ReferenceQueue
<T> {
36
public
ReferenceQueue
() {
152
synchronized (
ReferenceQueue
.class) {
169
ReferenceQueue
.class.notifyAll();
/art/runtime/gc/
reference_queue.h
42
// appropriate java.lang.ref.
ReferenceQueue
. The linked list is maintained in the
44
class
ReferenceQueue
{
46
explicit
ReferenceQueue
(Mutex* lock);
67
void EnqueueFinalizerReferences(
ReferenceQueue
* cleared_references,
80
void ClearWhiteReferences(
ReferenceQueue
* cleared_references,
109
DISALLOW_IMPLICIT_CONSTRUCTORS(
ReferenceQueue
);
reference_queue.cc
29
ReferenceQueue
::
ReferenceQueue
(Mutex* lock) : lock_(lock), list_(nullptr) {
32
void
ReferenceQueue
::AtomicEnqueueIfNotEnqueued(Thread* self, mirror::Reference* ref) {
40
void
ReferenceQueue
::EnqueueReference(mirror::Reference* ref) {
45
void
ReferenceQueue
::EnqueuePendingReference(mirror::Reference* ref) {
65
mirror::Reference*
ReferenceQueue
::DequeuePendingReference() {
110
void
ReferenceQueue
::Dump(std::ostream& os) const {
127
size_t
ReferenceQueue
::GetLength() const {
139
void
ReferenceQueue
::ClearWhiteReferences(
ReferenceQueue
* cleared_references
[
all
...]
reference_processor.h
106
ReferenceQueue
soft_reference_queue_;
107
ReferenceQueue
weak_reference_queue_;
108
ReferenceQueue
finalizer_reference_queue_;
109
ReferenceQueue
phantom_reference_queue_;
110
ReferenceQueue
cleared_references_;
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ref/
WeakReferenceTest.java
20
import java.lang.ref.
ReferenceQueue
;
32
* java.lang.ref.
ReferenceQueue
)
35
ReferenceQueue
rq = new
ReferenceQueue
();
PhantomReferenceTest.java
22
import java.lang.ref.
ReferenceQueue
;
39
ReferenceQueue
rq = new
ReferenceQueue
();
55
ReferenceQueue
<? super T> q) {
66
final
ReferenceQueue
rq = new
ReferenceQueue
();
111
* java.lang.ref.
ReferenceQueue
)
114
ReferenceQueue
rq = new
ReferenceQueue
();
ReferenceTest.java
21
import java.lang.ref.
ReferenceQueue
;
46
public TestWeakReference(T referent,
ReferenceQueue
<? super T> q) {
92
SoftReference sr = new SoftReference(tmpA, new
ReferenceQueue
());
93
WeakReference wr = new WeakReference(tmpB, new
ReferenceQueue
());
94
PhantomReference pr = new PhantomReference(tmpC, new
ReferenceQueue
());
112
ReferenceQueue
rq = new
ReferenceQueue
();
123
rq = new
ReferenceQueue
();
147
ReferenceQueue
<Object> queue = new
ReferenceQueue
<Object>()
[
all
...]
SoftReferenceTest.java
20
import java.lang.ref.
ReferenceQueue
;
35
* java.lang.ref.
ReferenceQueue
)
38
ReferenceQueue
rq = new
ReferenceQueue
();
94
final
ReferenceQueue
rq = new
ReferenceQueue
();
/art/test/079-phantom/src/
Bitmap.java
17
import java.lang.ref.
ReferenceQueue
;
28
private static
ReferenceQueue
<PhantomWrapper> sPhantomQueue =
29
new
ReferenceQueue
<PhantomWrapper>();
114
ReferenceQueue
<PhantomWrapper> queue, int nativeDataPtr)
127
ReferenceQueue
<PhantomWrapper> mQueue;
130
BitmapWatcher(
ReferenceQueue
<PhantomWrapper> queue) {
/external/apache-http/src/org/apache/http/impl/conn/tsccm/
BasicPoolEntryRef.java
35
import java.lang.ref.
ReferenceQueue
;
64
ReferenceQueue
<Object> queue) {
BasicPoolEntry.java
34
import java.lang.ref.
ReferenceQueue
;
70
ReferenceQueue
<Object> queue) {
RefQueueWorker.java
34
import java.lang.ref.
ReferenceQueue
;
44
* {@link
ReferenceQueue
queued}
60
protected final
ReferenceQueue
<?> refQueue;
79
public RefQueueWorker(
ReferenceQueue
<?> queue, RefQueueHandler handler) {
/libcore/libart/src/main/java/java/lang/ref/
Reference.java
127
* and be a java.lang.ref.
ReferenceQueue
.
129
volatile
ReferenceQueue
<? super T> queue;
132
* Used internally by java.lang.ref.
ReferenceQueue
.
155
Reference(T r,
ReferenceQueue
<? super T> q) {
/external/guava/guava/src/com/google/common/base/
FinalizablePhantomReference.java
20
import java.lang.ref.
ReferenceQueue
;
25
* {@link
ReferenceQueue
}.
FinalizableSoftReference.java
19
import java.lang.ref.
ReferenceQueue
;
25
*
ReferenceQueue
}.
FinalizableWeakReference.java
19
import java.lang.ref.
ReferenceQueue
;
25
*
ReferenceQueue
}.
/packages/apps/Gallery/src/com/android/camera/gallery/
LruCache.java
19
import java.lang.ref.
ReferenceQueue
;
30
private
ReferenceQueue
<V> mQueue = new
ReferenceQueue
<V>();
45
public Entry(K key, V value,
ReferenceQueue
<V> queue) {
79
mQueue = new
ReferenceQueue
<V>();
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
LocaleObjectCache.java
9
import java.lang.ref.
ReferenceQueue
;
15
private
ReferenceQueue
<V> _queue = new
ReferenceQueue
<V>();
74
CacheEntry(K key, V value,
ReferenceQueue
<V> queue) {
/packages/apps/Gallery2/src/com/android/gallery3d/util/
IdentityCache.java
19
import java.lang.ref.
ReferenceQueue
;
29
private
ReferenceQueue
<V> mQueue = new
ReferenceQueue
<V>();
37
public Entry(K key, V value,
ReferenceQueue
<V> queue) {
68
mQueue = new
ReferenceQueue
<V>();
/external/javassist/src/main/javassist/scopedpool/
SoftValueHashMap.java
18
import java.lang.ref.
ReferenceQueue
;
36
private SoftValueRef(Object key, Object val,
ReferenceQueue
q) {
42
ReferenceQueue
q) {
63
private
ReferenceQueue
queue = new
ReferenceQueue
();
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
LruCache.java
19
import java.lang.ref.
ReferenceQueue
;
34
private
ReferenceQueue
<V> mQueue = new
ReferenceQueue
<V>();
49
public Entry(K key, V value,
ReferenceQueue
<V> queue) {
88
mQueue = new
ReferenceQueue
<V>();
Completed in 4066 milliseconds
1
2
3