8311921: Inform about MaxExpectedDataSegmentSize in case of pthread_create failures on AIX
Reviewed-by: jbechberger, stuefe
This commit is contained in:
parent
753bd563ec
commit
aa7367f1ec
@ -828,7 +828,8 @@ bool os::create_thread(Thread* thread, ThreadType thr_type,
|
||||
log_warning(os, thread)("Failed to start thread \"%s\" - pthread_create failed (%d=%s) for attributes: %s.",
|
||||
thread->name(), ret, os::errno_name(ret), os::Posix::describe_pthread_attr(buf, sizeof(buf), &attr));
|
||||
// Log some OS information which might explain why creating the thread failed.
|
||||
log_info(os, thread)("Number of threads approx. running in the VM: %d", Threads::number_of_threads());
|
||||
log_warning(os, thread)("Number of threads approx. running in the VM: %d", Threads::number_of_threads());
|
||||
log_warning(os, thread)("Checking JVM parameter MaxExpectedDataSegmentSize (currently " SIZE_FORMAT "k) might be helpful", MaxExpectedDataSegmentSize/K);
|
||||
LogStream st(Log(os, thread)::info());
|
||||
os::Posix::print_rlimit_info(&st);
|
||||
os::print_memory_info(&st);
|
||||
|
Loading…
Reference in New Issue
Block a user