Github user clebertsuconic commented on the issue:

    https://github.com/apache/activemq-artemis/pull/1650
  
    @franz1981 I'm surprised the lock would be that much slower.. there is 
nothing competing for that long..
    The advantage of the lock here is reentrancy. it's now possible to shutdown 
within the current executor. (even though I won't recommend that).
    
    I've tried a lock free thing using the state.. but it seemed simpler...
    
    
    I will try your PR.. just one thing.. you sent the PR to a wrong branch.. 
should be  clebertsuconic:artemis-1495


---

Reply via email to