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

JVMTI spec incorrectly states that PopFrame cannot be called on the current thread

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 13
    • 11
    • hotspot
    • None
    • b25

    Backports

      Description

        The JVMTI spec says the following for PopFrame:

        "The specified thread must be suspended (which implies it cannot be the current thread)."

        This does not match the implementation. We have several tests that call PopFrame from
        an event handler on the current thread and it works.

        In opposite, the JVMTI spec correctly says the following for ForceEarlyReturn:

        "The specified thread must be suspended or must be the current thread."

        The JVMTI spec for PopFrame should be updated to match the wording used with ForceEarlyReturn.
        For all the details, please see the related CSR.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: