New in Squeak 6.1: Squeak now includes #ephemerons, which support efficient pre-...
Squeak/Smalltalk @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: https://try.squeak.org/#url=images&zip=Squeak6.1.zip&wizard=false&demo=true&navigateToReleaseNotes=true&argv=%5B%22squeakjs%22%2C%22squeak.image%22%2C%22--doit%22%2C%22%28TextURL%20new%20url%3A%20%27code%3A%2F%2FToolSet%20browseClassCommentOf:%20Ephemeron%27%29%20future%20actOnClickFor%3A%20nil%22%5D