Server Smalltalk Guide : Distributed garbage collection : Installation, startup and shutdown
Installation, startup and shutdown
The following is an example of DGC installation which works regardless of whether SstDistributedGCCoordination is loaded in the local image. Note, it must however be loaded in the space specified by coordinatorSpace.
(SstDgcConfiguration new
instantiateIn: context coordinatorSpace: coordinatorSpace) startUp
instantiateIn:coordinatorSpace: accepts either a space name or an actual space for the @coordinatorSpace and returns an instance of SstDgc. Note that instantiating an SstDgc is different from starting it. You must hold on to the SstDgc until ready to start it. Once a DGC has been started, it is shut down using shutDown as shown below. Once the DGC system has been started, SST maintains a reference to the created SstDgc but once it is shut down, this reference is removed.
(SstDgc for: context) shutDown
Last modified date: 01/29/2015