[prev in list] [next in list] [prev in thread] [next in thread] 

List:       secprog
Subject:    Re: secure storage of sensitive data in J2EE
From:       Alexander Klimov <alserkli () inbox ! ru>
Date:       2005-02-10 10:59:07
Message-ID: TheMailAgent.7ea7f06fbbdfa () 2b59b55624519080cf4c
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic