Skip to content

Commit

Permalink
backport of bddf48380e658df630fecad5eda40106a24b6e1c
Browse files Browse the repository at this point in the history
  • Loading branch information
elifaslan1 committed May 30, 2024
1 parent a048a68 commit 67596e5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
6 changes: 0 additions & 6 deletions src/hotspot/os/linux/os_linux.inline.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,6 @@ inline size_t os::restartable_read(int fd, void *buf, unsigned int nBytes) {
return res;
}

inline size_t os::write(int fd, const void *buf, unsigned int nBytes) {
size_t res;
RESTARTABLE((size_t) ::write(fd, buf, (size_t) nBytes), res);
return res;
}

inline int os::close(int fd) {
return ::close(fd);
}
Expand Down
4 changes: 0 additions & 4 deletions src/hotspot/os/windows/os_windows.inline.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,6 @@ inline size_t os::restartable_read(int fd, void *buf, unsigned int nBytes) {
return ::read(fd, buf, nBytes);
}

inline size_t os::write(int fd, const void *buf, unsigned int nBytes) {
return ::write(fd, buf, nBytes);
}

inline int os::close(int fd) {
return ::close(fd);
}
Expand Down

0 comments on commit 67596e5

Please sign in to comment.