Meaningless Drivel is fun!
The moose likes Java in General and the fly likes Light weight process Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Light weight process" Watch "Light weight process" New topic

Light weight process

Kaustubh G Sharma
Ranch Hand

Joined: May 13, 2010
Posts: 1281

What makes a thread a light weight process.. what are it's characterstics which made it different from a process?

No Kaustubh No Fun, Know Kaustubh Know Fun..
Ivan Jozsef Balazs

Joined: May 22, 2012
Posts: 969
Java Threads (and in general threads) are separate execution threads in the same address space.

What "lightweight process" is, besides being maybe a synonym to thread, I do not know.
Marco Ehrentreich
best scout

Joined: Mar 07, 2007
Posts: 1294

Just have a look at section 'How threads differ from processes' in this Wikpedia article about threads. It describes why threads are often called 'lightweight process'.

Kaustubh G Sharma
Ranch Hand

Joined: May 13, 2010
Posts: 1281

Thanks guys
I agree. Here's the link:
subject: Light weight process
It's not a secret anymore!