Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8301983

Refactor MEMFLAGS and AllocFailStrategy

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Rejected
    • Icon: P4 P4
    • None
    • None
    • 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.

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

              Created:
              Updated:
              Resolved: