< prev index next >

src/share/vm/runtime/arguments.hpp

Print this page

        

*** 366,375 **** --- 366,377 ---- static bool add_property(const char* prop); // Aggressive optimization flags. static void set_aggressive_opts_flags(); + static jint set_aggressive_heap_flags(); + // Argument parsing static void do_pd_flag_adjustments(); static bool parse_argument(const char* arg, Flag::Flags origin); static bool process_argument(const char* arg, jboolean ignore_unrecognized, Flag::Flags origin); static void process_java_launcher_argument(const char*, void*);
*** 413,427 **** const char* line, short* classesNum, short* classesMax, char*** classes, bool** allMethods, short* methodsNum, short* methodsMax, char*** methods, bool** allClasses ); ! // 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; static char** CompileOnlyClasses; static bool* CompileOnlyAllMethods; --- 415,442 ---- const char* line, short* classesNum, short* classesMax, char*** classes, bool** allMethods, short* methodsNum, short* methodsMax, char*** methods, bool** allClasses ); ! // Returns true if the flag is obsolete and fits into the range specified ! // for being ignored. In the case the 'version' buffer is filled in with ! // the version number when the flag became obsolete. Otherwise the flag has ! // expired and should be ignored. ! static bool is_newly_obsolete(const char* flag_name, JDK_Version* version); ! ! // Returns 1 if the flag is deprecated and jdk version is in the range specified. ! // In this case the 'version' buffer is filled in with the version number when ! // the flag became deprecated. ! // Returns -1 if the flag is deprecated and has expired (should be ignored). ! // Returns 0 if the flag is not deprecated. ! static int is_deprecated_flag(const char* flag_name, JDK_Version* version); ! ! // Return the real name for the flag passed on the command line. ! static const char* real_flag_name(const char *flag_name); ! ! // Return the "real" name for option arg if arg is an alias, and print a warning if arg is deprecated. ! static const char* handle_aliases_and_deprecation(const char* arg, bool warn); static short CompileOnlyClassesNum; static short CompileOnlyClassesMax; static char** CompileOnlyClasses; static bool* CompileOnlyAllMethods;
*** 469,479 **** static inline bool gc_selected(); // whether a gc has been selected static void select_gc_ergonomically(); // Check for consistency in the selection of the garbage collector. static bool check_gc_consistency(); // Check user-selected gc - static void check_deprecated_gc_flags(); // Check consistency or otherwise of VM argument settings static bool check_vm_args_consistency(); // Used by os_solaris static bool process_settings_file(const char* file_name, bool should_exist, jboolean ignore_unrecognized); --- 484,493 ----
< prev index next >