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

Refactor ProcessInfo class into SystemInfo and ProcessInfo

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Programmability

      Right now, the ProcessInfo class is overloaded with functions that can represent both information about the process that's currently running, and information about the underlying system. It would make more sense to have two separate classes so as to reduce confusion.

      An example of this: retrieving transparent hugepage enablement information about the system from the process-level ProcessInfo class. When we then compare this information with actual process-level toggles to see if the current process is opting out of transparent hugepages, the naming can get confusing.

            Assignee:
            Unassigned Unassigned
            Reporter:
            blake.oler@mongodb.com Blake Oler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: