franz1981 edited a comment on pull request #3393:
URL: https://github.com/apache/activemq-artemis/pull/3393#issuecomment-754040778


   I've added `@Contended` to some fields of the list + 
`--jvmArgs="-XX:-RestrictContended"` and now it seems to work better: it seems 
that the modifications on cached last accessed buffer have a false sharing with 
lastIndex accesses.
   
   It just means that single consumer cases will benefit a LOT from this PR, 
but distanced multiple consumers won't scale as expected: probably we need a 
better caching strategy.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to