Hi Steve, thanks for accepting the pull request. I have replied to your pull request questions and agree with much of your analysis. Feel free to improve my code
Analyzing what our application is mainly doing during flush/commit, we saw that very often the concerning thread is executing in jbosscache stuff (see 2 sample stacktraces below). Analyzing the code we discovered that, if doing 1000 inserts for a determinate entity: -on flush UpdateTimestampsCache.preinvalidate() is called 1000 times for the same space ...
This message was sent by Atlassian JIRA (v6.1-OD-08#6143-sha1:7b2ba0d)