Mercurial > hg > truffle
diff src/share/vm/runtime/arguments.hpp @ 242:d95b224e9f17
6721093: -XX:AppendRatio=N not supported
Summary: Add mechanism to ignore unsupported flags for a set period of time
Reviewed-by: acorn, never, coleenp
author | kamg |
---|---|
date | Mon, 28 Jul 2008 14:07:44 -0400 |
parents | d1605aabd0a1 |
children | 1ee8caae33af |
line wrap: on
line diff
--- a/src/share/vm/runtime/arguments.hpp Sat Jul 19 17:38:22 2008 -0400 +++ b/src/share/vm/runtime/arguments.hpp Mon Jul 28 14:07:44 2008 -0400 @@ -357,9 +357,11 @@ short* methodsNum, short* methodsMax, char*** methods, bool** allClasses ); - // Returns true if the string s is in the list of - // flags made obsolete in 1.5.0. - static bool made_obsolete_in_1_5_0(const char* s); + // Returns true if the string s is in the list of flags that have recently + // been made obsolete. If we detect one of these flags on the command + // line, instead of failing we print a warning message and ignore the + // flag. This gives the user a release or so to stop using the flag. + static bool is_newly_obsolete(const char* s, JDK_Version* buffer); static short CompileOnlyClassesNum; static short CompileOnlyClassesMax;