8203680: os::stat() on Posix platform does not need to copy input path

Reviewed-by: hseigel, dholmes
This commit is contained in:
Thomas Stuefe 2018-06-19 09:34:41 +02:00
parent 79fea6b201
commit 6f462fbc70
9 changed files with 10 additions and 56 deletions

View file

@ -88,10 +88,6 @@ inline int os::fsync(int fd) {
return ::fsync(fd);
}
inline char* os::native_path(char *path) {
return path;
}
inline int os::ftruncate(int fd, jlong length) {
return ::ftruncate64(fd, length);
}