Print this page
rev 7124 : 8073944: Simplify ArgumentsExt and remove unneeded functionallity
Reviewed-by: kbarrett, dholmes

Split Split Close
Expand all
Collapse all
          --- old/hotspot/src/share/vm/runtime/arguments.hpp
          +++ new/hotspot/src/share/vm/runtime/arguments.hpp
↓ open down ↓ 458 lines elided ↑ open up ↑
 459  459  
 460  460    // Verifies that the given value will fit as a MinHeapFreeRatio. If not, an error
 461  461    // message is returned in the provided buffer.
 462  462    static bool verify_MinHeapFreeRatio(FormatBuffer<80>& err_msg, uintx min_heap_free_ratio);
 463  463  
 464  464    // Verifies that the given value will fit as a MaxHeapFreeRatio. If not, an error
 465  465    // message is returned in the provided buffer.
 466  466    static bool verify_MaxHeapFreeRatio(FormatBuffer<80>& err_msg, uintx max_heap_free_ratio);
 467  467  
 468  468    // Check for consistency in the selection of the garbage collector.
 469      -  static bool check_gc_consistency_user();        // Check user-selected gc
 470      -  static inline bool check_gc_consistency_ergo(); // Check ergonomic-selected gc
      469 +  static bool check_gc_consistency();        // Check user-selected gc
 471  470    static void check_deprecated_gcs();
 472  471    static void check_deprecated_gc_flags();
 473  472    // Check consistecy or otherwise of VM argument settings
 474  473    static bool check_vm_args_consistency();
 475  474    // Check stack pages settings
 476  475    static bool check_stack_pages();
 477  476    // Used by os_solaris
 478  477    static bool process_settings_file(const char* file_name, bool should_exist, jboolean ignore_unrecognized);
 479  478  
 480  479    static size_t conservative_max_heap_alignment() { return _conservative_max_heap_alignment; }
↓ open down ↓ 127 lines elided ↑ open up ↑
 608  607  
 609  608    // Utility: copies src into buf, replacing "%%" with "%" and "%p" with pid.
 610  609    static bool copy_expand_pid(const char* src, size_t srclen, char* buf, size_t buflen);
 611  610  };
 612  611  
 613  612  bool Arguments::gc_selected() {
 614  613    return UseConcMarkSweepGC || UseG1GC || UseParallelGC || UseParallelOldGC ||
 615  614      UseParNewGC || UseSerialGC;
 616  615  }
 617  616  
 618      -bool Arguments::check_gc_consistency_ergo() {
 619      -  return check_gc_consistency_user();
 620      -}
 621      -
 622  617  #endif // SHARE_VM_RUNTIME_ARGUMENTS_HPP
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX