[squeak-dev] Experimental Cocoa OS-X based Squeak Cog JIT VM 5.8b7

Juan Vuletich juan at jvuletich.org
Tue Sep 7 16:53:04 UTC 2010


John M McIntosh wrote:
> I've stuck a version (5.8b7) of the cocoa based os-x squeak cog JIT based VM in my experimental folder. 
> Please ensure drawing looks sane, and how it interacts with the mouse and keyboard seems viable. 
>
> http://homepage.mac.com/johnmci/.Public/experimental/Squeak%205.8b7.app.zip
>
> I finished the open/GL tuning and based on benchmarking I simplified the explicit flush required when a 
> Smalltalk Morphic draw cycle fails to do a flush. Lastly I cross check the source code to ensure it compiles
> correctly for the iOS platform. 
>
> --
> ===========================================================================
> John M. McIntosh <johnmci at smalltalkconsulting.com>   Twitter:  squeaker68882
> Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
> ==========================================================================
>   

Hi John,

I found something strange with reported file creation and modification 
time. The values answered by #primLookupEntryIn:index: are (Tested on 
Squeak 4.1, Mac OS 10.5.8):

4.2.4 VM (Stack VM):
3461318674         3461318674         newFile
3449660476         3447966888         Squeak 4.2.4beta1U.app
3460975777         3460916669         Squeak.app
3460551046         3460551046         Squeak4.1.image
3449660435         3448977726         SqueakV41.sources

5.8b7 (Cog experimental VM)
3461314066         3461314066         newFile
3447962280         3447962280         Squeak 4.2.4beta1U.app
3460912061         3460912061         Squeak.app
3448973124         3460546438         Squeak4.1.image
3448973118         3448973118         SqueakV41.sources

Take for instance SqueakV41.sources:
    DateAndTime fromSeconds: 3449660435     2010-04-25T15:00:35-03:00
    DateAndTime fromSeconds: 3448977726     2010-04-17T17:22:06-03:00    
    "This is the correct one according to Finder, 4.2.4 modification time"
    DateAndTime fromSeconds: 3448973118     2010-04-17T16:05:18-03:00
    DateAndTime fromSeconds: 3448973118     2010-04-17T16:05:18-03:00

So I'm, getting incorrect time info in the FileList.

Something else I see is that 4.2.4 VM answers the same value for 
creation and modification time for some files, while 5.8b7 answers the 
same value for other files. (Why?) For the newly created "newFile", both 
answer the same value for creation and modification time. The correct 
value is (again) the one answered by 4.2.4.

I'm at the ART time zone.

Thanks,
Juan Vuletich



More information about the Squeak-dev mailing list