RFR: 8287887: Remove finalization testing from vmTestbase/gc/gctests/PhantomReference/phantom001/phantom001.java

Leonid Mesnik lmesnik at openjdk.java.net
Tue Jun 7 18:33:28 UTC 2022


On Tue, 7 Jun 2022 05:35:45 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:

> Test
> vmTestbase/gc/gctests/PhantomReference/phantom001/phantom001.java🎲
> have verification of finalize() method which is unstable and might fail with -Xcomp.
> 
> The finalization is deprecated for removal in https://bugs.openjdk.org/browse/JDK-8274609 and going to be removed.
> 
> So the easiest fix would be just to remove the check.

Let's postpone this fix until finalization is removed. Test failed in ATR only so just keep bug to track this problem.

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

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



More information about the hotspot-gc-dev mailing list