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

suspend in JavaCallWrapper breaks JVMTI PopFrame/ForceEarlyReturn

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4
    • tbd
    • 12, 13
    • hotspot
    • 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

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

              Dates

                Created:
                Updated: