New in Squeak 6.1: Squeak now includes #ephemerons, which support efficient pre-...

@squeak@fosstodon.org

New in Squeak 6.1:

Squeak now includes #ephemerons, which support efficient pre-mortem finalization of objects. Ephemerons are powered through a new mourner queue that the #OpenSmalltalkVM maintains during garbage collection.

By using an EphemeronIdentityDictionary instead of a weak dictionary, weak indirect cyclic dependencies (e.g., in reciprocal observers) can now be properly GC'ed.

For details, check out the docs in the image: try.squeak.org/#url=images&zip

#Programming #SoftwareEngineering