diff -r 7d5a286cdf89 -r f1ebd584cdf3 hotspot/src/share/vm/runtime/globals.hpp --- a/hotspot/src/share/vm/runtime/globals.hpp Wed Apr 26 10:26:39 2017 +0200 +++ b/hotspot/src/share/vm/runtime/globals.hpp Wed Apr 26 13:20:23 2017 +0200 @@ -186,6 +186,7 @@ void* _addr; NOT_PRODUCT(const char* _doc;) Flags _flags; + size_t _name_len; // points to all Flags static array static Flag* flags; @@ -247,6 +248,8 @@ Flags get_origin(); void set_origin(Flags origin); + size_t get_name_length(); + bool is_default(); bool is_ergonomic(); bool is_command_line();