[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: UnwrapValueUnitTestCase.testCollectionUnwrap failure on

alesj do-not-reply at jboss.com
Thu Nov 20 11:05:12 EST 2008


"adrian at 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 at 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#4190954

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4190954



More information about the jboss-dev-forums mailing list