This content has been marked as final.
Show 2 replies
-
1. Re: Global factoryLock in Component.java - performance issue
manarh Jun 29, 2012 3:22 AM (in response to ahus1)hey Alexander,
I agree that the current global locking on getInstanceFromFactory method is wrong. I am inclined to remove it completely. I saw your suggested patch and we will discuss this fix/issue more in deep as we don't want to create another regression in other areas related to using factories.
-
2. Re: Global factoryLock in Component.java - performance issue
manarh Jul 3, 2012 6:59 AM (in response to manarh)I have applied your patch with a little changes.
So as a summary:
There was a problem with too wide locking which could cause a deadlock. This is now fixed by reduced locking in case of calling Factory method. More details in JBSEAM-4861 or JBSEAM-4993