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

Improve assert_util classes and implementation

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: None

      Description

      In SERVER-53135, a number of improvements were identified by Billy Donahue, outlined primarily inĀ this CR. A short (non-exhaustive) summary of the proposed changes:

      • Remove the constructor for AssertionCount (it requires no special initialization and we are currently erroneously missing tripwire initialization)
      • Add tripwire to the rollover logic
      • Add proper methods to AssertionCount to increment and handle rollovers of each sub-AtomicWord
      • Keep a ring buffer of tripwire occurrences and dump them again upon checking them
      • Dump tripwire occurrences during the myTerminate termination handler

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-servicearch Backlog - Service Architecture
              Reporter:
              tyler.seip Tyler Seip
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated: