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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 6
    • core-svc
    • b85
    • generic
    • generic

      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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: