smiklosovic commented on code in PR #4498:
URL: https://github.com/apache/cassandra/pull/4498#discussion_r2576667499
##########
src/java/org/apache/cassandra/service/GCInspector.java:
##########
@@ -326,14 +319,43 @@ public double[] getAndResetStats()
private static long getAllocatedDirectMemory()
{
- if (BITS_TOTAL_CAPACITY == null) return -1;
+ long fieldValue = getFieldValue(BITS_TOTAL_CAPACITY_JAVA_8, true);
Review Comment:
bad bot! This is not true, both of them are `AtomicLong`, it is just in Java
8 and 11 they differ on names.
--
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]