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

suspend in JavaCallWrapper breaks JVMTI PopFrame/ForceEarlyReturn

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 12, 13
    • hotspot
    • None

      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".

            dlong Dean Long
            dlong Dean Long
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: