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

AsyncGetCallTraceTest fails with virtual threads

    XMLWordPrintable

Details

    • svc

    Description

      Test
      serviceability/AsyncGetCallTrace/MyPackage/ASGCTBaseTest.java
      fails when executed with a virtual test thread factory.
      The problem is that AGCT reports the following methods:

       0: jdk/internal/vm/Continuation: enterSpecial(Ljdk/internal/vm/Continuation;ZZ)V
       0: jdk/internal/vm/Continuation: run()V

      while GetStackTrace doesn't

      It is needed to either update AGCT or test logic. If tests is updated it might be make sense to always test platform and virtual threads. (Just ignore virtual ttf mode)

      Attachments

        Activity

          People

            lmesnik Leonid Mesnik
            lmesnik Leonid Mesnik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: