This is an automated email from the ASF dual-hosted git repository.
clebertsuconic pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git
commit b1b88b4f6f99378106fb2e9c556b8dc96511a0d2
Merge: 620e01b 2b5d99b
Author: Clebert Suconic <clebertsuconic@apache.org>
AuthorDate: Wed Jan 6 09:05:01 2021 -0500
This closes #3363
.../activemq/artemis/api/core/ObjLongPair.java | 99 +++++
.../apache/activemq/artemis/utils/ByteUtil.java | 46 +++
.../activemq/artemis/utils/ByteUtilTest.java | 48 ++-
.../artemis/core/postoffice/DuplicateIDCache.java | 2 +-
.../artemis/core/postoffice/impl/ByteArray.java | 50 +++
.../core/postoffice/impl/DuplicateIDCacheImpl.java | 417 ---------------------
.../core/postoffice/impl/DuplicateIDCaches.java | 39 ++
.../postoffice/impl/InMemoryDuplicateIDCache.java | 276 ++++++++++++++
.../artemis/core/postoffice/impl/IntegerCache.java | 62 +++
.../impl/PersistentDuplicateIDCache.java | 394 +++++++++++++++++++
.../core/postoffice/impl/PostOfficeImpl.java | 44 ++-
.../persistence/DuplicateCacheTest.java | 6 +-
.../jmh/ByteArrayHashCodeBenchamark.java | 97 +++++
.../performance/jmh/DuplicateIDCacheBenchmark.java | 140 +++++++
.../impl/DuplicateDetectionUnitTest.java | 9 +-
.../core/server/impl/fakes/FakePostOffice.java | 5 +-
16 files changed, 1285 insertions(+), 449 deletions(-)
|