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

JPDA: Request for events for monitor acquisitions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P5 P5
    • 6
    • 6
    • core-svc
    • None
    • generic
    • generic

      Opening bug for CCC review follow-up.

       (1) Could you please add the sentence "Since JDWP version 1.6."
            for new JDWP CommandSet Events:
              MonitorContendedEnter
              MonitorContendedEntered
              MonitorWait
              MonitorWaited
       

       (3) The com.sun.jdi.event.MonitorWaitEvent.timeout() method
            contains a sentence:
              "Returns:
                  a jlong containing monitor wait time in milliseconds."
                    ^^^^^
            We believe it should be changed to "number".
       
       
       (2) Could you please add the sentences
              "Not all targets support this operation. Use VirtualMachine.canUseInstanceFilters()
               to determine if the operation is supported."
            and
              "Throws:
               UnsupportedOperationException - if the target virtual machine does not support this operation.
               ..."
            for the following methods in the com.sun.jdi.request package:
              MonitorContendedEnteredRequest.addInstanceFilter(ObjectReference instance)
              MonitorContendedEnterRequest.addInstanceFilter(ObjectReference instance)
              MonitorWaitedRequest.addInstanceFilter(ObjectReference instance)
              MonitorWaitRequest.addInstanceFilter(ObjectReference instance)

      ###@###.### 2005-05-13 19:41:20 GMT

            swamyv Swamy Venkataramanappa (Inactive)
            swamyv Swamy Venkataramanappa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: