Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | RE: secure storage of sensitive data in J2EE |
|---|---|
| Date: | Thu, 10 Feb 2005 10:16:48 +1100 |
Hi Randy,
I've always wondered what the point of a System.gc() was... what applications would calling System.gc() be useful if the JVM has the right to choose wether or not it gets called?
It's _hinting_ to the system that it might be appropriate to run gc now. As for under what circumstances it might take notice, the java documentation might help you more. A useful scenario is if you are about to allocate a large amount of memory, and you'd like to free up space from objects you declared earlier (and out of scope).
Does anyone know of an actual useful implementation of System.gc()?
Do you ever run out of memory in your java programs? (and it's not your fault?) Then Sun's implementation is useful :) -- Michael
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: secure storage of sensitive data in J2EE, Randy |
|---|---|
| Next by Date: | Re: secure storage of sensitive data in J2EE, Nick Seward |
| Previous by Thread: | Re: secure storage of sensitive data in J2EE, Alexander Klimov |
| Next by Thread: | Insecure Programming Examples, luiX_ |
| Indexes: | [Date] [Thread] [Top] [All Lists] |