[squeak-dev] Re: [ANN] Hydra VM: A multi-core capable Croquet VM

John M McIntosh johnmci at smalltalkconsulting.com
Fri Feb 22 22:05:16 UTC 2008


On Feb 22, 2008, at 11:12 AM, Andreas Raab wrote:
>
> We have this already. It's called an image segment.
>
> Cheers,
>  - Andreas


Er if you have any fixes or say a technical note talking about how to  
store/read objects using an image segment that would be good. .

I'll note in Sophie we use image segments to store the font example  
image cache between restarts that has never given us a problem,
and we were storing a collection of Assocations where the key was a  
string and the value a Form. This worked oh 99.99% of the time
but the 0.01% failure rate made us pull the feature and now we write  
the data directly to a file.

Yes I guess I should make a mantis report

http://bugs.squeak.org/view.php?id=6944

1/26/08 1:46:46 AM [0x0-0xae0ae0].org.sophieproject.sophie[27135]  
Recursive not understood error encountered
1/26/08 1:46:46 AM [0x0-0xae0ae0].org.sophieproject.sophie[27135]  
482693636 ImageSegment>restoreEndianness
1/26/08 1:46:46 AM [0x0-0xae0ae0].org.sophieproject.sophie[27135]  
482692604 ImageSegment>comeFullyUpOnReload:
1/26/08 1:46:46 AM [0x0-0xae0ae0].org.sophieproject.sophie[27135]  
473153124 DataStream>next
1/26/08 1:46:46 AM [0x0-0xae0ae0].org.sophieproject.sophie[27135]  
473153032 ReferenceStream>next
1/26/08 1:46:46 AM [0x0-0xae0ae0].org.sophieproject.sophie[27135]  
473148616 SmartRefStream>next
1/26/08 1:46:46 AM [0x0-0xae0ae0].org.sophieproject.sophie[27135]  
472929900 SmartRefStream>scanFrom:
1/26/08 1:46:46 AM [0x0-0xae0ae0].org.sophieproject.sophie[27135]  
472929380 ObjectScanner>scanFrom:
1/26/08 1:46:46 AM [0x0-0xae0ae0].org.sophieproject.sophie[27135]  
472929160 [] in PositionableStream>fileInAnnouncing:
1/26/08 1:46:46 AM [0x0-0xae0ae0].org.sophieproject.sophie[27135]  
472929056 BlockContext>on:do:
1/26/08 1:46:46 AM [0x0-0xae0ae0].org.sophieproject.sophie[27135]  
472676684 [] in PositionableStream>fileInAnnouncing:
1/26/08 1:46:46 AM [0x0-0xae0ae0].org.sophieproject.sophie[27135]  
472919144 [] in CProgressBar>displayProgress:at:from:to:during:
1/26/08 1:46:46 AM [0x0-0xae0ae0].org.sophieproject.sophie[27135]  
472918548 BlockContext>on:do:
1/26/08 1:46:46 AM [0x0-0xae0ae0].org.sophieproject.sophie[27135]  
472918640 [] in CProgressBar>displayProgress:at:from:to:during:
1/26/08 1:46:46 AM [0x0-0xae0ae0].org.sophieproject.sophie[27135]  
472918456 BlockContext>ensure:
1/26/08 1:46:46 AM [0x0-0xae0ae0].org.sophieproject.sophie[27135]  
472677148 CProgressBar>displayProgress:at:from:to:during:
1/26/08 1:46:46 AM [0x0-0xae0ae0].org.sophieproject.sophie[27135]  
472676868 CProgressBar class>displayProgress:at:from:to:during:
1/26/08 1:46:46 AM [0x0-0xae0ae0].org.sophieproject.sophie[27135]  
472676776 TweakUIManager>displayProgress:at:from:to:during:
1/26/08 1:46:46 AM [0x0-0xae0ae0].org.sophieproject.sophie[27135]  
472676592 String>displayProgressAt:from:to:during:
1/26/08 1:46:46 AM [0x0-0xae0ae0].org.sophieproject.sophie[27135]  
472676456 PositionableStream>fileInAnnouncing:
1/26/08 1:46:46 AM [0x0-0xae0ae0].org.sophieproject.sophie[27135]  
472676344 FileStream>fileIn
1/26/08 1:46:46 AM [0x0-0xae0ae0].org.sophieproject.sophie[27135]  
472676252 MultiByteFileStream>fileIn
1/26/08 1:46:46 AM [0x0-0xae0ae0].org.sophieproject.sophie[27135]  
472676160 ReadWriteStream>fileInObjectAndCode
1/26/08 1:46:46 AM [0x0-0xae0ae0].org.sophieproject.sophie[27135]  
472676068 FileStream>fileInObjectAndCode
1/26/08 1:46:46 AM [0x0-0xae0ae0].org.sophieproject.sophie[27135]  
472675344 SophieResourceManager  
class>specialGetImageSegmentArrayFromFileURI:

--
= 
= 
= 
========================================================================
John M. McIntosh <johnmci at smalltalkconsulting.com>
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
= 
= 
= 
========================================================================





More information about the Squeak-dev mailing list