454 static bool is_obsolete_flag(const char* flag_name, JDK_Version* version);
455
456 #ifndef PRODUCT
457 static const char* removed_develop_logging_flag_name(const char* name);
458 #endif // PRODUCT
459
460 // Returns 1 if the flag is deprecated (and not yet obsolete or expired).
461 // In this case the 'version' buffer is filled in with the version number when
462 // the flag became deprecated.
463 // Returns -1 if the flag is expired or obsolete.
464 // Returns 0 otherwise.
465 static int is_deprecated_flag(const char* flag_name, JDK_Version* version);
466
467 // Return the real name for the flag passed on the command line (either an alias name or "flag_name").
468 static const char* real_flag_name(const char *flag_name);
469
470 // Return the "real" name for option arg if arg is an alias, and print a warning if arg is deprecated.
471 // Return NULL if the arg has expired.
472 static const char* handle_aliases_and_deprecation(const char* arg, bool warn);
473 static bool lookup_logging_aliases(const char* arg, char* buffer);
474 static AliasedLoggingFlag catch_logging_aliases(const char* name);
475 static short CompileOnlyClassesNum;
476 static short CompileOnlyClassesMax;
477 static char** CompileOnlyClasses;
478 static bool* CompileOnlyAllMethods;
479
480 static short CompileOnlyMethodsNum;
481 static short CompileOnlyMethodsMax;
482 static char** CompileOnlyMethods;
483 static bool* CompileOnlyAllClasses;
484
485 static short InterpretOnlyClassesNum;
486 static short InterpretOnlyClassesMax;
487 static char** InterpretOnlyClasses;
488 static bool* InterpretOnlyAllMethods;
489
490 static bool CheckCompileOnly;
491
492 static char* SharedArchivePath;
493
494 public:
|
454 static bool is_obsolete_flag(const char* flag_name, JDK_Version* version);
455
456 #ifndef PRODUCT
457 static const char* removed_develop_logging_flag_name(const char* name);
458 #endif // PRODUCT
459
460 // Returns 1 if the flag is deprecated (and not yet obsolete or expired).
461 // In this case the 'version' buffer is filled in with the version number when
462 // the flag became deprecated.
463 // Returns -1 if the flag is expired or obsolete.
464 // Returns 0 otherwise.
465 static int is_deprecated_flag(const char* flag_name, JDK_Version* version);
466
467 // Return the real name for the flag passed on the command line (either an alias name or "flag_name").
468 static const char* real_flag_name(const char *flag_name);
469
470 // Return the "real" name for option arg if arg is an alias, and print a warning if arg is deprecated.
471 // Return NULL if the arg has expired.
472 static const char* handle_aliases_and_deprecation(const char* arg, bool warn);
473 static bool lookup_logging_aliases(const char* arg, char* buffer);
474 static AliasedLoggingFlag catch_logging_aliases(const char* name, const char* pref);
475 static short CompileOnlyClassesNum;
476 static short CompileOnlyClassesMax;
477 static char** CompileOnlyClasses;
478 static bool* CompileOnlyAllMethods;
479
480 static short CompileOnlyMethodsNum;
481 static short CompileOnlyMethodsMax;
482 static char** CompileOnlyMethods;
483 static bool* CompileOnlyAllClasses;
484
485 static short InterpretOnlyClassesNum;
486 static short InterpretOnlyClassesMax;
487 static char** InterpretOnlyClasses;
488 static bool* InterpretOnlyAllMethods;
489
490 static bool CheckCompileOnly;
491
492 static char* SharedArchivePath;
493
494 public:
|