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: [email protected]
Reporter: [email protected]
Hi,
https://forum.dlang.org/post/[email protected]
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/[email protected]
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.
--