Github user franz1981 commented on the issue:
https://github.com/apache/activemq-artemis/pull/1624
@mtaylor each TimedBuffer method is marked as synchronized and in
particular the flush is being called by a background thread that could race
with checkSize if the buffer isn't big enough: any of them could lead to
potential deadlocks...---
