changeset 49804:e651c3ea6ea8

8198957: Remove unused function ArgumentsExt::set_gc_specific_flags Reviewed-by: sjohanss, tschatzl
author ehelin
date Mon, 05 Mar 2018 13:15:10 +0100
parents 41e7a68fbf45
children 4e82736053ae
files src/hotspot/share/runtime/arguments.cpp src/hotspot/share/runtime/arguments.hpp src/hotspot/share/runtime/arguments_ext.hpp
diffstat 3 files changed, 1 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/runtime/arguments.cpp	Mon Mar 05 13:07:04 2018 +0100
+++ b/src/hotspot/share/runtime/arguments.cpp	Mon Mar 05 13:15:10 2018 +0100
@@ -1856,11 +1856,6 @@
   return JNI_OK;
 }
 
-void Arguments::set_gc_specific_flags() {
-  // Set GC flags
-  GCArguments::arguments()->initialize_flags();
-}
-
 julong Arguments::limit_by_allocatable_memory(julong limit) {
   julong max_allocatable;
   julong result = limit;
@@ -4286,7 +4281,7 @@
   // Set heap size based on available physical memory
   set_heap_size();
 
-  ArgumentsExt::set_gc_specific_flags();
+  GCArguments::arguments()->initialize_flags();
 
   // Initialize Metaspace flags and alignments
   Metaspace::ergo_initialize();
--- a/src/hotspot/share/runtime/arguments.hpp	Mon Mar 05 13:07:04 2018 +0100
+++ b/src/hotspot/share/runtime/arguments.hpp	Mon Mar 05 13:15:10 2018 +0100
@@ -539,7 +539,6 @@
   // Adjusts the arguments after the OS have adjusted the arguments
   static jint adjust_after_os();
 
-  static void set_gc_specific_flags();
 #if INCLUDE_JVMCI
   // Check consistency of jvmci vm argument settings.
   static bool check_jvmci_args_consistency();
--- a/src/hotspot/share/runtime/arguments_ext.hpp	Mon Mar 05 13:07:04 2018 +0100
+++ b/src/hotspot/share/runtime/arguments_ext.hpp	Mon Mar 05 13:15:10 2018 +0100
@@ -30,7 +30,6 @@
 
 class ArgumentsExt: AllStatic {
 public:
-  static inline void set_gc_specific_flags();
   // The argument processing extension. Returns true if there is
   // no additional parsing needed in Arguments::parse() for the option.
   // Otherwise returns false.
@@ -38,8 +37,4 @@
   static inline void report_unsupported_options() { }
 };
 
-void ArgumentsExt::set_gc_specific_flags() {
-  Arguments::set_gc_specific_flags();
-}
-
 #endif // SHARE_VM_RUNTIME_ARGUMENTS_EXT_HPP