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

Add a test for SIGQUIT handling under -XX:+ReduceSignalUsage

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • tbd
    • 20
    • hotspot

      During review for JDK-8292695, we tried to add a test that checks that under -XX:+ReduceSignalUsage, SIGQUIT should make the process terminate abnormally.

      However, this is difficult due to JDK-8234262. Even the workaround of passing -XX:+ReduceSignalUsage to the parent process did not work, probably due to how jtreg launches the parent process with "@run main/othervm -XX:+ReduceSignalUsage". Another possible workaround is to write a shell test instead of using a Java process (ProcessBuilder API) to launch the subprocess. I uploaded the non-working version here: https://github.com/caoman/jdk/commit/73e3a5f90985fcad9a383c704429cefb07011932

      It is better to wait for JDK-8234262 to be fixed, then add this test.

            Unassigned Unassigned
            manc Man Cao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: