[prev in list] [next in list] [prev in thread] [next in thread]
List: slide-dev
Subject: Possible leek of memory in ExtendedKeystore
From: Bruno Dorel <bd.ais40 () wanadoo ! fr>
Date: 2007-01-04 17:06:37
Message-ID: 459D341D.5020800 () wanadoo ! fr
[Download RAW message or body]
Hi all,
The method removeObjectFromCache(Object key) remove nothing from caches
due to the fact that the key.toString() method used several times in
this méthod refer to the java.lang.Object.toString() method . Change
removeObjectFromCache(Object key) to removeObjectFromCache(Uri key)
it compiles well and will remove objects from your caches and your GC
will tanks you
You should have a look to the Uri.equals(Object obj) method and change
return as : return uri.equals((Uri)obj).uri) Obj.toString is ambigus
Hope this can Help
B DOREL
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic