This PR adds Count and Size properties to StringCache that report the number of strings in the cache and the total size of all cached strings in bytes respectively.
Both properties return -1 if native interning is enabled as it is not possible to obtain this information from the runtime.
This PR adds
Count
andSize
properties toStringCache
that report the number of strings in the cache and the total size of all cached strings in bytes respectively.Both properties return -1 if native interning is enabled as it is not possible to obtain this information from the runtime.