src/share/vm/runtime/os.hpp

changeset 6240
9b4ce069642e
parent 5615
c636758ea616
child 5667
38f750491293
child 5701
40136aa2cdb1
child 5726
69f26e8e09f9
equal deleted inserted replaced
6239:2a907fd129cb 6240:9b4ce069642e
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:

mercurial