Integrated: 8285872: JFR: Remove finalize() methods
Erik Gahlin
egahlin at openjdk.java.net
Wed May 11 12:20:59 UTC 2022
On Mon, 2 May 2022 22:12:48 GMT, Erik Gahlin <egahlin at openjdk.org> wrote:
> Hi,
>
> Could I have review of a fix that removes the finalize() methods in the jdk.jfr module.
>
> Chunks are reference counted so finalizers are not needed. To verify this, I added checks to the finalize() methods to make sure resources were not released when the finalizer was run.
>
> Testing: jdk/jdk/jfr multiple times
>
> Thanks
> Erik
This pull request has now been integrated.
Changeset: f1554fc4
Author: Erik Gahlin <egahlin at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/f1554fc4a8e11a06465f57825fb376ba75019a2f
Stats: 28 lines in 3 files changed: 0 ins; 28 del; 0 mod
8285872: JFR: Remove finalize() methods
Reviewed-by: mgronlun
-------------
PR: https://git.openjdk.java.net/jdk/pull/8510
More information about the hotspot-jfr-dev
mailing list