On Wed, 11 Nov 2020 18:13:30 GMT, Albert Mingkun Yang <ay...@openjdk.org> wrote:

> With `getInactive`, is the null check, `if (finalizee != null` still needed?

Good point! I don't think it is. The GC should not clean the referent before we 
finalized it (or not at all), and no other code is clearing it either. 
Unfortunately, I just integrated this PR, do you think it'd be worth to open a 
follow-up issue?

-------------

PR: https://git.openjdk.java.net/jdk/pull/1140

Reply via email to