equal
deleted
inserted
replaced
735 // System loadavg support. Returns -1 if load average cannot be obtained. |
735 // System loadavg support. Returns -1 if load average cannot be obtained. |
736 static int loadavg(double loadavg[], int nelem); |
736 static int loadavg(double loadavg[], int nelem); |
737 |
737 |
738 // Hook for os specific jvm options that we don't want to abort on seeing |
738 // Hook for os specific jvm options that we don't want to abort on seeing |
739 static bool obsolete_option(const JavaVMOption *option); |
739 static bool obsolete_option(const JavaVMOption *option); |
740 |
|
741 // Read file line by line. If line is longer than bsize, |
|
742 // rest of line is skipped. Returns number of bytes read or -1 on EOF |
|
743 static int get_line_chars(int fd, char *buf, const size_t bsize); |
|
744 |
740 |
745 // Extensions |
741 // Extensions |
746 #include "runtime/os_ext.hpp" |
742 #include "runtime/os_ext.hpp" |
747 |
743 |
748 public: |
744 public: |