diff -r 78b3897aa229 -r 9ff60555fcd3 hotspot/src/share/vm/runtime/globals.hpp --- a/hotspot/src/share/vm/runtime/globals.hpp Mon Jul 01 09:30:23 2013 -0700 +++ b/hotspot/src/share/vm/runtime/globals.hpp Fri Jun 28 20:18:04 2013 -0700 @@ -220,7 +220,8 @@ // number of flags static size_t numFlags; - static Flag* find_flag(char* name, size_t length, bool allow_locked = false); + static Flag* find_flag(const char* name, size_t length, bool allow_locked = false); + static Flag* fuzzy_match(const char* name, size_t length, bool allow_locked = false); bool is_bool() const { return strcmp(type, "bool") == 0; } bool get_bool() const { return *((bool*) addr); }