[
https://issues.apache.org/jira/browse/CASSANDRA-18831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17853177#comment-17853177
]
Ekaterina Dimitrova commented on CASSANDRA-18831:
-------------------------------------------------
{quote}It looks like {{.measureDeep()}} on {{{}ConcurrentHashMap{}}}'s are
giving us size of the {{WeakReference}} and not following them even though we
have {{measureNonStrongReferences()}} specified during construction of the
{{{}MemoryMeter{}}}. I ran through all the unit tests in jamm w/JDK21 and the
only one that failed was hard-coded w/some assumptions about the internals of
data structures in the JDK, so I'm _assuming_ that things aren't horrendously
broken there. Probably warrants more investigation.
{quote}
Thanks for all your investigations and for posting your branch! Indeed, Jamm is
upgraded only to JDK17. Someone will need to take over upgrading it post JDK17,
verifying all new memory layout changes. Jamm is handled in issues in its repo,
but we also open a Cassandra ticket with the component jamm for visibility when
people work on it or just a ticket for the failures we see and post updates
about working on fixing jamm.
> 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]