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

Test jdk/jfr/threading/TestDeepVirtualStackTrace.java fails with Parallel/Serial GC

XMLWordPrintable

    • gc
    • master


      Testing event: test.Deep
      =============================
      Emitted Deep event
      test.Deep {
        startTime = 11:35:55.055 (2024-11-11)
        eventThread = "" (javaThreadId = 19, virtual)
        stackTrace = [
          jdk.jfr.threading.TestDeepVirtualStackTrace.deepevent(int) line: 70
          jdk.jfr.threading.TestDeepVirtualStackTrace.deepevent(int) line: 74
          jdk.jfr.threading.TestDeepVirtualStackTrace.deepevent(int) line: 74
          jdk.jfr.threading.TestDeepVirtualStackTrace.deepevent(int) line: 74
          jdk.jfr.threading.TestDeepVirtualStackTrace.deepevent(int) line: 74
          ...
        ]
      }



      Testing event: jdk.ObjectAllocationOutsideTLAB
      =============================
      Emitted ObjectAllocationOutsideTLAB event
      ----------System.err:(15/1073)----------
      java.lang.RuntimeException: No event found in virtual thread: expected false, was true
      at jdk.test.lib.Asserts.fail(Asserts.java:691)
      at jdk.test.lib.Asserts.assertFalse(Asserts.java:518)
      at jdk.jfr.threading.TestDeepVirtualStackTrace.assertStackTrace(TestDeepVirtualStackTrace.java:104)
      at jdk.jfr.threading.TestDeepVirtualStackTrace.testNativeEvent(TestDeepVirtualStackTrace.java:78)
      at jdk.jfr.threading.TestDeepVirtualStackTrace.main(TestDeepVirtualStackTrace.java:60)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:567)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1576)

      Options: -Dtest.java.opts='-XX:+UseSerialGC -XX:+UnlockExperimentalVMOptions -XX:+UseCompactObjectHeaders'

            lmesnik Leonid Mesnik
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: