hotspot/src/share/vm/runtime/os.hpp
changeset 36174 481391df586b
parent 35495 e27da438fa13
child 37046 88fbf4e7b9c6
child 36508 5f9eee6b383b
--- a/hotspot/src/share/vm/runtime/os.hpp	Tue Feb 16 21:58:49 2016 -0500
+++ b/hotspot/src/share/vm/runtime/os.hpp	Wed Feb 17 11:11:47 2016 +0100
@@ -152,7 +152,6 @@
   static size_t page_size_for_region(size_t region_size, size_t min_pages, bool must_be_aligned);
 
   // Get summary strings for system information in buffer provided
-  static bool  get_host_name(char* buf, size_t buflen) PRODUCT_RETURN_(return false;);  // true if available
   static void  get_summary_cpu_info(char* buf, size_t buflen);
   static void  get_summary_os_info(char* buf, size_t buflen);
 
@@ -595,6 +594,9 @@
   // Write to stream
   static int log_vsnprintf(char* buf, size_t len, const char* fmt, va_list args) ATTRIBUTE_PRINTF(3, 0);
 
+  // Get host name in buffer provided
+  static bool get_host_name(char* buf, size_t buflen);
+
   // Print out system information; they are called by fatal error handler.
   // Output format may be different on different platforms.
   static void print_os_info(outputStream* st);