<div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000;text-align: left" dir="ltr">
                                        Here are the two options in an exapmle:<div><br></div><div><img id="9489427d-726d-412f-9850-6c2ec62bc9c8" src="cid:96ea598e-8551-44ae-8472-e87b1efbb447" width="706" height="451"></img><br></div><div class="mb_sig"></div>
                                        <blockquote class="history_container" type="cite" style="border-left-style: solid;border-width: 1px;margin-top: 20px;margin-left: 0px;padding-left: 10px;min-width: 500px">
                        <p style="color: #AAAAAA; margin-top: 10px;">Am 19.04.2021 17:48:03 schrieb commits@source.squeak.org <commits@source.squeak.org>:</p><div style="font-family:Arial,Helvetica,sans-serif">A new version of Kernel was added to project The Inbox:<br>http://source.squeak.org/inbox/Kernel-mt.1390.mcz<br><br>==================== Summary ====================<br><br>Name: Kernel-mt.1390<br>Author: mt<br>Time: 19 April 2021, 5:47:51.865053 pm<br>UUID: c36ac126-16de-3d41-be90-6b7fd46bc0c7<br>Ancestors: Kernel-nice.1389<br><br>Proposal. Better support for hot code updates by restarting from a denoted (i.e. domain-specific) context (or active method). For example, this could be used to better update the McmUpdater as soon as a code change in itself is detected. Two options: either mark the restart context with an on:do: handler or process a query to look up that context such as by package name.<br><br>=============== Diff against Kernel-nice.1389 ===============<br><br>Item was added:<br>+ Notification subclass: #RestartContextRequest<br>+     instanceVariableNames: ''<br>+    classVariableNames: ''<br>+       poolDictionaries: ''<br>+         category: 'Kernel-Exceptions'!<br><br>Item was added:<br>+ ----- Method: RestartContextRequest class>>fromContextSuchThat: (in category 'as yet unclassified') -----<br>+ fromContextSuchThat: block<br>+   "Use this to restart from an arbitrary context on the stack."<br>+ <br>+  | context |<br>+  context := thisContext sender.<br>+       [context notNil] whileTrue: [<br>+                (block value: context) ifTrue: [<br>+                     ^ self new restartFrom: context].<br>+            context := context sender].<br>+  self error: 'No context found!!'.!<br><br>Item was added:<br>+ ----- Method: RestartContextRequest>>restartFrom: (in category 'as yet unclassified') -----<br>+ restartFrom: aContext<br>+ <br>+      | process actualContext unwindError |<br>+        aContext ifNil: [^ self error: 'No context to restart!!'].<br>+ <br>+       process := Processor activeProcess.<br>+ <br>+      [actualContext := process popTo: aContext.<br>+   unwindError := actualContext ~= aContext.<br>+    unwindError<br>+          ifTrue: [process resume]<br>+             ifFalse: [process restartTop; stepToSendOrReturn; resume]<br>+    ] fork.<br>+ <br>+  process suspend.!<br><br>Item was added:<br>+ ----- Method: RestartContextRequest>>restartFromHere (in category 'as yet unclassified') -----<br>+ restartFromHere<br>+      "Use this to restart from an exception handler."<br>+   self restartFrom: handlerContext.!<br><br><br></div></blockquote></div>