Github user wy96f commented on the issue: https://github.com/apache/activemq-artemis/pull/1851 @franz1981 Hi, I'm a little puzzled about padding technique. In your example, i know that stampedLock fileds are in different cache lines for different sections but fields like capacity, size, etc can be in the same cache line with the next section's stampedLock fields. So the thread will clash with other threads and cause cache invalidations, is it right?
---