Duplicate :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
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.
|