src/os/linux/vm/os_linux.cpp

changeset 3202
436b4a3231bf
parent 3162
5d871c1ff17c
child 3281
36b057451829
equal deleted inserted replaced
3201:2ef3386478e6 3202:436b4a3231bf
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

mercurial