File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 3030// os::Linux defines the interface to Linux operating systems
3131
3232class os ::Linux {
33- friend class CgroupSubsystem ;
3433 friend class os ;
35- friend class OSContainer ;
3634 friend class TestReserveMemorySpecial ;
3735
3836 static int (*_pthread_getcpuclockid)(pthread_t , clockid_t *);
@@ -59,7 +57,6 @@ class os::Linux {
5957 static julong available_memory ();
6058 static julong free_memory ();
6159
62- static int active_processor_count ();
6360
6461 static void initialize_system_info ();
6562
@@ -109,6 +106,7 @@ class os::Linux {
109106 bool has_steal_ticks;
110107 };
111108
109+ static int active_processor_count ();
112110 static void kernel_version (long * major, long * minor);
113111
114112 // which_logical_cpu=-1 returns accumulated ticks for all cpus.
You can’t perform that action at this time.
0 commit comments