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

jdwp/jdi MonitorsInfo.stackDepth() should returns -1 for monitors owned from JNI MonitorEnter call.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 6
    • Fix Version/s: 6
    • Component/s: core-svc
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b85
    • CPU:
      generic
    • OS:
      generic

      Description

      Current implemenatation do not include the monitors owned by
      jni monitor enter. So opening this CR to fix this problem
      in jdwp/jdi side. see also 6415394.

      Here are the highlights of e-mail discussion:

       We should include the monitors locked by JNI MonitorEnter
       and return -1 from MonitorInfo.stackDepth().

      -Swamy

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              swamyv Swamy Venkataramanappa
              Reporter:
              swamyv Swamy Venkataramanappa
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: