RFR: 8262328: Templatize JVMFlag boilerplate access methods [v3]

Ioi Lam iklam at openjdk.java.net
Fri Apr 9 16:42:21 UTC 2021


On Fri, 9 Apr 2021 16:17:53 GMT, Gerard Ziemski <gziemski at openjdk.org> wrote:

> Very nice! With all this reduction and "templatization" effort, soon we will be left with one line of a template code at this rate :-)
> 
> The only feedback I have is that I wish we could replace `int type_enum` with `FlagType type_enum`

Hi Gerard, thanks for the review. Replacing the int with enum will cause quite a bit of changes, so I would probably do that in a separate RFE.

-------------

PR: https://git.openjdk.java.net/jdk/pull/3318


More information about the hotspot-dev mailing list