Ticket #1005 (closed defect: fixed)
delay starting threads
|Reported by:||rme||Owned by:||gb|
|Component:||Runtime (threads, GC)||Version:||trunk|
When using a trunk darwinx8664 lisp at r15433 on Mountain Lion, slime often takes tens of seconds to start up.
At a quick first glance, I observe that allocate_tcr() often ends up looping hundreds of thousands, or even millions, of times before it gets a TCR that has a suitable address to use as a Mach port name.
Slime creates several threads at a startup, and usually a few of them end up taking a while to get going. Crudely instrumenting allocate_tcr() shows that the time to find a suitable port name can take anywhere from under a second to 20 seconds or more.
- Owner changed from rme to gb
- Status changed from new to assigned