Re: RFR: JDK-8301983: Refactor MEMFLAGS and AllocFailStrategy [v5]

2023-02-16 Thread Thomas Stuefe
On Tue, 14 Feb 2023 08:57:38 GMT, Stefan Karlsson wrote: > FWIW, I strongly dislike the uppercase MEMFLAGS name. I wouldn't mind this > rename at all. Thinking this through again, I somewhat regret my strong opposition. Reeks too much of resisting change for resisting's sake, and we don't want

Re: RFR: JDK-8301983: Refactor MEMFLAGS and AllocFailStrategy [v5]

2023-02-14 Thread Stefan Karlsson
On Tue, 7 Feb 2023 17:25:02 GMT, Justin King 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 `mtXX

Re: RFR: JDK-8301983: Refactor MEMFLAGS and AllocFailStrategy [v5]

2023-02-07 Thread Justin King
> - 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 enumerat