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

Threads::print should do tty->flush() , in 1.4.1.01

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P5 P5
    • 5.0
    • 1.4.0
    • hotspot
    • tiger
    • generic
    • generic



      Name: cl74495 Date: 01/15/2003


      When a VM's stdout and stderr are redirected to a file,
      an a kill -QUIT is sent to the VM, frequently two
      kill -QUIT are necessary to see any thread stack dumps show
      up in the file.

      It would be very helpful if Threads::print in
      src/share/vm/runtime/thread.cpp contained a
         tty->flush();
      as the last statement. We have built a VM with
      this statement added and it makes thread dumps show
      up much more reliably when viewing a log file with
      tail -f, or other tools .
      (Review ID: 179995)
      ======================================================================

            sbohne Steve Bohne (Inactive)
            clucasius Carlos Lucasius (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: