Integrated: 8305081: Remove finalize() from test/hotspot/jtreg/compiler/runtime/Test8168712
Afshin Zafari
azafari at openjdk.org
Fri May 12 14:29:06 UTC 2023
On Tue, 9 May 2023 13:02:45 GMT, Afshin Zafari <azafari at openjdk.org> wrote:
> - The `finalize()` method is replaced with `cleanup()`.
> - A new constructor is added to register the cleanup method.
> - A static `Cleaner` is defined to have only one cleaner thread for all the 15000 instances. Otherwise, we get an `OutOfMemoryException` on cleaner thread creation.
This pull request has now been integrated.
Changeset: 39dc40fe
Author: Afshin Zafari <azafari at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/39dc40fed4e1af3e77355fa9f4abb0c72279a140
Stats: 13 lines in 1 file changed: 11 ins; 0 del; 2 mod
8305081: Remove finalize() from test/hotspot/jtreg/compiler/runtime/Test8168712
Reviewed-by: coleenp, thartmann
-------------
PR: https://git.openjdk.org/jdk/pull/13886
More information about the hotspot-compiler-dev
mailing list