Weak Reference

GPTKB entity

Statements (35)
Predicate Object
gptkbp:instance_of gptkb:class
gptkb:Library
gptkb:municipality
gptkbp:bfsLayer 4
gptkbp:bfsParent gptkb:java.lang.ref._Reference
gptkbp:behavior does not prevent its referent from being made reclaimable
can be used to avoid memory leaks
gptkbp:constructor Weak Reference(T referent, Reference Queue<? super T> q)
Weak Reference(T referent)
gptkbp:field gptkb:river
referent
is Enqueued
gptkbp:has_method clear
get
enqueue
gptkbp:held_in nan
https://www.w3.org/2000/01/rdf-schema#label Weak Reference
gptkbp:is_part_of java.lang.ref package
gptkbp:is_related_to gptkb:Phantom_Reference
gptkb:Soft_Reference
gptkbp:is_used_for Memory Management
gptkbp:is_used_in gptkb:Company
gptkbp:packaging gptkb:java.lang.ref
gptkbp:purpose to allow the garbage collector to collect an object while still being referenced
gptkbp:related_to gptkb:Phantom_Reference
gptkb:Soft_Reference
gptkb:municipality
gptkbp:technique clear()
get()
enqueue()
to String()
is Enqueued()
gptkbp:type T
gptkbp:uses used in caching implementations
used in memory-sensitive applications