4355 int online_cpus = ::sysconf(_SC_NPROCESSORS_ONLN); |
4355 int online_cpus = ::sysconf(_SC_NPROCESSORS_ONLN); |
4356 assert(online_cpus > 0 && online_cpus <= processor_count(), "sanity check"); |
4356 assert(online_cpus > 0 && online_cpus <= processor_count(), "sanity check"); |
4357 return online_cpus; |
4357 return online_cpus; |
4358 } |
4358 } |
4359 |
4359 |
|
4360 void os::set_native_thread_name(const char *name) { |
|
4361 // Not yet implemented. |
|
4362 return; |
|
4363 } |
|
4364 |
4360 bool os::distribute_processes(uint length, uint* distribution) { |
4365 bool os::distribute_processes(uint length, uint* distribution) { |
4361 // Not yet implemented. |
4366 // Not yet implemented. |
4362 return false; |
4367 return false; |
4363 } |
4368 } |
4364 |
4369 |