"adrian(a)jboss.org" wrote :
| Let's go with that, but we need to do so extra work to see whether all this
| caching is (still) effective.
|
But won't this interfere with this:
"adrian(a)jboss.org" wrote :
| Also I think it will cause a memory leak.
|
| You effectively have:
|
| | WeakValueHashMap<ClassInfo, BeanInfo>
| |
| but the ClassInfo could itself get a hard reference on the BeanInfo
| via one of its "attachments", e.g. the caching of SchemaBindings in jbossxb
| against the TypeInfo.
|
If not, I'll change it + add some caching tests. :-)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4190954#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...