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

gc/arguments test subprocesses sometimes take a long time to complete

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P3 P3
    • tbd
    • 14
    • hotspot

      As discussed in JDK-8217170, sometimes the subprocesses used by the various tests in gc/arguments take a long time to complete. (There might be other tests with similar behavior.)

      In these cases, the main test process launches a series of subprocesses, many of the form 'java <options-being-tested> -version'. Usually each of those subprocesses completes within 10's to small 100's of milliseconds. But occasionally a test will consistently see times in the 3-5 second range (or sometimes 20+ seconds with CMS). These slow times are mostly associated with Windows, and more often with certain machines (though not limited to those machines, just worse on them).

      The main test reports that the waitFor() for a child to exit takes a long time. It is not yet known what the child process is doing that would take it so long. That needs to be investigated and fixed if it is a product issue, and not just an artifact of testing or debug builds.

            Unassigned Unassigned
            kbarrett Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: