--- a/src/hotspot/os/linux/os_linux.cpp Sun Jan 13 17:33:26 2019 +0100
+++ b/src/hotspot/os/linux/os_linux.cpp Sun Jan 13 16:54:01 2019 -0500
@@ -4027,14 +4027,6 @@
}
}
-size_t os::read(int fd, void *buf, unsigned int nBytes) {
- return ::read(fd, buf, nBytes);
-}
-
-size_t os::read_at(int fd, void *buf, unsigned int nBytes, jlong offset) {
- return ::pread(fd, buf, nBytes, offset);
-}
-
// Sleep forever; naked call to OS-specific sleep; use with CAUTION
void os::infinite_sleep() {
while (true) { // sleep forever ...