src/share/vm/runtime/arguments.hpp

Print this page




 397   static char** CompileOnlyMethods;
 398   static bool*  CompileOnlyAllClasses;
 399 
 400   static short  InterpretOnlyClassesNum;
 401   static short  InterpretOnlyClassesMax;
 402   static char** InterpretOnlyClasses;
 403   static bool*  InterpretOnlyAllMethods;
 404 
 405   static bool   CheckCompileOnly;
 406 
 407   static char*  SharedArchivePath;
 408 
 409  public:
 410   // Parses the arguments
 411   static jint parse(const JavaVMInitArgs* args);
 412   // Adjusts the arguments after the OS have adjusted the arguments
 413   static jint adjust_after_os();
 414   // Check for consistency in the selection of the garbage collector.
 415   static bool check_gc_consistency();
 416   static void check_deprecated_gcs();

 417   // Check consistecy or otherwise of VM argument settings
 418   static bool check_vm_args_consistency();
 419   // Check stack pages settings
 420   static bool check_stack_pages();
 421   // Used by os_solaris
 422   static bool process_settings_file(const char* file_name, bool should_exist, jboolean ignore_unrecognized);
 423 
 424   // return a char* array containing all options
 425   static char** jvm_flags_array()          { return _jvm_flags_array; }
 426   static char** jvm_args_array()           { return _jvm_args_array; }
 427   static int num_jvm_flags()               { return _num_jvm_flags; }
 428   static int num_jvm_args()                { return _num_jvm_args; }
 429   // return the arguments passed to the Java application
 430   static const char* java_command()        { return _java_command; }
 431 
 432   // print jvm_flags, jvm_args and java_command
 433   static void print_on(outputStream* st);
 434 
 435   // convenient methods to obtain / print jvm_flags and jvm_args
 436   static const char* jvm_flags()           { return build_resource_string(_jvm_flags_array, _num_jvm_flags); }




 397   static char** CompileOnlyMethods;
 398   static bool*  CompileOnlyAllClasses;
 399 
 400   static short  InterpretOnlyClassesNum;
 401   static short  InterpretOnlyClassesMax;
 402   static char** InterpretOnlyClasses;
 403   static bool*  InterpretOnlyAllMethods;
 404 
 405   static bool   CheckCompileOnly;
 406 
 407   static char*  SharedArchivePath;
 408 
 409  public:
 410   // Parses the arguments
 411   static jint parse(const JavaVMInitArgs* args);
 412   // Adjusts the arguments after the OS have adjusted the arguments
 413   static jint adjust_after_os();
 414   // Check for consistency in the selection of the garbage collector.
 415   static bool check_gc_consistency();
 416   static void check_deprecated_gcs();
 417   static void check_deprecated_gc_flags();
 418   // Check consistecy or otherwise of VM argument settings
 419   static bool check_vm_args_consistency();
 420   // Check stack pages settings
 421   static bool check_stack_pages();
 422   // Used by os_solaris
 423   static bool process_settings_file(const char* file_name, bool should_exist, jboolean ignore_unrecognized);
 424 
 425   // return a char* array containing all options
 426   static char** jvm_flags_array()          { return _jvm_flags_array; }
 427   static char** jvm_args_array()           { return _jvm_args_array; }
 428   static int num_jvm_flags()               { return _num_jvm_flags; }
 429   static int num_jvm_args()                { return _num_jvm_args; }
 430   // return the arguments passed to the Java application
 431   static const char* java_command()        { return _java_command; }
 432 
 433   // print jvm_flags, jvm_args and java_command
 434   static void print_on(outputStream* st);
 435 
 436   // convenient methods to obtain / print jvm_flags and jvm_args
 437   static const char* jvm_flags()           { return build_resource_string(_jvm_flags_array, _num_jvm_flags); }