franz1981 commented on a change in pull request #3398:
URL: https://github.com/apache/activemq-artemis/pull/3398#discussion_r554799924



##########
File path: 
artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/MessageReferenceImpl.java
##########
@@ -86,7 +86,7 @@ public int compare(MessageReference o1, MessageReference o2) {
 
    // Static --------------------------------------------------------
 
-   private static final int memoryOffset = 64;
+   private static final int memoryOffset = 72;

Review comment:
       > Should it be a static constant then, where the constant is kept close 
to where if something changes the constant is
   
   The issue with TypedProperty is much subtle and complex to be fixed: I'm 
going to send a separate PR for that one
   
   > And a small javadoc regarding how it's calculated so that should something 
change people know how to recalc to update it
   
   +1, that's what I'm going to add




----------------------------------------------------------------
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