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

Suspend/ResumeAllVirtualThreads need both can_suspend and can_support_virtual_threads

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 19
    • 19
    • hotspot
    • b30

        This issue was spotted by David Holmes.

        SuspendAllVirtualThreads and ResumeAllVirtualThreads require the can_suspend and can_support_virtual_threads capabilities but the JVMTI spec is generated with:

        "One of the following capabilities (as returned by GetCapabilities) must be true to use this function"

        It should say "The following capabilities ...". The issue seems to be in the XSL used to generate the spec.

              alanb Alan Bateman
              alanb Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: