#632 Concurrency bug in ModelItemIconAnimator.java

open
nobody
general (369)
5
2012-08-17
2012-08-17
hung nguyen 6832
No

Known affected version SOAPUI CE 4.5.0, 4.5.1.
Symptoms: Ru load test with multiple threads with little delays between threads over a time interval. Many of the threads eventually stuck in the sleep state at line 86 of 4.5.1 ModelItemIconAnimator.java. So the number of the running threads dwindles to only a few threads. The issue is the poor concurrently in the start() method of ModelItemIconAnimator.java.

Attached is the original code and a fix

Discussion

  • 4.5.1 original and fix for ModelItemIconAnimator.java

     
    Attachments
  • Don't you want to make a pull request on Github?

    https://github.com/SmartBear/soapui

    We can apply it by hand by creds will get lost and we would like to encourage more community contributions.