[Bug 30839] BSTR cache corrupts most of cached BSTR entries
wine-bugs at winehq.org
wine-bugs at winehq.org
Fri Jun 22 08:29:52 CDT 2012
http://bugs.winehq.org/show_bug.cgi?id=30839
--- Comment #15 from Dmitry Timoshkov <dmitry at baikal.ru> 2012-06-22 08:29:52 CDT ---
(In reply to comment #14)
> This patch keeps a buffer in a bucked for smaller buffers if accurate bucked is
> full. This was we keep it alive for longer time, but at cost of wasted memory.
> We already do similar trick when we look for a buffer in cache (if we don't
> have matching buffer, we try to use a bit bigger one). If we keep extending the
> cache implementation this way, we risk a serious waste of memory, which I'd
> much rather avoid in such a common memory allocator. So, with this patch, the
> semantic is preserved, but it needs more thoughts.
I played a bit with the affected application + the patch, and looked for
memory consumption: I didn't notice any visible change in memory usage
statistics in comparison with one without the patch.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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.
More information about the wine-bugs
mailing list