30 Jul
2023
30 Jul
'23
2:12 p.m.
https://bugs.winehq.org/show_bug.cgi?id=54979 --- Comment #4 from John Nagle <nagle(a)animats.com> --- Any progress on this? What usually sets this off is growing an array. That calls realloc, and attempts to grow the buffer in place. If that's not possible due to a lack of free space after the buffer, the realloc code allocates a new buffer, copies the data, and releases the old buffer. The bottleneck seems to be at the point where the old buffer is released. That's somewhat unexpected. A test case might involve a large number of compute-bound threads, all growing arrays slowly. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.