This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Regarding garbage collector Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Regarding garbage collector " Watch "Regarding garbage collector " New topic

Regarding garbage collector

praveen raaj

Joined: Nov 30, 2009
Posts: 11
Hi.... Friends,
The garbage collector is under control of JVM.and JVM decides when to run the garbage collector.
My Question is garbage collector is a part of heap? or some where in JVM Architecture?
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 45348
Not on the heap. It is a program whihc runs in its own thread as a part of the JVM.
I agree. Here's the link:
subject: Regarding garbage collector
It's not a secret anymore!