Withdrawn: JDK-8301983: Refactor MEMFLAGS and AllocFailStrategy
Justin King
jcking at openjdk.org
Tue Feb 7 18:02:54 UTC 2023
On Tue, 7 Feb 2023 14:14:07 GMT, Justin King <jcking at openjdk.org> wrote:
> - 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.
This pull request has been closed without being integrated.
-------------
PR: https://git.openjdk.org/jdk/pull/12454
More information about the serviceability-dev
mailing list