8269678: Remove unimplemented and unused os::bind_to_processor()

Reviewed-by: dcubed
This commit is contained in:
Zhengyu Gu 2021-06-30 19:52:39 +00:00
parent 83bce94cc8
commit 5c08344b64
5 changed files with 0 additions and 24 deletions

View File

@ -2512,11 +2512,6 @@ void os::set_native_thread_name(const char *name) {
return; return;
} }
bool os::bind_to_processor(uint processor_id) {
// Not yet implemented.
return false;
}
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// debug support // debug support

View File

@ -2165,11 +2165,6 @@ void os::set_native_thread_name(const char *name) {
#endif #endif
} }
bool os::bind_to_processor(uint processor_id) {
// Not yet implemented.
return false;
}
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// debug support // debug support

View File

@ -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 // debug support

View File

@ -971,11 +971,6 @@ void os::set_native_thread_name(const char *name) {
} __except(EXCEPTION_EXECUTE_HANDLER) {} } __except(EXCEPTION_EXECUTE_HANDLER) {}
} }
bool os::bind_to_processor(uint processor_id) {
// Not yet implemented.
return false;
}
void os::win32::initialize_performance_counter() { void os::win32::initialize_performance_counter() {
LARGE_INTEGER count; LARGE_INTEGER count;
QueryPerformanceFrequency(&count); QueryPerformanceFrequency(&count);

View File

@ -278,10 +278,6 @@ class os: AllStatic {
return _initial_active_processor_count; 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. // Give a name to the current thread.
static void set_native_thread_name(const char *name); static void set_native_thread_name(const char *name);