Re: MyFaces 2.2.10 and Red Hat EAP 6.4.8 issue with memory leak of @viewscope

2016-09-05 Thread Mark Struberg
The main point is: if I have my very own Object I put into the Session myself. And for whatever reason I create an InjectionTarget and apply CDI Injection into it. Then this _must not leak_. The specs (CDI & Servlet) are very clear about that. LieGrue, strub On Monday, 5 September 2016,

Re: MyFaces 2.2.10 and Red Hat EAP 6.4.8 issue with memory leak of @viewscope

2016-09-05 Thread Mark Struberg
Having glanced over the jboss code, I suspect they will have mem leaks with Mojarra as well. Maybe that helps. I know a few people from JBoss, will try to ping one of them. LieGrue, Strub > Am 01.09.2016 um 15:24 schrieb Leonardo Uribe : > > Hi > > I'm cc to MyFaces users

Re: MyFaces 2.2.10 and Red Hat EAP 6.4.8 issue with memory leak of @viewscope

2016-09-01 Thread Leonardo Uribe
Hi I'm cc to MyFaces users list, because these issues should be discussed there. It is a known issue, in resume it is JBossWeb fault, because that map should be a WeakHashMap but synchronized, to ensure the instances are discarded when the beans are serialised into session (in that case destroy