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

MonitorInfo objects aren't invalidated when the owning thread is resumed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 7
    • 7
    • core-svc
    • b32
    • generic
    • generic
    • Verified

        The spec says they are invalidated because the info contained in the MonitorInfo object might no longer be correct after a resume occurs.
        For example, the stack depth might be different, and the monitor might not even be owned by the thread anymore.
        This bug is covered by the following new JTREG test:

            com/sun/jdi/MonitorFrameInfo.java

              jjh James Holmlund (Inactive)
              jjh James Holmlund (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: