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

TestClassUnloadEvent.java got too many vm/class/unload events

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: hs25, 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Environment:

      All platforms

    • Subcomponent:
      jfr
    • Resolved In Build:
      b08
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        The test failed on most platforms in PIT of HS for jdk9-dev:

        java.lang.AssertionError: Assertion failed: 2 = 1 : Should get exactly one vm/class/unload event,got 2
        at jrockit.Asserts.assertion(Asserts.java:33)
        at jrockit.Asserts.assertEquals(Asserts.java:45)
        at TestClassUnloadEvent.assertEventFound(TestClassUnloadEvent.java:66)
        at TestClassUnloadEvent.main(TestClassUnloadEvent.java:55)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:484)
        at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
        at java.lang.Thread.run(Thread.java:744)

        Fastdebug build only, configuration: -Xcomp -server -Xcomp (2 -Xcomp?)

        There are flight recordings in the result directories.

        RULE closed/com/oracle/jfr/runtime/TestClassUnloadEvent.java Exception java.lang.AssertionError: Assertion failed: ... = ... : Should get exactly one vm/class/unload event,got ...

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Unassigned Unassigned
                Reporter:
                iaberg Ingemar Ã…berg (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: