digitalmars.D.bugs - [Issue 23483] New: add profile-gc hook function user can call early
- d-bugmail puremagic.com (26/26) Nov 13 2022 https://issues.dlang.org/show_bug.cgi?id=23483
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 puremagic.com Reporter: mingwu 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. --
Nov 13 2022