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

JFR TestBiasedLockRevocationEvents should ignore events unrelated to the test

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 11
    • 11
    • hotspot
    • None
    • jfr
    • b17

        jib > ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Wrong thread id: expected 26 to equal 30
        jib > REASON: User specified action: run main/othervm jdk.jfr.event.runtime.TestBiasedLockRevocationEvents
        jib > TIME: 12.75 seconds
        jib > messages:
        jib > command: main jdk.jfr.event.runtime.TestBiasedLockRevocationEvents
        jib > reason: User specified action: run main/othervm jdk.jfr.event.runtime.TestBiasedLockRevocationEvents
        jib > Mode: othervm [/othervm specified]
        jib > Additional options from @modules: --add-modules jdk.jfr,java.management
        jib > elapsed time (seconds): 12.75
        jib > configuration:
        jib > Boot Layer
        jib > add modules: jdk.jfr java.management
        jib >
        jib > STDOUT:
        jib > STDERR:
        jib > java.lang.RuntimeException: Wrong thread id: expected 26 to equal 30
        jib > at jdk.test.lib.Asserts.fail(Asserts.java:594)
        jib > at jdk.test.lib.Asserts.assertEquals(Asserts.java:205)
        jib > at jdk.test.lib.jfr.Events.assertThread(Events.java:188)
        jib > at jdk.test.lib.jfr.Events.assertEventThread(Events.java:179)
        jib > at jdk.jfr.event.runtime.TestBiasedLockRevocationEvents.testSingleRevocation(TestBiasedLockRevocationEvents.java:120)
        jib > at jdk.jfr.event.runtime.TestBiasedLockRevocationEvents.main(TestBiasedLockRevocationEvents.java:50)
        jib > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        jib > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        jib > at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        jib > at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        jib > at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
        jib > at java.base/java.lang.Thread.run(Thread.java:832)
        jib >
        jib > JavaTest Message: Test threw exception: java.lang.RuntimeException: Wrong thread id: expected 26 to equal 30
        jib > JavaTest Message: shutting down test
        jib >
        jib > STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Wrong thread id: expected 26 to equal 30

              rwestberg Robin Westberg (Inactive)
              mgronlun Markus Grönlund
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: