Hi Ray,

Welcome to Terracotta !

These threads that you are talking about are SEDA stage threads and they 
do various work in the SEDA assembly. Look at 
DistributedObjectClient.start() method where most of the bootstrapping 
happens. Specifically at line 320 where it does

stageManager.startAll(cc);

which inturn starts all the stage threads.

cheers,
Saravanan

邱睿 wrote:
> Hey, guys
> I'm new in terracotta project. Here's a problem for me while reading 
> terracotta src during these days.
> The case is while the terracotta client jvm is running, I saw several 
> threads created by terracotta in debug mode. I think these threads 
> were used to communicate with terracotta server or do other things. At 
> the same time I'm puzzled by how are these threads being created.
> In terracotta client, we use -Xbootclasspath to inject our methods 
> while loading classes. I know we use aspectwerkz and asm to weave 
> codes but I cannot find the exact source codes in terractta src about 
> how the threads are created on client jvm starting time.
> Can anybody give me a hint on how we do this on client jvm starting time?
> Thx & Br.
> Ray
> ------------------------------------------------------------------------
>
> _______________________________________________
> tc-dev mailing list
> [email protected]
> http://lists.terracotta.org/mailman/listinfo/tc-dev
>   

_______________________________________________
tc-dev mailing list
[email protected]
http://lists.terracotta.org/mailman/listinfo/tc-dev

Reply via email to