< prev index next >

src/hotspot/share/runtime/arguments.hpp

Print this page




 341   static AgentLibraryList _agentList;
 342   static void add_init_agent(const char* name, char* options, bool absolute_path);
 343   static void add_instrument_agent(const char* name, char* options, bool absolute_path);
 344 
 345   // Late-binding agents not started via arguments
 346   static void add_loaded_agent(AgentLibrary *agentLib);
 347   static void add_loaded_agent(const char* name, char* options, bool absolute_path, void* os_lib);
 348 
 349   // Operation modi
 350   static Mode _mode;
 351   static void set_mode_flags(Mode mode);
 352   static bool _java_compiler;
 353   static void set_java_compiler(bool arg) { _java_compiler = arg; }
 354   static bool java_compiler()   { return _java_compiler; }
 355 
 356   // -Xdebug flag
 357   static bool _xdebug_mode;
 358   static void set_xdebug_mode(bool arg) { _xdebug_mode = arg; }
 359   static bool xdebug_mode()             { return _xdebug_mode; }
 360 



 361   // Used to save default settings
 362   static bool _AlwaysCompileLoopMethods;
 363   static bool _UseOnStackReplacement;
 364   static bool _BackgroundCompilation;
 365   static bool _ClipInlining;
 366   static bool _CIDynamicCompilePriority;
 367   static intx _Tier3InvokeNotifyFreqLog;
 368   static intx _Tier4InvocationThreshold;
 369 
 370   // Compilation mode.
 371   static bool compilation_mode_selected();
 372   static void select_compilation_mode_ergonomically();
 373 
 374   // Tiered
 375   static void set_tiered_flags();
 376 
 377   // GC ergonomics
 378   static void set_conservative_max_heap_alignment();
 379   static void set_use_compressed_oops();
 380   static void set_use_compressed_klass_ptrs();


 674     _system_boot_class_path->append_value(value);
 675     _jdk_boot_class_path_append->append_value(value);
 676   }
 677 
 678   static GrowableArray<ModulePatchPath*>* get_patch_mod_prefix() { return _patch_mod_prefix; }
 679   static char* get_sysclasspath() { return _system_boot_class_path->value(); }
 680   static char* get_jdk_boot_class_path_append() { return _jdk_boot_class_path_append->value(); }
 681   static bool has_jimage() { return _has_jimage; }
 682 
 683   static char* get_java_home()    { return _java_home->value(); }
 684   static char* get_dll_dir()      { return _sun_boot_library_path->value(); }
 685   static char* get_ext_dirs()     { return _ext_dirs;  }
 686   static char* get_appclasspath() { return _java_class_path->value(); }
 687   static void  fix_appclasspath();
 688 
 689 
 690   // Operation modi
 691   static Mode mode()                        { return _mode; }
 692   static bool is_interpreter_only() { return mode() == _int; }
 693 



 694 
 695   // Utility: copies src into buf, replacing "%%" with "%" and "%p" with pid.
 696   static bool copy_expand_pid(const char* src, size_t srclen, char* buf, size_t buflen);
 697 
 698   static void check_unsupported_dumping_properties() NOT_CDS_RETURN;
 699 
 700   static bool atojulong(const char *s, julong* result);
 701 };
 702 
 703 // Disable options not supported in this release, with a warning if they
 704 // were explicitly requested on the command-line
 705 #define UNSUPPORTED_OPTION(opt)                          \
 706 do {                                                     \
 707   if (opt) {                                             \
 708     if (FLAG_IS_CMDLINE(opt)) {                          \
 709       warning("-XX:+" #opt " not supported in this VM"); \
 710     }                                                    \
 711     FLAG_SET_DEFAULT(opt, false);                        \
 712   }                                                      \
 713 } while(0)


 341   static AgentLibraryList _agentList;
 342   static void add_init_agent(const char* name, char* options, bool absolute_path);
 343   static void add_instrument_agent(const char* name, char* options, bool absolute_path);
 344 
 345   // Late-binding agents not started via arguments
 346   static void add_loaded_agent(AgentLibrary *agentLib);
 347   static void add_loaded_agent(const char* name, char* options, bool absolute_path, void* os_lib);
 348 
 349   // Operation modi
 350   static Mode _mode;
 351   static void set_mode_flags(Mode mode);
 352   static bool _java_compiler;
 353   static void set_java_compiler(bool arg) { _java_compiler = arg; }
 354   static bool java_compiler()   { return _java_compiler; }
 355 
 356   // -Xdebug flag
 357   static bool _xdebug_mode;
 358   static void set_xdebug_mode(bool arg) { _xdebug_mode = arg; }
 359   static bool xdebug_mode()             { return _xdebug_mode; }
 360 
 361   // preview features
 362   static bool _enable_preview;
 363 
 364   // Used to save default settings
 365   static bool _AlwaysCompileLoopMethods;
 366   static bool _UseOnStackReplacement;
 367   static bool _BackgroundCompilation;
 368   static bool _ClipInlining;
 369   static bool _CIDynamicCompilePriority;
 370   static intx _Tier3InvokeNotifyFreqLog;
 371   static intx _Tier4InvocationThreshold;
 372 
 373   // Compilation mode.
 374   static bool compilation_mode_selected();
 375   static void select_compilation_mode_ergonomically();
 376 
 377   // Tiered
 378   static void set_tiered_flags();
 379 
 380   // GC ergonomics
 381   static void set_conservative_max_heap_alignment();
 382   static void set_use_compressed_oops();
 383   static void set_use_compressed_klass_ptrs();


 677     _system_boot_class_path->append_value(value);
 678     _jdk_boot_class_path_append->append_value(value);
 679   }
 680 
 681   static GrowableArray<ModulePatchPath*>* get_patch_mod_prefix() { return _patch_mod_prefix; }
 682   static char* get_sysclasspath() { return _system_boot_class_path->value(); }
 683   static char* get_jdk_boot_class_path_append() { return _jdk_boot_class_path_append->value(); }
 684   static bool has_jimage() { return _has_jimage; }
 685 
 686   static char* get_java_home()    { return _java_home->value(); }
 687   static char* get_dll_dir()      { return _sun_boot_library_path->value(); }
 688   static char* get_ext_dirs()     { return _ext_dirs;  }
 689   static char* get_appclasspath() { return _java_class_path->value(); }
 690   static void  fix_appclasspath();
 691 
 692 
 693   // Operation modi
 694   static Mode mode()                        { return _mode; }
 695   static bool is_interpreter_only() { return mode() == _int; }
 696 
 697   // preview features
 698   static void set_enable_preview() { _enable_preview = true; }
 699   static bool enable_preview() { return _enable_preview; }
 700 
 701   // Utility: copies src into buf, replacing "%%" with "%" and "%p" with pid.
 702   static bool copy_expand_pid(const char* src, size_t srclen, char* buf, size_t buflen);
 703 
 704   static void check_unsupported_dumping_properties() NOT_CDS_RETURN;
 705 
 706   static bool atojulong(const char *s, julong* result);
 707 };
 708 
 709 // Disable options not supported in this release, with a warning if they
 710 // were explicitly requested on the command-line
 711 #define UNSUPPORTED_OPTION(opt)                          \
 712 do {                                                     \
 713   if (opt) {                                             \
 714     if (FLAG_IS_CMDLINE(opt)) {                          \
 715       warning("-XX:+" #opt " not supported in this VM"); \
 716     }                                                    \
 717     FLAG_SET_DEFAULT(opt, false);                        \
 718   }                                                      \
 719 } while(0)
< prev index next >