Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions src/hotspot/os/linux/os_linux.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@
// os::Linux defines the interface to Linux operating systems

class os::Linux {
friend class CgroupSubsystem;
friend class os;
friend class OSContainer;

static int (*_pthread_getcpuclockid)(pthread_t, clockid_t *);
static int (*_pthread_setname_np)(pthread_t, const char*);
Expand All @@ -58,7 +56,6 @@ class os::Linux {
static julong available_memory();
static julong free_memory();

static int active_processor_count();

static void initialize_system_info();

Expand Down Expand Up @@ -93,6 +90,7 @@ class os::Linux {
bool has_steal_ticks;
};

static int active_processor_count();
static void kernel_version(long* major, long* minor);

// which_logical_cpu=-1 returns accumulated ticks for all cpus.
Expand Down