You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2021/02/03 15:27:19 UTC

[activemq-artemis] branch master updated (8d1fe2b -> e507938)

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 8d1fe2b  This closes #3428
     new 71685bf  ARTEMIS-3051 Fix MessageReferenceImpl::getMemoryEstimate
     new 9e06a06  ARTEMIS-3051 Fix MessageReferenceImpl::getMemoryEstimate
     new e507938  This closes #3398

The 3 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:
 .../activemq/artemis/core/server/impl/MessageReferenceImpl.java       | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)


[activemq-artemis] 03/03: This closes #3398

Posted by cl...@apache.org.
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 e507938835098dd30c76cc68373c97fc67f95ba0
Merge: 8d1fe2b 9e06a06
Author: Clebert Suconic <cl...@apache.org>
AuthorDate: Wed Feb 3 10:27:09 2021 -0500

    This closes #3398

 .../activemq/artemis/core/server/impl/MessageReferenceImpl.java       | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)


[activemq-artemis] 02/03: ARTEMIS-3051 Fix MessageReferenceImpl::getMemoryEstimate

Posted by cl...@apache.org.
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 9e06a0645bf11ff1bbcc4c7230db1e1138f02c73
Author: franz1981 <ni...@gmail.com>
AuthorDate: Mon Jan 11 07:45:22 2021 +0100

    ARTEMIS-3051 Fix MessageReferenceImpl::getMemoryEstimate
---
 .../apache/activemq/artemis/core/server/impl/MessageReferenceImpl.java  | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/MessageReferenceImpl.java b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/MessageReferenceImpl.java
index a45e84a..a7903fd 100644
--- a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/MessageReferenceImpl.java
+++ b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/MessageReferenceImpl.java
@@ -86,6 +86,8 @@ public class MessageReferenceImpl extends LinkedListImpl.Node<MessageReferenceIm
 
    // Static --------------------------------------------------------
 
+   // This value has been computed by using https://github.com/openjdk/jol
+   // on HotSpot 64-bit VM COOPS, 8-byte alignment
    private static final int memoryOffset = 72;
 
    // Constructors --------------------------------------------------


[activemq-artemis] 01/03: ARTEMIS-3051 Fix MessageReferenceImpl::getMemoryEstimate

Posted by cl...@apache.org.
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 71685bf6bffaadcf8abc6281a698c243378947fb
Author: franz1981 <ni...@gmail.com>
AuthorDate: Tue Jan 5 15:03:47 2021 +0100

    ARTEMIS-3051 Fix MessageReferenceImpl::getMemoryEstimate
---
 .../apache/activemq/artemis/core/server/impl/MessageReferenceImpl.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/MessageReferenceImpl.java b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/MessageReferenceImpl.java
index 09b3650..a45e84a 100644
--- a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/MessageReferenceImpl.java
+++ b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/MessageReferenceImpl.java
@@ -86,7 +86,7 @@ public class MessageReferenceImpl extends LinkedListImpl.Node<MessageReferenceIm
 
    // Static --------------------------------------------------------
 
-   private static final int memoryOffset = 64;
+   private static final int memoryOffset = 72;
 
    // Constructors --------------------------------------------------