[Issue 23483] New: add profile-gc hook function user can call early to dump partial report file.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Nov 13 21:47:27 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=23483
Issue ID: 23483
Summary: add profile-gc hook function user can call early to
dump partial report file.
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: blocker
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: mingwu at gmail.com
Hi,
https://forum.dlang.org/post/snrmxqjpxmoylsnxxfhs@forum.dlang.org
Right now my program is facing a out-of-memory problem, there is no way the
program can run to finish to get the complete full profilegc.log report.
However, there is also no easy way to exit early from a multi-threaded program:
https://forum.dlang.org/thread/bavfkowjjcijeshrtisl@forum.dlang.org
So, I think we need to add profile-gc hook function that the user can call
early to dump partial report file.
Then at least the programmer has some control and view the partial report file.
This is really a *blocker* for my project.
Thanks.
--
More information about the Digitalmars-d-bugs
mailing list