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

jdk/jfr/event/oldobject/TestArrayInformation.java fails with "Could not find event with class ... as (leak) object"

    XMLWordPrintable

Details

    • jfr
    • b03
    • x86_64, aarch64
    • os_x, windows

    Backports

      Description

        The following test failed in the JDK21 CI:

        jdk/jfr/event/oldobject/TestArrayInformation.java

        Here's a snippet from the log file:

        #section:main
        ----------messages:(7/446)----------
        command: main -XX:TLABSize=2k jdk.jfr.event.oldobject.TestArrayInformation
        reason: User specified action: run main/othervm -XX:TLABSize=2k jdk.jfr.event.oldobject.TestArrayInformation
        started: Thu Mar 23 18:41:32 UTC 2023
        Mode: othervm [/othervm specified]
        Additional options from @modules: --add-modules jdk.jfr --add-exports jdk.jfr/jdk.jfr.internal.test=ALL-UNNAMED
        finished: Thu Mar 23 18:41:36 UTC 2023
        elapsed time (seconds): 4.438
        ----------configuration:(4/119)----------
        Boot Layer
          add modules: jdk.jfr
          add exports: jdk.jfr/jdk.jfr.internal.test ALL-UNNAMED

        ----------System.out:(10/214)----------
        [Ljava.lang.Object;
        [Ljava.lang.Object;
        [Ljava.lang.Object;
        [Ljava.lang.Object;
        [Ljava.lang.Object;
        [Ljava.lang.Object;
        [Ljava.lang.Object;
        [Ljava.lang.Object;
        [Ljava.lang.Object;
        java.lang.StringBuilder
        ----------System.err:(12/1001)----------
        java.lang.Exception: Could not find event with class [Ljdk.jfr.event.oldobject.TestArrayInformation$ArrayLeak; as (leak) object
        at jdk.jfr.event.oldobject.TestArrayInformation.verifyObjectArray(TestArrayInformation.java:109)
        at jdk.jfr.event.oldobject.TestArrayInformation.main(TestArrayInformation.java:68)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        at java.base/java.lang.reflect.Method.invoke(Method.java:578)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:125)
        at java.base/java.lang.Thread.run(Thread.java:1623)

        JavaTest Message: Test threw exception: java.lang.Exception: Could not find event with class [Ljdk.jfr.event.oldobject.TestArrayInformation$ArrayLeak; as (leak) object
        JavaTest Message: shutting down test

        Attachments

          Issue Links

            Activity

              People

                egahlin Erik Gahlin
                dcubed Daniel Daugherty
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: