< prev index next >

src/share/vm/runtime/arguments.hpp

Print this page




 400                           uintx min_size);
 401 
 402   // methods to build strings from individual args
 403   static void build_jvm_args(const char* arg);
 404   static void build_jvm_flags(const char* arg);
 405   static void add_string(char*** bldarray, int* count, const char* arg);
 406   static const char* build_resource_string(char** args, int count);
 407 
 408   static bool methodExists(
 409     char* className, char* methodName,
 410     int classesNum, char** classes, bool* allMethods,
 411     int methodsNum, char** methods, bool* allClasses
 412   );
 413 
 414   static void parseOnlyLine(
 415     const char* line,
 416     short* classesNum, short* classesMax, char*** classes, bool** allMethods,
 417     short* methodsNum, short* methodsMax, char*** methods, bool** allClasses
 418   );
 419 
 420   // Returns true if the flag is obsolete and fits into the range specified
 421   // for being ignored.  In the case the 'version' buffer is filled in with 
 422   // the version number when the flag became obsolete.
 423   static bool is_obsolete_flag(const char* flag_name, JDK_Version* version);
 424 
 425   // Returns 1 if the flag is deprecated and jdk version is in the range specified.
 426   //     In this case the 'version' buffer is filled in with the version number when 
 427   //     the flag became deprecated.
 428   // Returns -1 if the flag is deprecated and has expired (should be ignored).
 429   // Returns 0 if the flag is not deprecated.
 430   static int is_deprecated_flag(const char* flag_name, JDK_Version* version);
 431 
 432   // Return the real name for the flag passed on the command line (either an alias name or "flag_name").
 433   static const char* real_flag_name(const char *flag_name);
 434 
 435   // Return the "real" name for option arg if arg is an alias, and print a warning if arg is deprecated.
 436   // Return NULL if the arg has expired.
 437   static const char* handle_aliases_and_deprecation(const char* arg, bool warn);
 438 
 439   static short  CompileOnlyClassesNum;
 440   static short  CompileOnlyClassesMax;
 441   static char** CompileOnlyClasses;
 442   static bool*  CompileOnlyAllMethods;
 443 
 444   static short  CompileOnlyMethodsNum;
 445   static short  CompileOnlyMethodsMax;
 446   static char** CompileOnlyMethods;
 447   static bool*  CompileOnlyAllClasses;
 448 
 449   static short  InterpretOnlyClassesNum;




 400                           uintx min_size);
 401 
 402   // methods to build strings from individual args
 403   static void build_jvm_args(const char* arg);
 404   static void build_jvm_flags(const char* arg);
 405   static void add_string(char*** bldarray, int* count, const char* arg);
 406   static const char* build_resource_string(char** args, int count);
 407 
 408   static bool methodExists(
 409     char* className, char* methodName,
 410     int classesNum, char** classes, bool* allMethods,
 411     int methodsNum, char** methods, bool* allClasses
 412   );
 413 
 414   static void parseOnlyLine(
 415     const char* line,
 416     short* classesNum, short* classesMax, char*** classes, bool** allMethods,
 417     short* methodsNum, short* methodsMax, char*** methods, bool** allClasses
 418   );
 419 
 420   // Returns true if the flag is obsolete (and not yet expired).
 421   // In this case the 'version' buffer is filled in with
 422   // the version number when the flag became obsolete.
 423   static bool is_obsolete_flag(const char* flag_name, JDK_Version* version);
 424 
 425   // Returns 1 if the flag is deprecated (and not yet obsolete or expired).
 426   //     In this case the 'version' buffer is filled in with the version number when 
 427   //     the flag became deprecated.
 428   // Returns -1 if the flag is expired or obsolete.
 429   // Returns 0 otherwise.
 430   static int is_deprecated_flag(const char* flag_name, JDK_Version* version);
 431 
 432   // Return the real name for the flag passed on the command line (either an alias name or "flag_name").
 433   static const char* real_flag_name(const char *flag_name);
 434 
 435   // Return the "real" name for option arg if arg is an alias, and print a warning if arg is deprecated.
 436   // Return NULL if the arg has expired.
 437   static const char* handle_aliases_and_deprecation(const char* arg, bool warn);
 438 
 439   static short  CompileOnlyClassesNum;
 440   static short  CompileOnlyClassesMax;
 441   static char** CompileOnlyClasses;
 442   static bool*  CompileOnlyAllMethods;
 443 
 444   static short  CompileOnlyMethodsNum;
 445   static short  CompileOnlyMethodsMax;
 446   static char** CompileOnlyMethods;
 447   static bool*  CompileOnlyAllClasses;
 448 
 449   static short  InterpretOnlyClassesNum;


< prev index next >