--- old/src/share/vm/runtime/os.hpp 2011-02-24 19:33:18.169478636 +0300 +++ new/src/share/vm/runtime/os.hpp 2011-02-24 19:33:17.829480731 +0300 @@ -650,7 +650,11 @@ // Hook for os specific jvm options that we don't want to abort on seeing static bool obsolete_option(const JavaVMOption *option); - + + // Read file line by line. If line is longer than bsize, + // rest of line is skipped. Returns number of bytes read or -1 on eof + static int get_line_chars(int fd, char *buf, size_t bsize); + // Platform dependent stuff #ifdef TARGET_OS_FAMILY_linux # include "os_linux.hpp" @@ -718,6 +722,8 @@ char pathSep); static bool set_boot_path(char fileSep, char pathSep); static char** split_path(const char* path, int* n); + + }; // Note that "PAUSE" is almost always used with synchronization