RFR: 8285872: JFR: Remove finalize() methods
Markus Grönlund
mgronlun at openjdk.java.net
Wed May 11 11:54:45 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
Marked as reviewed by mgronlun (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/8510
More information about the hotspot-jfr-dev
mailing list