Re: secure storage of sensitive data in J2EE

Alexander Klimov <[email protected]> Thu, 10 Feb 2005 12:59:07 +0200 (IST)
Newsgroups gmane.comp.security.web-applications,gmane.comp.security.programming
Message-ID <TheMailAgent.7ea7f06fbbdfa@2b59b55624519080cf4c>
On Wed, 9 Feb 2005, Randy wrote:

> 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?

I guess that the main purpose is for "real-time" applications, e.g.,
UI can afford to wait .1 seconds after some user actions, but it will
be great trouble to explain to the user why suddently the system is
frozen for 5 seconds, and, sure, real real-time applications are more
demanding. Note that since gc calls does not affect any program
visible functionality (except timing) VM is allowed to interprete them
as a hint, which does not mean that it do ignore them.

-- 
Regards,
ASK