Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-65684

Allow stack limits to be testable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 6.1.0-rc0
    • None
    • Fully Compatible
    • Dev Platform 2022-05-16, Dev Platform 2022-05-30, Dev Platform 2022-06-27, Dev Platform 2022-07-25
    • 160

    Description

      In SERVER-63055, we completely removed halving the stack size on debug builds because it was preventing us from implementing coverage reporting with Clang and it was believed to not be of use anymore. However, jason.carey@mongodb.com points out that its original purpose was to serve as an early detection mechanism for new code that could potentially overflow the stack.

      We should re-implement the stack size limitation more explicitly so that it can be tested as a distinct test scenario.

      Attachments

        Activity

          People

            ryan.egesdahl@mongodb.com Ryan Egesdahl (Inactive)
            ryan.egesdahl@mongodb.com Ryan Egesdahl (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: