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

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Not an Issue
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: 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

            Assignee:
            Gerard Ziemski (Inactive)
            Reporter:
            Gerard Ziemski (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: