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

TTY: multi-threaded breakpoint issue

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.3.0, 1.4.0
    • vm-legacy
    • beta3
    • generic, x86
    • generic, windows_nt
    • Verified

      1) jdb ptr1498

      2) set bps at ptr1498$1:37 ptr1498$2:78

      3) run

      The bp at line 37 will be hit.

      4) cont (repeatedly)

      The bp at line 37 is repeatedly hit. Note that during this time, "main"
      and "1" are the only threads present.

      Eventually, jdb will report bps at line 37 (thread 1) and at line 78
      (thread 2) being hit.

      5) cont

      and no further bps are reported. It appears that when the second thread
      gets started and the bp at 78 is hit, things go south...

            dcubed Daniel Daugherty
            tbell Tim Bell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: