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.
[junit] Running playground.StandardTestCase INFO ] (testcase): Creating a bunch of hello instance INFO ] (template.hello): initialization as: 6829042 INFO ] (template.hello): initialization as: 26030331 INFO ] (template.hello): initialization as: 9089167 INFO ] (template.hello): initialization as: 21860890 INFO ] (template.hello): initialization as: 28517927 INFO ] (testcase): running gc INFO ] (template.hello): disposal: 6829042 INFO ] (template.hello): disposal: 26030331 INFO ] (template.hello): disposal: 9089167 INFO ] (template.hello): disposal: 21860890 INFO ] (template.hello): disposal: 28517927 INFO ] (testcase): gc done [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.109 sec
Note that this is achieved *without* invoking release( object ).
Am now looking into achiving the same thing with pooled objectes.
Cheers, Steve.
--
Stephen J. McConnell mailto:[EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
