RFR: 8364427: JFR: Possible resource leak in Recording::getStream

Erik Gahlin egahlin at openjdk.org
Thu Jul 31 12:33:42 UTC 2025


Could I have a review of the PR that fixes resource leaks when Recording::getStream is used?

Testing: tier1 + test/jdk/jdk/jfr

Thanks
Erik

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

Commit messages:
 - Fix whitespace
 - Initial

Changes: https://git.openjdk.org/jdk/pull/26575/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26575&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8364427
  Stats: 176 lines in 2 files changed: 160 ins; 6 del; 10 mod
  Patch: https://git.openjdk.org/jdk/pull/26575.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26575/head:pull/26575

PR: https://git.openjdk.org/jdk/pull/26575


More information about the hotspot-jfr-dev mailing list