<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br></div><div>I am using jbpm and drools at Intalio and recently we were looking into performance, and found an issue that in persistence the following class</div><div><span style="font-family: 'Lucida Grande'; font-size: 9px; ">org.drools.persistence.</span><span style="font-family: 'Lucida Grande'; font-size: 9px; ">SingleSessionCommandService</span></div><div><span style="font-family: 'Lucida Grande'; font-size: 9px; "><br></span></div><div><span style="font-family: 'Lucida Grande'; font-size: 9px; ">has method execute() which is synchronized and is entry point to all jbpm functionality</span></div><div><span style="font-family: 'Lucida Grande'; font-size: 9px; "><br></span></div><div><span style="font-family: 'Lucida Grande'; font-size: 9px; ">We were trying to update many process instances at same time and seems because of above they are updated one after another and not in parallel</span></div><div><span style="font-family: 'Lucida Grande'; font-size: 9px; "><br></span></div><div><span style="font-family: 'Lucida Grande'; font-size: 9px; ">I wanted to understand the reason for this method being synchronized and what would be required to make it non-synchronized</span></div><div><span style="font-family: 'Lucida Grande'; font-size: 9px; "><br></span></div><div><span style="font-family: 'Lucida Grande'; font-size: 9px; ">I would be thankful for any advice/help&nbsp;</span></div><div><span style="font-family: 'Lucida Grande'; font-size: 9px; "><br></span></div><div><span style="font-family: 'Lucida Grande'; font-size: 9px; ">Regards,</span></div><div><span style="font-family: 'Lucida Grande'; font-size: 9px; ">Anurag</span></div></body></html>