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

java/foreign/critical/TestCriticalUpcall.java does not need a core file

    XMLWordPrintable

Details

    Backports

      Description

        java/foreign/critical/TestCriticalUpcall.java causes a VM crash
        and checks crash output for "wrong thread state for upcall".
        However, it also generates a core file that is not needed for
        the test to pass.

        For my stress test runs this test generates one core in release,
        fastdebug and slowdebug runs and I do 3 runs per stress run.
        That's 9 cores and on my M1 MacMini they are 4GB each so
        that's 36GB in core files that I don't need.

        If I don't remember to run "sysctl kern.corefile=../core.%P" every
        time I reboot the M1 MacMini they start accumulating in /cores...

        Attachments

          Issue Links

            Activity

              People

                dcubed Daniel Daugherty
                dcubed Daniel Daugherty
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: