1.1 --- a/src/share/vm/runtime/globals.hpp Thu Jan 16 13:25:25 2014 -0800 1.2 +++ b/src/share/vm/runtime/globals.hpp Mon Dec 23 20:56:18 2013 +0400 1.3 @@ -390,6 +390,8 @@ 1.4 1.5 static bool ccstrAt(char* name, size_t len, ccstr* value); 1.6 static bool ccstrAt(char* name, ccstr* value) { return ccstrAt(name, strlen(name), value); } 1.7 + // Contract: Flag will make private copy of the incoming value. 1.8 + // Outgoing value is always malloc-ed, and caller MUST call free. 1.9 static bool ccstrAtPut(char* name, size_t len, ccstr* value, Flag::Flags origin); 1.10 static bool ccstrAtPut(char* name, ccstr* value, Flag::Flags origin) { return ccstrAtPut(name, strlen(name), value, origin); } 1.11