Leo Simons wrote:

Stephen McConnell wrote:

Recent updates to the Merlin platform in CVS include support for
auto-decomissioning of components that are no longer referenced.
The following log is a very simple demonstration testcase that
creates a bunch of non-referenced components, invokes the garbage
collector, and logs the resulting component decommissioning by
Merlin.


what about 'active' components that are not referenced? Like a socket server?


Three policies are defined LIBERAL, DEMOCRAT, and CONSERVATIVE.

* A LIBERAL component will be decommissioned when there are no
 references to the component

* A DEMOCRAT component will stick around even if there are no
 references, except if there is memory contentention in which
 case it will be decommission in order to avoid an OutOfMemory
 condition

* A CONSERVATIVE component is just plain stubborn - it will
 stay around even if that means memory contention and probably
 failure of the system.

An active component such as a socket server would declare a CONSERVATIVE policy.

Cheers, Steve.



- LSD



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--


Stephen J. McConnell
mailto:[EMAIL PROTECTED]




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to