AnsweredAssumed Answered

Race hazard in DefaultDeploymentCache?

Question asked by zmb on Apr 12, 2014
Latest reply on Apr 26, 2014 by zmb
Hi all,

First of all, sorry for my english, I'm not a native speaker.

While I were playing with Activiti, I noticed the deployment cache is just a HashMap. I digged into the code of Activiti, but I didn't find any synchonization when the code access the cache. My experience, and the javadoc of the HashMap tells me that this will soon or later cause a  stuck thread. Unfortunately I couldn't produce the problem, but I saw system running for years before the simultaneous writing caused stuck thread.

Can somebody (who knows the code of Activiti in detail) confirm me that this is indeed a bug, or show me why won't be a problem?