--- old/src/hotspot/os/linux/os_linux.inline.hpp 2018-07-10 15:42:55.166266382 -0400 +++ new/src/hotspot/os/linux/os_linux.inline.hpp 2018-07-10 15:42:54.946254263 -0400 @@ -69,17 +69,6 @@ inline const int os::default_file_open_flags() { return 0;} -inline DIR* os::opendir(const char* dirname) -{ - assert(dirname != NULL, "just checking"); - return ::opendir(dirname); -} - -inline int os::readdir_buf_size(const char *path) -{ - return NAME_MAX + sizeof(dirent) + 1; -} - inline jlong os::lseek(int fd, jlong offset, int whence) { return (jlong) ::lseek64(fd, offset, whence); } @@ -92,17 +81,6 @@ return ::ftruncate64(fd, length); } -inline struct dirent* os::readdir(DIR* dirp, dirent *dbuf) -{ - assert(dirp != NULL, "just checking"); - return ::readdir(dirp); -} - -inline int os::closedir(DIR *dirp) { - assert(dirp != NULL, "argument is NULL"); - return ::closedir(dirp); -} - // macros for restartable system calls #define RESTARTABLE(_cmd, _result) do { \