< prev index next > src/hotspot/os/solaris/os_solaris.cpp
Print this page
board += 1;
if (board * processors_per_board + 0 >= limit_id) {
board = 0;
}
}
! if (available_id != NULL) {
- FREE_C_HEAP_ARRAY(bool, available_id);
- }
return true;
}
void os::set_native_thread_name(const char *name) {
if (Solaris::_pthread_setname_np != NULL) {
board += 1;
if (board * processors_per_board + 0 >= limit_id) {
board = 0;
}
}
! FREE_C_HEAP_ARRAY(bool, available_id);
return true;
}
void os::set_native_thread_name(const char *name) {
if (Solaris::_pthread_setname_np != NULL) {
result = assign_distribution(id_array, id_length, distribution, length);
} else {
result = false;
}
}
! if (id_array != NULL) {
- FREE_C_HEAP_ARRAY(processorid_t, id_array);
- }
return result;
}
bool os::bind_to_processor(uint processor_id) {
// We assume that a processorid_t can be stored in a uint.
result = assign_distribution(id_array, id_length, distribution, length);
} else {
result = false;
}
}
! FREE_C_HEAP_ARRAY(processorid_t, id_array);
return result;
}
bool os::bind_to_processor(uint processor_id) {
// We assume that a processorid_t can be stored in a uint.
< prev index next >