hotspot/src/share/vm/runtime/os.hpp
changeset 19694 84bcddefd0d7
parent 19546 f6b7c9e96ea3
child 19697 d55ba95422d7
equal deleted inserted replaced
19692:43c74e9cf560 19694:84bcddefd0d7
   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: