Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-18431

Cassandra doesn't start on JDK17

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 5.0-alpha1, 5.0
    • Build
    • 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

          Activity

            People

              e.dimitrova Ekaterina Dimitrova
              e.dimitrova Ekaterina Dimitrova
              Ekaterina Dimitrova
              Ekaterina Dimitrova, Michael Semb Wever
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: