<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br></div><div>I modify the variable in the method "clonePreStartup".</div><div>So, it works fine.</div><div><br></div><div>=====</div><div><div>!SystemTracer2 methodsFor: 'clone startup' stamp: 'ajh 8/22/2002 11:15'!</div><div>clonePreStartup</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>"This will be executed right away when the new clone starts up, before processStartup. &nbsp;Subclasses may want to rehash all objects or something"</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>SystemDictionary wordSize: self wordSize.! !</div><div>=====</div><div><br></div><div>Now, there are some tests which does not pass.</div><div>So, I will publish the code and the pharoImage64, and with the community, we can check this.</div><div><br></div><div>Cheers,</div><div>Jannik&nbsp;</div><div><br></div><div><br><div><div>On Dec 17, 2009, at 02:32 , John M McIntosh wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Ok, well I created Mantis&nbsp;<div><a href="http://bugs.squeak.org/view.php?id=7430">http://bugs.squeak.org/view.php?id=7430</a></div><div>to document.&nbsp;</div><div><br></div><div>Personally I would do&nbsp;</div><div>Smalltalk wordSize</div><div>versus&nbsp;</div><div>SystemDictionary wordSize</div><div><br></div><div>Also the issue is when to change the WordSize variable.&nbsp;</div><div><br></div><div>I think in&nbsp;</div><div>SmalltalkImage&gt;&gt;snapshot: andQuit: embedded: &nbsp;</div><div>right at the&nbsp;</div><div><div><span class="Apple-tab-span" style="white-space:pre">                </span>ifTrue: [self quitPrimitive].</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>Cursor normal show.</div><div>you want to set things so that wordSize is reset.&nbsp;</div><div><br></div><div>At quit time you could do the reset before the&nbsp;</div><div>"self quitPrimitive"</div><div>then you know the value is reset and needs to be recalculated at startup time.&nbsp;</div><div>or you can reset it before the</div><div><span class="Apple-tab-span" style="white-space: pre; ">        </span>Cursor normal show.</div><div>which runs after startup time</div><div><br></div><div>Somehow I think there is more risk resetting it after startup since I'm not sure&nbsp;</div><div>when something could leap in wanting a valid value.&nbsp;</div><div><br></div><div><br></div><div><br></div><div><div>On 2009-12-16, at 2:44 PM, Laval Jannik wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi Eliot, hi John,<div><br></div><div>This is what I do:</div><div>- create a class var in SystemDictionary</div><div>- accessors (wordSize and wordSize:), the first one can initialize the variable if nil, the second is to modify the value in case of 64bits image.</div><div>Maybe the second one could be integrated in&nbsp;System-Tracing file.</div><div>- in CompiledMethod, initialPC use it.</div><div><br></div><div>Maybe we could integrate it in pharoCore.</div><br class="Apple-interchange-newline"></blockquote></div><br><div>
<span class="Apple-style-span" style="font-size: 12px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">--</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">===========================================================================</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">John M. McIntosh &lt;<a href="mailto:johnmci@smalltalkconsulting.com">johnmci@smalltalkconsulting.com</a>&gt; &nbsp; Twitter: &nbsp;squeaker68882</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Corporate Smalltalk Consulting Ltd.&nbsp;&nbsp;<a href="http://www.smalltalkconsulting.com/">http://www.smalltalkconsulting.com</a></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">===========================================================================</font></div><div><br></div></div></div></div></div></div></span></div></span><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br></div></div></blockquote></div><br>
<br></div></div></body></html>