dcapwell commented on code in PR #2104:
URL: https://github.com/apache/cassandra/pull/2104#discussion_r1119271300


##########
src/java/org/apache/cassandra/locator/InetAddressAndPort.java:
##########
@@ -68,6 +69,8 @@ public final class InetAddressAndPort extends 
InetSocketAddress implements Compa
 
     public final byte[] addressBytes;
 
+    public static final long IPV6_SIZE = ObjectSizes.measureDeep(new 
InetSocketAddress(getIpvAddress(16), 42));

Review Comment:
   can we push this to `ObjectSizes` instead?



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to