Github user qihongxu commented on the issue:
https://github.com/apache/activemq-artemis/pull/2484
@michaelandrepearce @franz1981
After we ran tests on both version (one with no lock and the other with new
LivePageCache & no lock ), the result chart is as below.
 | Send&Receive | In Total
-- | -- | --
Ver Original | 30k/12.5k | 32.5k
Ver Modified checkDepage | 31.1k/11.3k | 42.4k
Ver Modified hasNext | 23.8k/23.5k | 47.3k
Ver no lock | **22.9k/26.5k** | **49.4k**
Ver no lock & new livePageCache | **24.5k/22k** | **46.5k**
Tests are implemented with same conditions before. Clients consumed and
produced on the same queue with 10 million messages in it.
All version are based on Artemis-2214, which cache something in PagedRef.
---