RFR: 8287887: Remove finalization testing from vmTestbase/gc/gctests/PhantomReference/phantom001/phantom001.java
Kim Barrett
kbarrett at openjdk.java.net
Tue Jun 7 13:21:03 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.
I think this change is premature. finalization is deprecated for removal, but removal is expected to take a while. Until then I think we should continue testing that the interaction works as expected.
-------------
PR: https://git.openjdk.java.net/jdk/pull/9053
More information about the hotspot-gc-dev
mailing list