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

JFR tests fails: Could not find leak with class

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 11
    • Fix Version/s: 11
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • Resolved In Build:
      b13

      Backports

        Description

        Several tests failed in the nightly on all platforms:

        com/oracle/jfr/event/oldobject/TestSerial.java
        com/oracle/jfr/event/oldobject/TestParallel.java
        com/oracle/jfr/event/oldobject/TestParallelOld.java
        com/oracle/jfr/event/oldobject/TestCMS.java
        com/oracle/jfr/event/oldobject/TestG1.java
        com/oracle/jfr/event/oldobject/TestThreadLocalLeak.java
        com/oracle/jfr/event/oldobject/TestListenerLeak.java
        com/oracle/jfr/event/os/TestSystemProcess.java

        Three different asserts is seen:

        java.lang.Exception: Could not find leak with class [Lcom.oracle.jfr.event.oldobject.TestParallelOld$FindMe;
        at com.oracle.jfr.event.oldobject.TestParallelOld.main(TestParallelOld.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.reflect.Method.invoke(Method.java:569)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
        at java.base/java.lang.Thread.run(Thread.java:832)


        java.lang.RuntimeException: No events: expected false, was true
        at jdk.testlibrary.Asserts.fail(Asserts.java:540)
        at jdk.testlibrary.Asserts.assertFalse(Asserts.java:465)
        at com.oracle.jfr.common.Events.hasEvents(Events.java:134)
        at com.oracle.jfr.event.os.TestSystemProcess.main(TestSystemProcess.java:32)
        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.reflect.Method.invoke(Method.java:569)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
        at java.base/java.lang.Thread.run(Thread.java:832)


        java.lang.RuntimeException: Could not find root object
        at jdk.testlibrary.Asserts.fail(Asserts.java:540)
        at com.oracle.jfr.event.oldobject.TestLargeRootSet.main(TestLargeRootSet.java:105)
        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.reflect.Method.invoke(Method.java:569)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
        at java.base/java.lang.Thread.run(Thread.java:832)

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  sjohanss Stefan Johansson
                  Reporter:
                  jwilhelm Jesper Wilhelmsson
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: