RFR: 8305080: Remove finalize() from test/hotspot/jtreg/compiler/jvmci/common/testcases that used in compiler/jvmci/compilerToVM/ tests

Doug Simon dnsimon at openjdk.org
Thu Apr 13 08:00:33 UTC 2023


On Tue, 11 Apr 2023 07:58:35 GMT, Afshin Zafari <duke at openjdk.org> wrote:

> The finalize() methods are removed and replaced by Cleaner callbacks.
> 
> Note:
> `test/hotspot/jtreg/compiler/jvmci/compilerToVM/HasFinalizableSubclassTest.java` may be removed since there is no need to test if finalize() exists in the subclasses or not..

These tests are for JVMCI functionality related to implementing finalizers properly. As David states [here](https://bugs.openjdk.org/browse/JDK-8305063?focusedCommentId=14570181&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14570181), these tests should only be changed when finalization itself is removed.

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

PR Comment: https://git.openjdk.org/jdk/pull/13419#issuecomment-1506519024


More information about the hotspot-compiler-dev mailing list