Skip to content
Permalink
Browse files
8269678: Remove unimplemented and unused os::bind_to_processor()
Reviewed-by: dcubed
  • Loading branch information
zhengyu123 committed Jun 30, 2021
1 parent 83bce94 commit 5c08344b646b92f3357a0daf32e77b21da5859ec
Showing 5 changed files with 0 additions and 24 deletions.
@@ -2512,11 +2512,6 @@ void os::set_native_thread_name(const char *name) {
return;
}

bool os::bind_to_processor(uint processor_id) {
// Not yet implemented.
return false;
}

////////////////////////////////////////////////////////////////////////////////
// debug support

@@ -2165,11 +2165,6 @@ void os::set_native_thread_name(const char *name) {
#endif
}

bool os::bind_to_processor(uint processor_id) {
// Not yet implemented.
return false;
}

////////////////////////////////////////////////////////////////////////////////
// debug support

@@ -4785,11 +4785,6 @@ void os::set_native_thread_name(const char *name) {
}
}

bool os::bind_to_processor(uint processor_id) {
// Not yet implemented.
return false;
}

////////////////////////////////////////////////////////////////////////////////
// debug support

@@ -971,11 +971,6 @@ void os::set_native_thread_name(const char *name) {
} __except(EXCEPTION_EXECUTE_HANDLER) {}
}

bool os::bind_to_processor(uint processor_id) {
// Not yet implemented.
return false;
}

void os::win32::initialize_performance_counter() {
LARGE_INTEGER count;
QueryPerformanceFrequency(&count);
@@ -278,10 +278,6 @@ class os: AllStatic {
return _initial_active_processor_count;
}

// Binds the current process to a processor.
// Returns true if it worked, false if it didn't.
static bool bind_to_processor(uint processor_id);

// Give a name to the current thread.
static void set_native_thread_name(const char *name);

0 comments on commit 5c08344

Please sign in to comment.