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

Suspend/ResumeAllVirtualThreads need both can_suspend and can_support_virtual_threads

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • 19
    • 19
    • hotspot
    • b30

    Backports

      Description

        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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: