[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-serviceability-dev
Subject: RFR: 8332641: Update nsk.share.jpda.Jdb to don't use finalization
From: Leonid Mesnik <lmesnik () openjdk ! org>
Date: 2024-05-21 21:54:22
Message-ID: lOOQzcFPNW2HfM1YEfZnwI8PLYOImiGCCAikziWRodw=.764ad22f-7e02-4de0-b884-06d3c5703401 () github ! com
[Download RAW message or body]
The nsk.share.jdb.Jdb has finalize() nethods that close jdb connection and output \
streams.
The fix renames the method to close() and calls it explicitly after the test \
finishes. I verified that close() called for each nsk share jdb test.
The jdb is also LocalProcess with it's own cleanup(). This part still remains the \
same so far.
-------------
Commit messages:
- 8332641: Update nsk.share.jpda.Jdb to don't use finalization
Changes: https://git.openjdk.org/jdk/pull/19336/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=19336&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8332641
Stats: 25 lines in 2 files changed: 8 ins; 7 del; 10 mod
Patch: https://git.openjdk.org/jdk/pull/19336.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/19336/head:pull/19336
PR: https://git.openjdk.org/jdk/pull/19336
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic