Mercurial > hg > graal-compiler
comparison src/share/vm/runtime/os.hpp @ 12147:c636758ea616
Merge
author | dcubed |
---|---|
date | Fri, 30 Aug 2013 07:04:42 -0700 |
parents | 62f527c674d2 d8e99408faad |
children | 38f750491293 40136aa2cdb1 69f26e8e09f9 |
comparison
equal
deleted
inserted
replaced
12128:c169f7038414 | 12147:c636758ea616 |
---|---|
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: |