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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • hs25, 9
    • hotspot
    • All platforms

    • jfr
    • b08
    • generic
    • generic

        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 ...

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

                Created:
                Updated:
                Resolved: