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

Allow stack limits to be testable

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Fully Compatible
    • Dev Platform 2022-05-16, Dev Platform 2022-05-30, Dev Platform 2022-06-27, Dev Platform 2022-07-25
    • 160

      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.

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