ThreadReference.isAtBreakpoint() and ownedMonitors() sometimes very slow

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 6
    • Affects Version/s: 6
    • Component/s: core-svc
    • b56
    • generic
    • generic

      FULL PRODUCT VERSION :
      java version "1.6.0-ea"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b47)
      Java HotSpot(TM) Client VM (build 1.6.0-ea-b47, mixed mode, sharing)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows XP [Version 5.1.2600]

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      Dual processor - don't know if it matters.

      A DESCRIPTION OF THE PROBLEM :
      ThreadReference.isAtBreakpoint() and ThreadReference.ownedMonitors() are sometimes
      very slow, taking as much as half a second to complete. This is not always the case,
      but seems to happen immediately after a breakpoint, for example. We always call these
      while the vm is suspended. The problem did not happen in Java 1.5 or any previous
      versions. Our debugger continuously displays the status and monitors for each thread,
      and because of this it is basically unusable under Java 1.6.


      REPRODUCIBILITY :
      This bug can be reproduced often.

      CUSTOMER SUBMITTED WORKAROUND :
      Don't call these methods.

            Assignee:
            Daniel Daugherty
            Reporter:
            Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: