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

If "CreateCoredumpOnCrash" is set, then we should call setrlimit(RLIMIT_CORE)

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • None
    • hotspot
    • None

      A user may set "CreateCoredumpOnCrash" flag to request core dumps, but they may not be actually created if the user does not set "ulimit -c unlimited"

      We can, and should, set the limit programmatically, however, to ensure that core files are indeed written, by calling setrlimit(RLIMIT_CORE)

      See https://developer.apple.com/library/archive/technotes/tn2124/_index.html

            gziemski Gerard Ziemski
            gziemski Gerard Ziemski
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: