Refactor MEMFLAGS and AllocFailStrategy

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Rejected
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: hotspot
    • None

      MEMFLAGS and AllocFailStrategy are defined in memory/allocation.hpp. Both of these types are useful without including the rest of the header. Additionally MEMFLAGS and its enumerations do not follow the style guide.

      This enhancement will rename MEMFLAGS to MemoryType, move them to memory/types.{hpp,cpp}, preserve aliases for the old names, shift the implementation for working with MEMFLAGS to MemoryTypes from NMTUtil, merge AllocFailStrategy and AllocFailType into AllocationFailureStrategy, and move AllocationFailureStrategy to memory/allocationFailureStrategy.hpp.

            Assignee:
            Justin King
            Reporter:
            Justin King
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: