WebApp Sec mailing list archives

Re: secure storage of sensitive data in J2EE


From: Alexander Klimov <alserkli () inbox ru>
Date: Thu, 10 Feb 2005 12:59:07 +0200 (IST)

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


Current thread: