Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8258734

jdk/jfr/event/oldobject/TestClassLoaderLeak.java failed with "RuntimeException: Could not find class leak"

    XMLWordPrintable

    Details

    • Subcomponent:
      jfr
    • CPU:
      x86_64
    • OS:
      linux

      Description

      The following test failed in the JDK16 CI:

      jdk/jfr/event/oldobject/TestClassLoaderLeak.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(5/361)----------
      command: main -XX:TLABSize=2k jdk.jfr.event.oldobject.TestClassLoaderLeak
      reason: User specified action: run main/othervm -XX:TLABSize=2k jdk.jfr.event.oldobject.TestClassLoaderLeak
      Mode: othervm [/othervm specified]
      Additional options from @modules: --add-modules jdk.jfr --add-exports jdk.jfr/jdk.jfr.internal.test=ALL-UNNAMED
      elapsed time (seconds): 41.239
      ----------configuration:(4/115)----------
      Boot Layer
        add modules: jdk.jfr
        add exports: jdk.jfr/jdk.jfr.internal.test ALL-UNNAMED

      ----------System.out:(0/0)----------
      ----------System.err:(14/901)----------
      java.lang.RuntimeException: Could not find class leak
      at jdk.test.lib.Asserts.fail(Asserts.java:594)
      at jdk.jfr.event.oldobject.TestClassLoaderLeak.main(TestClassLoaderLeak.java:79)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:567)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:831)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Could not find class leak
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Could not find class leak
      ----------rerun:(40/7926)*----------

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: