hotspot/src/share/vm/runtime/arguments.hpp
changeset 28650 772aaab2582f
parent 28372 ce0aad4b8c44
child 28838 da47c3cc5c98
equal deleted inserted replaced
28649:eb561bd1bc3c 28650:772aaab2582f
   326   static bool _UseOnStackReplacement;
   326   static bool _UseOnStackReplacement;
   327   static bool _BackgroundCompilation;
   327   static bool _BackgroundCompilation;
   328   static bool _ClipInlining;
   328   static bool _ClipInlining;
   329   static bool _CIDynamicCompilePriority;
   329   static bool _CIDynamicCompilePriority;
   330 
   330 
   331   // Scale compile thresholds
       
   332   static intx get_scaled_compile_threshold(intx threshold);
       
   333   static intx get_scaled_freq_log(intx freq_log);
       
   334   // Tiered
   331   // Tiered
   335   static void set_tiered_flags();
   332   static void set_tiered_flags();
   336   static int  get_min_number_of_compiler_threads();
   333   static int  get_min_number_of_compiler_threads();
   337   // CMS/ParNew garbage collectors
   334   // CMS/ParNew garbage collectors
   338   static void set_parnew_gc_flags();
   335   static void set_parnew_gc_flags();
   450   static bool   CheckCompileOnly;
   447   static bool   CheckCompileOnly;
   451 
   448 
   452   static char*  SharedArchivePath;
   449   static char*  SharedArchivePath;
   453 
   450 
   454  public:
   451  public:
       
   452   // Scale compile thresholds
       
   453   // Returns threshold scaled with CompileThresholdScaling
       
   454   static intx scaled_compile_threshold(intx threshold, double scale);
       
   455   static intx scaled_compile_threshold(intx threshold) {
       
   456     return scaled_compile_threshold(threshold, CompileThresholdScaling);
       
   457   }
       
   458   // Returns freq_log scaled with CompileThresholdScaling
       
   459   static intx scaled_freq_log(intx freq_log, double scale);
       
   460   static intx scaled_freq_log(intx freq_log) {
       
   461     return scaled_freq_log(freq_log, CompileThresholdScaling);
       
   462   }
       
   463 
   455   // Parses the arguments, first phase
   464   // Parses the arguments, first phase
   456   static jint parse(const JavaVMInitArgs* args);
   465   static jint parse(const JavaVMInitArgs* args);
   457   // Apply ergonomics
   466   // Apply ergonomics
   458   static jint apply_ergo();
   467   static jint apply_ergo();
   459   // Adjusts the arguments after the OS have adjusted the arguments
   468   // Adjusts the arguments after the OS have adjusted the arguments