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
46
) sorted by null
1
2
/art/runtime/gc/
reference_queue.h
53
// appropriate java.lang.ref.
ReferenceQueue
. The linked list is maintained as an unordered,
56
class
ReferenceQueue
{
58
explicit
ReferenceQueue
(Mutex* lock);
82
void EnqueueFinalizerReferences(
ReferenceQueue
* cleared_references,
94
void ClearWhiteReferences(
ReferenceQueue
* cleared_references,
123
DISALLOW_IMPLICIT_CONSTRUCTORS(
ReferenceQueue
);
reference_queue.cc
31
ReferenceQueue
::
ReferenceQueue
(Mutex* lock) : lock_(lock), list_(nullptr) {
34
void
ReferenceQueue
::AtomicEnqueueIfNotEnqueued(Thread* self, ObjPtr<mirror::Reference> ref) {
42
void
ReferenceQueue
::EnqueueReference(ObjPtr<mirror::Reference> ref) {
59
ObjPtr<mirror::Reference>
ReferenceQueue
::DequeuePendingReference() {
76
void
ReferenceQueue
::DisableReadBarrierForReference(ObjPtr<mirror::Reference> ref) {
104
void
ReferenceQueue
::Dump(std::ostream& os) const {
121
size_t
ReferenceQueue
::GetLength() const {
133
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_;
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/share/
GcMarker.java
22
import java.lang.ref.
ReferenceQueue
;
30
private final
ReferenceQueue
mQueue;
34
mQueue = new
ReferenceQueue
();
/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) {
/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
}.
FinalizableReferenceQueue.java
26
import java.lang.ref.
ReferenceQueue
;
146
final
ReferenceQueue
<Object> queue;
160
queue = new
ReferenceQueue
<Object>();
355
ReferenceQueue
.class,
/art/test/079-phantom/src/
Bitmap.java
17
import java.lang.ref.
ReferenceQueue
;
29
private static
ReferenceQueue
<PhantomWrapper> sPhantomQueue =
30
new
ReferenceQueue
<PhantomWrapper>();
121
ReferenceQueue
<PhantomWrapper> queue, int nativeDataPtr)
136
ReferenceQueue
<PhantomWrapper> mQueue;
138
BitmapWatcher(
ReferenceQueue
<PhantomWrapper> queue) {
/art/test/004-NativeAllocations/src-art/
Main.java
18
import java.lang.ref.
ReferenceQueue
;
43
public static PhantomReference allocPhantom(
ReferenceQueue
<Object> queue) {
54
ReferenceQueue
<Object> queue = new
ReferenceQueue
<Object>();
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/
LocaleObjectCache.java
12
import java.lang.ref.
ReferenceQueue
;
21
private
ReferenceQueue
<V> _queue = new
ReferenceQueue
<V>();
80
CacheEntry(K key, V value,
ReferenceQueue
<V> queue) {
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/impl/locale/
LocaleObjectCache.java
11
import java.lang.ref.
ReferenceQueue
;
17
private
ReferenceQueue
<V> _queue = new
ReferenceQueue
<V>();
76
CacheEntry(K key, V value,
ReferenceQueue
<V> queue) {
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
LocaleObjectCache.java
11
import java.lang.ref.
ReferenceQueue
;
17
private
ReferenceQueue
<V> _queue = new
ReferenceQueue
<V>();
76
CacheEntry(K key, V value,
ReferenceQueue
<V> queue) {
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
ManagedChannelOrphanWrapper.java
22
import java.lang.ref.
ReferenceQueue
;
33
private static final
ReferenceQueue
<ManagedChannelOrphanWrapper> refqueue =
34
new
ReferenceQueue
<ManagedChannelOrphanWrapper>();
50
ReferenceQueue
<ManagedChannelOrphanWrapper> refqueue,
87
private final
ReferenceQueue
<ManagedChannelOrphanWrapper> refqueue;
98
ReferenceQueue
<ManagedChannelOrphanWrapper> refqueue,
141
static int cleanQueue(
ReferenceQueue
<ManagedChannelOrphanWrapper> refqueue) {
/external/guava/guava/src/com/google/common/base/internal/
Finalizer.java
21
import java.lang.ref.
ReferenceQueue
;
70
ReferenceQueue
<Object> queue,
104
private final
ReferenceQueue
<Object> queue;
112
ReferenceQueue
<Object> queue,
/external/mockito/src/test/java/org/mockito/internal/creation/bytebuddy/
TypeCachingMockBytecodeGeneratorTest.java
14
import java.lang.ref.
ReferenceQueue
;
47
ReferenceQueue
<Object>
referenceQueue
= new
ReferenceQueue
<Object>();
48
Reference<Object> typeReference = new PhantomReference<Object>(the_mock_type,
referenceQueue
);
58
assertThat(
referenceQueue
.poll()).isEqualTo(typeReference);
85
ReferenceQueue
<Object>
referenceQueue
= new
ReferenceQueue
<Object>();
86
Reference<Object> typeReference = new PhantomReference<Object>(the_mock_type,
referenceQueue
);
[
all
...]
/external/guava/guava-tests/test/com/google/common/base/
FinalizableReferenceQueueTest.java
24
import java.lang.ref.
ReferenceQueue
;
75
private WeakReference<
ReferenceQueue
<Object>> queueReference;
94
queueReference = new WeakReference<
ReferenceQueue
<Object>>(frq.queue);
/art/runtime/mirror/
reference.h
32
class
ReferenceQueue
;
87
// 1. The reference has already been enqueued to a java
ReferenceQueue
. In
91
// shortly be enqueued on a java
ReferenceQueue
. In this case the reference
94
// to be enqueued on a java
ReferenceQueue
.
113
friend class gc::
ReferenceQueue
;
/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/
TypeCachingBytecodeGenerator.java
10
import java.lang.ref.
ReferenceQueue
;
14
class TypeCachingBytecodeGenerator extends
ReferenceQueue
<ClassLoader> implements BytecodeGenerator {
/external/apache-http/src/org/apache/commons/logging/impl/
WeakHashtable.java
20
import java.lang.ref.
ReferenceQueue
;
129
/*
ReferenceQueue
we check for gc'd keys */
130
private
ReferenceQueue
queue = new
ReferenceQueue
();
415
private Referenced(Object key,
ReferenceQueue
queue) {
473
ReferenceQueue
queue,
/external/guice/core/test/com/google/inject/
Asserts.java
41
import java.lang.ref.
ReferenceQueue
;
182
// so we put a second latch and wait for a
ReferenceQueue
to tell us.
183
ReferenceQueue
<Object> queue = new
ReferenceQueue
<>();
197
// so we put a second latch and wait for a
ReferenceQueue
to tell us.
199
ReferenceQueue
<Object> queue = null;
202
queue = new
ReferenceQueue
<>();
/art/test/905-object-free/src/art/
Test905.java
20
import java.lang.ref.
ReferenceQueue
;
32
private final
ReferenceQueue
mQueue;
35
mQueue = new
ReferenceQueue
();
Completed in 1149 milliseconds
1
2