dcsimg
Does garbage collector run concurrently with another threads?
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Friday, June 7, 2002 01:12 AM

I want to know if applications threads stop executing while the garbage collector is running.


Thank you in advance.

Re: Does garbage collector run concurrently with another threads?

Posted By:   Zac_Jacobson  
Posted On:   Wednesday, July 3, 2002 12:28 PM

If you have a single-processor machine, yes. Even if you have a multi-processor machine, you'd have to have a Java implementation that will take advantage of this for it to run concurrently.

That said, your threads may be put aside at any time for the garbage collector to run.

Cheers
Zac

Re: Does garbage collector run concurrently with another threads?

Posted By:   Les_Jones  
Posted On:   Thursday, June 13, 2002 10:10 AM

Can do, but may not.



The detail of how the garbage collector works are implementation specific.
About | Sitemap | Contact