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

Unsafe stackwalk in VM_GetOrSetLocal::doit_prologue()

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 11, 12, 13, 14, 15, 16
    • Fix Version/s: 16
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b13

      Description

      The stackwalk in VM_GetOrSetLocal::doit_prologue() is unsafe and can crash the VM, because it is
      performed in the prologue of the vm operation, i.e. before the safepoint, and access to local
      variables using JVMTI does not require the target thread to be suspended.

        Attachments

          Activity

            People

            • Assignee:
              rrich Richard Reingruber
              Reporter:
              rrich Richard Reingruber
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: