dcsimg
How are objects passed by value to a function garbage collected
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Faizur_Rehman
Posted On:   Wednesday, March 5, 2003 03:02 AM

I developed an application using java, since i have developed GUIs separetely as modules as i keep changing from one module to another my system slows down completely and then hangs after sometime I think this is the problem of passing objects by value which go on multiplying since they are not destroyed

Re: How are objects passed by value to a function garbage collected

Posted By:   Andrew_Wall  
Posted On:   Thursday, March 6, 2003 06:49 AM

The only thing passed by value in Java are primitives; objects may not be passed by value. This was an intential effort to avoid the type of scenario that you posed. I would look elsewhere in determining what may be causing your application to consume resources.
About | Sitemap | Contact