activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [activemq-artemis] branch master updated (620e01b -> b1b88b4)
Date Wed, 06 Jan 2021 14:05:24 GMT
This is an automated email from the ASF dual-hosted git repository.

clebertsuconic pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git.


    from 620e01b  This closes #3395
     new 985559d  ARTEMIS-3016 Adding JMH benchmark on duplicate ids cache
     new b3b5d48  ARTEMIS-3016 Reduce DuplicateIDCache memory footprint
     new 2b5d99b  ARTEMIS-3016 Refactored duplicate ids cache
     new b1b88b4  This closes #3363

The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../api/core/{Pair.java => ObjLongPair.java}       |  58 +--
 .../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    |  33 +-
 .../core/postoffice/impl/DuplicateIDCacheImpl.java | 417 ---------------------
 .../impl/DuplicateIDCaches.java}                   |  30 +-
 .../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, 1160 insertions(+), 507 deletions(-)
 copy artemis-commons/src/main/java/org/apache/activemq/artemis/api/core/{Pair.java =>
ObjLongPair.java} (53%)
 copy artemis-core-client/src/main/java/org/apache/activemq/artemis/core/protocol/core/impl/wireformat/SessionCloseMessage.java
=> artemis-server/src/main/java/org/apache/activemq/artemis/core/postoffice/impl/ByteArray.java
(66%)
 delete mode 100644 artemis-server/src/main/java/org/apache/activemq/artemis/core/postoffice/impl/DuplicateIDCacheImpl.java
 copy artemis-server/src/main/java/org/apache/activemq/artemis/core/{server/group/impl/Proposal.java
=> postoffice/impl/DuplicateIDCaches.java} (55%)
 create mode 100644 artemis-server/src/main/java/org/apache/activemq/artemis/core/postoffice/impl/InMemoryDuplicateIDCache.java
 create mode 100644 artemis-server/src/main/java/org/apache/activemq/artemis/core/postoffice/impl/IntegerCache.java
 create mode 100644 artemis-server/src/main/java/org/apache/activemq/artemis/core/postoffice/impl/PersistentDuplicateIDCache.java
 create mode 100644 tests/performance-jmh/src/main/java/org/apache/activemq/artemis/tests/performance/jmh/ByteArrayHashCodeBenchamark.java
 create mode 100644 tests/performance-jmh/src/main/java/org/apache/activemq/artemis/tests/performance/jmh/DuplicateIDCacheBenchmark.java


Mime
View raw message