The imports used in the .java file is *only* used at compile time. The compilator then generates a list with only the needed classes. More than that, the classes are loaded at runtime as they are needed. In conclusion, changing the import statements doesn't have any implication at runtime.
 
Cheers,
 
Florin
-----Ursprüngliche Nachricht-----
Von: hterrolle [mailto:[EMAIL PROTECTED]
Gesendet: Sonntag, 30. März 2003 13:59
An: [EMAIL PROTECTED]
Betreff: Re: [JAVA3D] Memory Problem

hi saaci,
 
all right. I just ask one question. can i improve my application by importing only the class i nedd
  java.io.file rather than java.io.*
 
thank you
 
PS: i read about improving gargave collector but my system does not allow to set garbage timer wake up
-----Message d'origine-----
De : Isaac Brobbey <[EMAIL PROTECTED]>
À : [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date : dimanche 30 mars 2003 04:04
Objet : [JAVA3D] Memory Problem

 

 

 

Hi Hrotelle,

 

 

Unreferenced Objects are Garbage Collected Automatically

Memory is freed for Later Reuse

Garbage Collection runs in a Low Priority Thread, either synchronously or asynchronously

The finalize () Method is Inherited from Object and can be Overridden to Liberate Resources

 

 

Isaac Brobbey

Java2 & Java3D

MS/CIT Project

Reply via email to