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

Leonid Mesnik lmesnik at openjdk.java.net
Tue Jun 7 05:41:28 UTC 2022


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.

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

Commit messages:
 - 8287887

Changes: https://git.openjdk.java.net/jdk/pull/9053/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=9053&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8287887
  Stats: 30 lines in 1 file changed: 0 ins; 30 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/9053.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/9053/head:pull/9053

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



More information about the hotspot-gc-dev mailing list