src/hotspot/share/runtime/arguments.hpp
changeset 49716 450d709262c1
parent 49364 601146c66cad
child 49739 00805b129186
equal deleted inserted replaced
49715:947560700a09 49716:450d709262c1
   356   // -Xdebug flag
   356   // -Xdebug flag
   357   static bool _xdebug_mode;
   357   static bool _xdebug_mode;
   358   static void set_xdebug_mode(bool arg) { _xdebug_mode = arg; }
   358   static void set_xdebug_mode(bool arg) { _xdebug_mode = arg; }
   359   static bool xdebug_mode()             { return _xdebug_mode; }
   359   static bool xdebug_mode()             { return _xdebug_mode; }
   360 
   360 
       
   361   // preview features
       
   362   static bool _enable_preview;
       
   363 
   361   // Used to save default settings
   364   // Used to save default settings
   362   static bool _AlwaysCompileLoopMethods;
   365   static bool _AlwaysCompileLoopMethods;
   363   static bool _UseOnStackReplacement;
   366   static bool _UseOnStackReplacement;
   364   static bool _BackgroundCompilation;
   367   static bool _BackgroundCompilation;
   365   static bool _ClipInlining;
   368   static bool _ClipInlining;
   689 
   692 
   690   // Operation modi
   693   // Operation modi
   691   static Mode mode()                        { return _mode; }
   694   static Mode mode()                        { return _mode; }
   692   static bool is_interpreter_only() { return mode() == _int; }
   695   static bool is_interpreter_only() { return mode() == _int; }
   693 
   696 
       
   697   // preview features
       
   698   static void set_enable_preview() { _enable_preview = true; }
       
   699   static bool enable_preview() { return _enable_preview; }
   694 
   700 
   695   // Utility: copies src into buf, replacing "%%" with "%" and "%p" with pid.
   701   // 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);
   702   static bool copy_expand_pid(const char* src, size_t srclen, char* buf, size_t buflen);
   697 
   703 
   698   static void check_unsupported_dumping_properties() NOT_CDS_RETURN;
   704   static void check_unsupported_dumping_properties() NOT_CDS_RETURN;