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