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

JVMTI spec: remove MonitorContendedExit event

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 5.0
    • 5.0
    • hotspot
    • b40
    • generic
    • generic
    • Verified


      The contended monitor events (Enter, Entered, Exit) were carried over
      from JVMPI without detailed review. The enter and entered events are
      important for agents and profilers that monitor contention times but
      the exit event is questionable. Profilers wishing to monitor the time
      in synchronized blocks or methods will use BCI rather than events
      - JVMTI doesn't have an event specified for when a monitor is exited
      and there aren't any threads waiting.

      In addition to the above this event cannot be safely implemented in
      the HotSpot VM (the RI for this JSR). There are no oopmaps at monitor
      exit and hence the event can't block or GC.

      ###@###.### 2004-01-30

            alanb Alan Bateman
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: