[SR-3661] Memory Leak from Multiple Dictionary Properties #46246
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
memory leak
bug: Memory leak
Attachment: Download
Additional Detail from JIRA
md5: dbd590d1a430e99c3212739ce05424c7
Issue Description:
Instantiate a class with more than one dictionary property and a leak will be triggered in libswiftCore.dylib.
The leaked objects are
_NativeDictionaryStorageOwner<Int, String>
and_NativeDictionaryStorageImpl<Int, String>
.Only one dictionary property will not produce the memory leak, but add one more and it will.
This memory leak is small, but can add up over time, especially with many objects that need multiple dictionary properties. And it makes tracking down other leaks in Instruments an absolute mess.
The text was updated successfully, but these errors were encountered: