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

suspend in JavaCallWrapper breaks JVMTI PopFrame/ForceEarlyReturn

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 12, 13
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:
      None

      Description

      Doing a suspend in a call setup transition breaks JVMTI PopFrame/ForceEarlyReturn because we report the top frame as the caller, but then proceed to the callee before processing the requested PopFrame/ForceEarlyReturn.

      If JavaCallWrapper is the only place this happens, we should be able to find a localized fix. If there are more places where this can happen, we may want to change the rule that all safepoints are suspend points. Instead, instead of asking to reach a safepoint, we could ask to reach a "suspend safepoint".

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dlong Dean Long
                Reporter:
                dlong Dean Long
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: