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

JFR tests fails: Could not find leak with class

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 11
    • 11
    • hotspot
    • gc
    • b13

        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)

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

                Created:
                Updated:
                Resolved: