Mercurial > hg > graal-jvmci-8
diff src/share/vm/runtime/os.hpp @ 10195:e12c9b3740db
8012260: ciReplay: Include PID into the name of replay data file
Reviewed-by: kvn, twisti
author | vlivanov |
---|---|
date | Thu, 25 Apr 2013 11:02:32 -0700 |
parents | 0c039865ef2b |
children | c18152e0554e |
line wrap: on
line diff
--- a/src/share/vm/runtime/os.hpp Wed Apr 24 18:20:04 2013 -0400 +++ b/src/share/vm/runtime/os.hpp Thu Apr 25 11:02:32 2013 -0700 @@ -454,6 +454,7 @@ // File i/o operations static const int default_file_open_flags(); static int open(const char *path, int oflag, int mode); + static FILE* open(int fd, const char* mode); static int close(int fd); static jlong lseek(int fd, jlong offset, int whence); static char* native_path(char *path); @@ -477,7 +478,7 @@ static const char* dll_file_extension(); static const char* get_temp_directory(); - static const char* get_current_directory(char *buf, int buflen); + static const char* get_current_directory(char *buf, size_t buflen); // Builds a platform-specific full library path given a ld path and lib name // Returns true if buffer contains full path to existing file, false otherwise