We provide complete mobile and web apps development solutions

Thursday, February 7, 2013

Internal Flow of Threads or Thread Model

    whenever we write multi threading application, it contains multiple flow of controls.
All the flow controls follow the sequence steps at execution time.


Java programs starts execution by loading .class file

JVM creates a background thread and will reside in main.

Background thread creates various foreground threads and dispatches to their run to execute and result back to background and will handover to garbage.
Background thread gives back to program.
JVM collects background thread and will handover to Garbage collector.
Java program stops its execution.

0 coment�rios:

Post a Comment

Online Training

Your Name :
Your Email: (required)
Your Message: (required)

Powered by Blogger.

Recent Posts

Find Us On Facebook

Popular Posts