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

jdk/jfr/event/compiler/TestCompilerCompile.java failed due to "RuntimeException: No thread in event"

XMLWordPrintable

    • jfr
    • b31
    • x86_64
    • generic

        The following test failed in the JDK15 CI:

        jdk/jfr/event/compiler/TestCompilerCompile.java

        Here's a snippet from the log file:

        Event:jdk.Compilation {
          startTime = 20:12:47.587
          duration = 7.77 ms
          compileId = 1291
          compiler = "c2"
          method = java.lang.Long.hashCode(long)
          compileLevel = 4
          succeded = true
          isOsr = false
          codeSize = 128 bytes
          inlinedBytes = 0 bytes
        }


        Failed event:
        jdk.Compilation {
          startTime = 20:12:47.587
          duration = 7.77 ms
          compileId = 1291
          compiler = "c2"
          method = java.lang.Long.hashCode(long)
          compileLevel = 4
          succeded = true
          isOsr = false
          codeSize = 128 bytes
          inlinedBytes = 0 bytes
        }


        ----------System.err:(17/1131)----------
        java.lang.RuntimeException: No thread in event
        at jdk.test.lib.Asserts.fail(Asserts.java:594)
        at jdk.test.lib.jfr.Events.assertEventThread(Events.java:169)
        at jdk.jfr.event.compiler.TestCompilerCompile.verifyEvent(TestCompilerCompile.java:118)
        at jdk.jfr.event.compiler.TestCompilerCompile.doTest(TestCompilerCompile.java:99)
        at jdk.jfr.event.compiler.TestCompilerCompile.main(TestCompilerCompile.java:63)
        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:564)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.base/java.lang.Thread.run(Thread.java:832)

        JavaTest Message: Test threw exception: java.lang.RuntimeException: No thread in event
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.RuntimeException: No thread in event
        ----------rerun:(43/4886)*----------

        Since this is a Tier1 failure, this bug would normally start out as P2, but
        the failure is very intermittent so I'm going with P3.

              mgronlun Markus Grönlund
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: