RFR: 8197812: (ref) Data race in Finalizer

Martin Buchholz martinrb at google.com
Fri Feb 16 03:13:08 UTC 2018

On Thu, Feb 15, 2018 at 3:20 PM, mandy chung <mandy.chung at oracle.com> wrote:

> I have posted RFR to remove runFinalizersOnExit.   I think your patch
> would become cleaner as you may keep the remove method or inline in
> runFinalizer method as your original patch has.
> Do you want to wait until JDK-8198249?  or proceed this patch without
> waiting?

I'd like to commit this patch now, in part because we're actually
backporting this as a local patch to make race detection easier.

Regarding remove(), I think it's actually cleaner inline, but if it's kept
a separate method, then make it return a boolean, as with Collection remove

More information about the core-libs-dev mailing list