Mercurial > hg > graal-jvmci-8
comparison src/os/linux/vm/os_linux.cpp @ 4006:436b4a3231bf
7098194: integrate macosx-port changes
Summary: Integrate bsd-port/hotspot and macosx-port/hotspot changes as of 2011.09.29.
Reviewed-by: kvn, dholmes, never, phh
Contributed-by: Christos Zoulas <christos@zoulas.com>, Greg Lewis <glewis@eyesbeyond.com>, Kurt Miller <kurt@intricatesoftware.com>, Alexander Strange <astrange@apple.com>, Mike Swingler <swingler@apple.com>, Roger Hoover <rhoover@apple.com>, Victor Hernandez <vhernandez@apple.com>, Pratik Solanki <psolanki@apple.com>
author | dcubed |
---|---|
date | Thu, 13 Oct 2011 09:35:42 -0700 |
parents | 5d871c1ff17c |
children | 36b057451829 |
comparison
equal
deleted
inserted
replaced
4005:2ef3386478e6 | 4006: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 |