RE: PhantomReferences

2021-07-30 Thread Erik Osterlund
Hi Hans, > -Original Message- > From: core-libs-dev On Behalf Of > Hans Boehm > Sent: Friday, 30 July 2021 00:07 > To: core-libs-dev > Subject: PhantomReferences > > Here's another finalization-related issue, this time hopefully appropriate for > this list. T

PhantomReferences

2021-07-29 Thread Hans Boehm
rence to X to be enqueued while X is still actively being used. My understanding is that PhantomReferences were invented largely to make that impossible. 2) Real production implementations enforce a stronger requirement, which includes that the PhantomReference must not reachable from unfinaliz