[Pkg] The Trunk: Kernel-eem.1273.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Oct 8 19:59:38 UTC 2019

Eliot Miranda uploaded a new version of Kernel to project The Trunk:

==================== Summary ====================

Name: Kernel-eem.1273
Author: eem
Time: 8 October 2019, 12:59:35.689325 pm
UUID: 50bfe346-15d7-4aa9-ba69-0c21d3d8d011
Ancestors: Kernel-mt.1272

Add a method that documents the postRecompileAction convention for rebuilding state affected by a Compiler recompileAll.

=============== Diff against Kernel-mt.1272 ===============

Item was added:
+ ----- Method: Object class>>postRecompileAction (in category 'documentation') -----
+ postRecompileAction
+ 	"This is a stub method to document the convention for reinitializing state at the end of Compiler recompileAll.
+ 	 The issue is that after recompiling all methods, processes or blocks could remain that refer to old methods,
+ 	 and that somehow those processes should be restarted and objects referring to blocks rebuilt.  For example,
+ 	 PluggableDictionary integerDictionary creates a PluggableDictionary with a hashBlock that refers to the
+ 	 PluggableDictionary class>>#integerDictionary method.  Users of PluggableDictionary integerDictionary can
+ 	 rebuild structures containing it after recompile by implementing thsi method to do so.  Compiler will then
+ 	 invoke any and all such methods after recompileAll."
+ 	^self!

More information about the Packages mailing list