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

jvm-dtests crash on java 11

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 4.0-beta2, 4.0
    • Build
    • None

    Description

      There is a race condition bug with CMS and class unloading which cause the JVM to crash. Since jvm-dtests rely on class loaders and unloading, this causes sporadic JVM crashes that look like the following in CI logs

      junit.framework.AssertionFailedError: Forked Java VM exited abnormally. Please note the time in the report does not reflect the time until the VM exit.
      	at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.util.Vector.forEach(Vector.java:1387)
      	at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.util.Vector.forEach(Vector.java:1387)
      	at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.lang.Thread.run(Thread.java:834)
      

      Here is the JVM bug https://bugs.openjdk.java.net/browse/JDK-8252955

      Attachments

        Issue Links

          Activity

            People

              dcapwell David Capwell
              dcapwell David Capwell
              David Capwell
              Alex Petrov, Jon Meredith
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: