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

Add virtual threads support to JDWP ThreadReference.Stop and JDI ThreadReference.stop()

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 21
    • 21
    • core-svc
    • b23

      JDK-8306034 is adding some virtual thread support to JVMTI StopThread. This will allow JDWP ThreadReference.Stop and JDI ThreadReference.stop() to have the same level support for virtual threads.

      Mostly this is a spec update for JDWP and JDI, but there are also some minor changes needed to the ThreadReference.stop() handling of JDWP errors, and throwing the appropriate exceptions.

      I don't believe any changes are needed in the debug agent since there are no new JVMTI errors being introduced, and the JVMTI errors being returned by StopThread are already properly converted to the appropriate JDWP errors.

            cjplummer Chris Plummer
            cjplummer Chris Plummer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: