Commit 12d060a 1 parent 0cfd08f commit 12d060a Copy full SHA for 12d060a
File tree 1 file changed +1
-3
lines changed
1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 30
30
// os::Linux defines the interface to Linux operating systems
31
31
32
32
class os ::Linux {
33
- friend class CgroupSubsystem ;
34
33
friend class os ;
35
- friend class OSContainer ;
36
34
37
35
static int (*_pthread_getcpuclockid)(pthread_t , clockid_t *);
38
36
static int (*_pthread_setname_np)(pthread_t , const char *);
@@ -58,7 +56,6 @@ class os::Linux {
58
56
static julong available_memory ();
59
57
static julong free_memory ();
60
58
61
- static int active_processor_count ();
62
59
63
60
static void initialize_system_info ();
64
61
@@ -93,6 +90,7 @@ class os::Linux {
93
90
bool has_steal_ticks;
94
91
};
95
92
93
+ static int active_processor_count ();
96
94
static void kernel_version (long * major, long * minor);
97
95
98
96
// which_logical_cpu=-1 returns accumulated ticks for all cpus.
You can’t perform that action at this time.
0 commit comments