> - Rename `MEMFLAGS` to `MemoryType`. `MEMFLAGS` is highly misleading as flags > typically can be combined. > - Update `MemoryType` to have enumeration names that follow the style guide, > no `mt` prefix. > - Create aliases for old `mtXXX` names. > - Remove `mt_number_of_types` from the enumeration. > - Shift implementation of utilities related to `MEMFLAGS` from `NMTUtil` to > `MemoryTypes`. Handle missing `mt` prefix during parsing. > - `NMTUtil` references are not updated to avoid increasing patch size. > - Merge `AllocFailStrategy` and `AllocFailType` into > `AllocationFailureStrategy`. > - Move `MemoryType` and `AllocationFailureStrategy` to their own respective > headers. > > This change does not update variable verbiage. That should be something done > over time.
Justin King has updated the pull request incrementally with one additional commit since the last revision: Fix refactor mistake Signed-off-by: Justin King <jck...@google.com> ------------- Changes: - all: https://git.openjdk.org/jdk/pull/12454/files - new: https://git.openjdk.org/jdk/pull/12454/files/c2f229ba..fe293c42 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=12454&range=02 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=12454&range=01-02 Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/12454.diff Fetch: git fetch https://git.openjdk.org/jdk pull/12454/head:pull/12454 PR: https://git.openjdk.org/jdk/pull/12454