Bug with profiling GC with multiple threads/fibers

Joel joelcnz at gmail.com
Fri Sep 13 06:25:35 UTC 2019


On Sunday, 21 April 2019 at 16:20:51 UTC, WebFreak001 wrote:
> I'm trying to GC profile serve-d which uses a lot of fibers 
> potentially also across some threads and some threads doing 
> some dedicated work, however -profile=gc doesn't seem to work 
> properly. It logs `shared static this` calls and some methods, 
> however none of the actual stuff is in there (and the total 
> bytes allocated is way too small)
>
> [...]

I don't know a fix. On my macOS computer, I close serve-d thread 
when it's using too much CPU, I also knock off spindump for the 
same reason.


More information about the Digitalmars-d-learn mailing list