Integrated: JDK-8319053: Segment dump files remain after parallel heap dump on Windows

Alex Menkov amenkov at openjdk.org
Fri Nov 3 20:47:24 UTC 2023


On Wed, 1 Nov 2023 19:23:14 GMT, Alex Menkov <amenkov at openjdk.org> wrote:

> Segment file is closed from DumpWriter dtor.
> On Unix systems `remove` can delete an opened file, on Windows it fails with "access denied".
> The fix destroys DumpWriter objects for segment files after all data are dumped

This pull request has now been integrated.

Changeset: 29cf2c47
Author:    Alex Menkov <amenkov at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/29cf2c471bf046cd58bd6fefd617a2b03040d4ff
Stats:     22 lines in 2 files changed: 17 ins; 2 del; 3 mod

8319053: Segment dump files remain after parallel heap dump on Windows

Reviewed-by: dholmes, yyang

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

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


More information about the serviceability-dev mailing list