Re: How are objects passed by value to a function garbage collected
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.