--- old/src/os/posix/vm/os_posix.cpp 2015-07-17 15:15:09.942489827 -0400 +++ new/src/os/posix/vm/os_posix.cpp 2015-07-17 15:15:08.602338658 -0400 @@ -236,6 +236,15 @@ st->cr(); } +#ifndef PRODUCT +bool os::get_host_name(char* buf, size_t buflen) { + struct utsname name; + uname(&name); + jio_snprintf(buf, buflen, "%s", name.nodename); + return true; +} +#endif // PRODUCT + bool os::has_allocatable_memory_limit(julong* limit) { struct rlimit rlim; int getrlimit_res = getrlimit(RLIMIT_AS, &rlim);