equal
deleted
inserted
replaced
3475 fatal("Could not enable polling page"); |
3475 fatal("Could not enable polling page"); |
3476 } |
3476 } |
3477 } |
3477 } |
3478 |
3478 |
3479 int os::active_processor_count() { |
3479 int os::active_processor_count() { |
|
3480 // User has overridden the number of active processors |
|
3481 if (ActiveProcessorCount > 0) { |
|
3482 log_trace(os)("active_processor_count: " |
|
3483 "active processor count set by user : %d", |
|
3484 ActiveProcessorCount); |
|
3485 return ActiveProcessorCount; |
|
3486 } |
|
3487 |
3480 return _processor_count; |
3488 return _processor_count; |
3481 } |
3489 } |
3482 |
3490 |
3483 void os::set_native_thread_name(const char *name) { |
3491 void os::set_native_thread_name(const char *name) { |
3484 #if defined(__APPLE__) && MAC_OS_X_VERSION_MIN_REQUIRED > MAC_OS_X_VERSION_10_5 |
3492 #if defined(__APPLE__) && MAC_OS_X_VERSION_MIN_REQUIRED > MAC_OS_X_VERSION_10_5 |