Command line switch descriptors in Hotspot are defined by "struct Flag" in
globals.hpp. Each switch has a "type" field that says whether the switch
is manageable, experimental, product, etc. Currently, "type" is a character
string, and determining the switch type involves executing strcmp, which is
a slow operation. What's more, a switch can be of only a single type.
E.g., one can have a "manageable" switch and an "experimental" switch,
but not a "manageable_experimental" switch.
Hotspot should support multiple types per switch.
globals.hpp. Each switch has a "type" field that says whether the switch
is manageable, experimental, product, etc. Currently, "type" is a character
string, and determining the switch type involves executing strcmp, which is
a slow operation. What's more, a switch can be of only a single type.
E.g., one can have a "manageable" switch and an "experimental" switch,
but not a "manageable_experimental" switch.
Hotspot should support multiple types per switch.
- duplicates
-
JDK-8243208 Clean up JVMFlag implementation
-
- Resolved
-
- relates to
-
JDK-8236988 Modular Design for JVM Flags
-
- Closed
-
-
JDK-8243209 Generate JVMFlag hashtable with constexpr
-
- Closed
-
-
JDK-8236988 Modular Design for JVM Flags
-
- Closed
-