Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
Correctness
-
Low
-
Low Hanging Fruit
-
User Report
-
All
-
None
-
Description
CASSANDRA-17199 added a new call to jamm measureDeep which hits some JDK internals and prevents us from starting Cassandra with JDK17. This will be solved with CASSANDRA-18329.
Until new version of jamm lands we can workaround the problem either by adding add-opens or by replacing temporarily
public static final long IPV6_SOCKET_ADDRESS_SIZE = ObjectSizes.measureDeep(new InetSocketAddress(getIpvAddress(16), 42));
with
public static final long IPV6_SOCKET_ADDRESS_SIZE = 168;
measured with JOL.
Then we can switch back to the current call here later.
Attachments
Issue Links
- blocks
-
CASSANDRA-17869 Add JDK17 option to cassandra-builds (build-scripts and jenkins dsl) and on jenkins agents
- Resolved
- is caused by
-
CASSANDRA-17199 Provide summary of failed SessionInfo's in StreamResultFuture
- Resolved