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

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P5
    • 5.0
    • Affects Version/s: 1.4.0
    • Component/s: 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)
      ======================================================================

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: