You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The cache of Type instances is currently a static Object, which emans that
every Type instance ever created will stay in memory for the entire
lifespan of an application.
Changing the cache into a Dictionary object with weak keys can negate this
problem.
I've attached a patch for the Type class that does this, it also adds a new
static method called resetCache(), calling this recreates the cache
dicitonary, optionally you can specify the weakKeys parameter which will e
passed on to the Dictionary constructor.
The Dictionary is created with weak keys by default.
Original issue reported on code.google.com by ihatelivelyids on 17 Sep 2009 at 2:08
Original issue reported on code.google.com by
ihatelivelyids
on 17 Sep 2009 at 2:08Attachments:
The text was updated successfully, but these errors were encountered: