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.
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.
- links to
-
Review openjdk/jdk/12454