src/share/vm/runtime/os.hpp

changeset 5612
d8e99408faad
parent 5578
4c84d351cca9
child 5615
c636758ea616
equal deleted inserted replaced
5610:76482cbba706 5612:d8e99408faad
722 // System loadavg support. Returns -1 if load average cannot be obtained. 722 // System loadavg support. Returns -1 if load average cannot be obtained.
723 static int loadavg(double loadavg[], int nelem); 723 static int loadavg(double loadavg[], int nelem);
724 724
725 // Hook for os specific jvm options that we don't want to abort on seeing 725 // Hook for os specific jvm options that we don't want to abort on seeing
726 static bool obsolete_option(const JavaVMOption *option); 726 static bool obsolete_option(const JavaVMOption *option);
727
728 // Read file line by line. If line is longer than bsize,
729 // rest of line is skipped. Returns number of bytes read or -1 on EOF
730 static int get_line_chars(int fd, char *buf, const size_t bsize);
731 727
732 // Extensions 728 // Extensions
733 #include "runtime/os_ext.hpp" 729 #include "runtime/os_ext.hpp"
734 730
735 public: 731 public:

mercurial