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

UpcallTestHelper::runInNewProcess waits for forked process without timeout

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 22
    • 22
    • core-libs
    • None

    Description

      UpcallTestHelper::runInNewProcess creates forked processes which are used to run upcall related tests.

      We saw a very rare deadclock issue when running this test, and investigation shows that one of the forked processes is stuck either when starting or shutting down the JVM (not responding to jcmd).

      We should add a timeout here, so that deadlocked processes actually terminate.

      Attachments

        Issue Links

          Activity

            People

              jvernee Jorn Vernee
              jvernee Jorn Vernee
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: