Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport] 8319053: Segment dump files remain after parallel heap dump on Windows #715

Merged
merged 1 commit into from
Nov 8, 2023

Conversation

y1yang0
Copy link
Collaborator

@y1yang0 y1yang0 commented Nov 6, 2023

Summary: 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

Test Plan: HeapDumpParallelTest.java

Reviewed-by: D-D-H, yuleil

Issue: #714

…p on Windows

Summary: 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

Test Plan: HeapDumpParallelTest.java

Reviewed-by: D-D-H, yuleil

Issue: dragonwell-project#714
@y1yang0 y1yang0 requested review from yuleil, D-D-H and weixlu November 6, 2023 02:35
@y1yang0 y1yang0 merged commit 3d46ae3 into dragonwell-project:master Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants