Re: does visad have garbage collection

Hi

The task of garbage collection is a part if Java language, and thus, any
API written on top of the Java language will have garbage collection. All
dereferenced objects will eventually be collected. Refer to the Java
Language Specification (chapter 12.6) for more info on how it works.

Actually, programmers can only affect garbage collection with the method
calls System.gc() and System.runFinalization(), which tell the Virtual
Machine. You have no way of explicitly deleting an object as you have in
C/C++.

Hope that ansers your question.

Gunnar




                                                                                
                                   
                    "chan zhou"                                                 
                                   
                    <chan_zhou@hotmail.c        To:     
visad-list@xxxxxxxxxxxxx                                   
                    om>                         cc:                             
                                   
                    Sent by:                    Subject:     does visad have 
garbage collection                    
                    owner-visad-list@sse                                        
                                   
                    c.wisc.edu                                                  
                                   
                                                                                
                                   
                                                                                
                                   
                    30/04/2001 02:51                                            
                                   
                                                                                
                                   
                                                                                
                                   




Hi,

I was wondering if visad have garbage collection? Does it do the garbage
collection automatically or does the programmer have to do the cleaning?


Thank you,

Chan Zhou


_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.






  • 2001 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: