Hello,
Am Tue, 11 Oct 2016 20:55:54 +
schrieb Jun Zhuang :
> * A Finalizer instance is created for every finalizeable
> object
Yes, the java.lang.ref.Finalizer.Finalizer(Object) constructor will put
the referent in the referent` field of Finalizer (declared in parent
class Referent)
Message-
From: Bernd Eckenfels [mailto:e...@zusammenkunft.net]
Sent: Tuesday, October 11, 2016 3:06 PM
To: hotspot-gc-use@openjdk.java.net
Cc: Jun Zhuang
Subject: Re: About the finalization queue and reference queue
Hello,
what is interesting to know is, that each finalizeable object which is
Hello,
what is interesting to know is, that each finalizeable object which is
tracked is wrapped/tracked with an instance of j.lang.ref.Finalizer
(which is a FinalizerReference subclass i.e. a final reference).
Generally for references to work you need to keep alive the
Reference instance. The fi