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

Incorrect excluded field value set by getEventWriter intrinsic

XMLWordPrintable

    • b25

      Test jdk/jfr/jvm/TestVirtualThreadExclusion.java fails with VM option -Xcomp both on linux-x64 and linux-aarch64, the test log snippet:

      Event:jdk.VirtualThreadEnd {
        startTime = 00:52:34.766 (2024-11-14)
        javaThreadId = 41
      }


      STDERR:
      java.lang.NullPointerException: Cannot invoke "jdk.jfr.consumer.RecordedThread.getJavaThreadId()" because the return value of "jdk.jfr.consumer.RecordedEvent.getThread()" is null
          at jdk.jfr.jvm.TestVirtualThreadExclusion.verifyThreadExclusion(TestVirtualThreadExclusion.java:75)
          at jdk.jfr.jvm.TestVirtualThreadExclusion.main(TestVirtualThreadExclusion.java:69)

            thartmann Tobias Hartmann
            syan Sendao Yan
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: