hotspot/src/share/vm/runtime/os.hpp
changeset 19697 d55ba95422d7
parent 19560 d44eb8cd7ecc
parent 19694 84bcddefd0d7
child 20011 d74937287461
child 19986 33d188c66ed9
child 19952 bc974e92f881
equal deleted inserted replaced
19678:dee3b9716682 19697:d55ba95422d7
   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: