[
https://issues.apache.org/jira/browse/CASSANDRA-18831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17854529#comment-17854529
]
Josh McKenzie commented on CASSANDRA-18831:
-------------------------------------------
bq. {{.measureDeep()}} on {{{}ConcurrentHashMap{}}}'s
I was incorrect. It was the measurement of the ThreadGroup inside the
{{RepairSession}} that was full of WeakReferences now instead of detailed sizes
of ThreadLocal house contents and threadgroups. Significantly less worrisome,
though the measurement of a base {{MerkleTree}} being significantly smaller
than a base {{RepairSession}} which, _in theory_ would contain a collection of
said MerkleTrees, is suspicious.
I'm working through compressedOops support in JDK21 for ZGC in jamm then I'll
circle back to that unit test. Also considering extending jamm's functionality
when printing visited trees to sum up sizes even at depths deeper than print is
limited to so the printouts reflect the actual sizes of the objects rather than
reflecting the size of the printed output.
> Enable Cassandra to build and run under JDK21
> ---------------------------------------------
>
> Key: CASSANDRA-18831
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18831
> Project: Cassandra
> Issue Type: Task
> Components: Build
> Reporter: Achilles Benetopoulos
> Assignee: Josh McKenzie
> Priority: Normal
> Fix For: 5.x
>
> Attachments: jdk21-patch
>
>
> This patch builds on the work in CASSANDRA-16895 that added JDK17 to the list
> of supported Java versions, and extends that work to enable building and
> running Cassandra under JDK21.
> The following commits comprise the changes included in the attached patch:
> -
> [https://github.com/apache/cassandra/commit/b15d4d6980e787ab5f3405ca8cb17a9c92a4aa47]
> -
> [https://github.com/apache/cassandra/commit/0c5df38dafe58bfec8924e81507bb604e1543897]
> -
> [https://github.com/apache/cassandra/commit/6506b7279d98eed4b2b65b71e0c6f41eb78c6913]
> -
> [https://github.com/apache/cassandra/commit/564cbd534c5a975cda0c629c14c68c8745b41451]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]