[Vm-dev] InterpreterSimulator

Florin Mateoc florin.mateoc at gmail.com
Tue Mar 8 22:42:54 UTC 2016


Hi Eliot,

Thank you, VMMaker.oscog works better, indeed.
I still got an error while executing:

(StackInterpreterSimulator new openOn:
'F:\Smalltalk\squeak\Squeak-4.5-All-in-One.app\Contents\Resources\Squeak4.5-decompiler.image') test

Do I need any additional settings?


Here is the erorr report:

'From: 8 March 2016 5:35:01.126 pm

VM: Win32 - Smalltalk
Image: Squeak5.0 [latest update: #15117]

SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir F:\Smalltalk\squeak\Squeak-5.0-All-in-One\Squeak-5.0-All-in-One.app\Contents\Resources
Trusted Dir F:\Smalltalk\squeak\Squeak-5.0-All-in-One\Squeak-5.0-All-in-One.app\Contents\Resources\fmateoc
Untrusted Dir C:\Users\fmateoc\Documents\My Squeak

NewObjectMemorySimulatorLSB(Object)>>error:
    Receiver: a NewObjectMemorySimulatorLSB
    Arguments and temporary variables:
        aString:     ''unaligned access''
    Receiver''s instance variables:
        memory:     a LittleEndianBitmap of length 7421053
        youngStart:     25087060
        endOfMemory:     29212852
        memoryLimit:     29684212
        nilObj:     4
        falseObj:     12
        trueObj:     20
        specialObjectsOop:     4339092
        rootTable:     #(2837948 4339092 219644 231688 231700 3830388 10956 22224904 5356 1...etc...
        rootTableCount:     88
        rootTableOverflowed:     false
        extraRoots:     nil
        extraRootCount:     0
        weakRoots:     #(2572452 nil nil nil nil nil nil nil nil nil nil nil nil nil nil ni...etc...
        weakRootCount:     1
        child:     1501724940
        field:     345348
        parentField:     3
        freeBlock:     nil
        lastHash:     17871637
        allocationCount:     nil
        lowSpaceThreshold:     200000
        signalLowSpace:     false
        compStart:     26763028
        compEnd:     26867736
        fwdTableNext:     26868032
        fwdTableLast:     29684204
        remapBuffer:     #(26772976 26772968 nil nil nil nil nil nil nil nil nil nil nil ni...etc...
        remapBufferCount:     0
        allocationsBetweenGCs:     nil
        tenuringThreshold:     2000
        gcBiasToGrow:     0
        gcBiasToGrowGCLimit:     0
        gcBiasToGrowThreshold:     nil
        statFullGCs:     0
        statIncrGCs:     18
        statFullGCUsecs:     0
        statIncrGCUsecs:     0
        statGCEndTime:     nil
        statIGCDeltaUsecs:     0
        statTenures:     0
        statRootTableOverflows:     0
        freeContexts:     nil
        freeLargeContexts:     nil
        interruptCheckCounter:     nil
        totalObjectCount:     471363
        shrinkThreshold:     8388608
        growHeadroom:     4194304
        headerTypeBytes:     a CArrayAccessor on: #(8 4 0 0)
        youngStartLocal:     25087060
        statMarkCount:     4111
        statMarkCountLocal:     4111
        statSweepCount:     2961
        statMkFwdCount:     45
        statCompMoveCount:     45
        statGrowMemory:     0
        statShrinkMemory:     0
        statRootTableCount:     88
        statAllocationCount:     nil
        statSurvivorCount:     931
        statSpecialMarkCount:     1616
        forceTenureFlag:     0
        gcStartUsecs:     3634910906984935
        coInterpreter:     a StackInterpreterSimulatorLSB
        freeStart:     26773052
        reserveStart:     27070132
        scavengeThreshold:     27070132
        needGCFlag:     false
        fullGCLock:     0
        edenBytes:     2097152
        checkForLeaks:     0
        statGCEndUsecs:     3634910906984935
        heapMap:     a CogCheck32BitHeapMap
        parent:     nil

NewObjectMemorySimulatorLSB(VMClass)>>unalignedAccessError
    Receiver: a NewObjectMemorySimulatorLSB
    Arguments and temporary variables:

    Receiver''s instance variables:
        memory:     a LittleEndianBitmap of length 7421053
        youngStart:     25087060
        endOfMemory:     29212852
        memoryLimit:     29684212
        nilObj:     4
        falseObj:     12
        trueObj:     20
        specialObjectsOop:     4339092
        rootTable:     #(2837948 4339092 219644 231688 231700 3830388 10956 22224904 5356 1...etc...
        rootTableCount:     88
        rootTableOverflowed:     false
        extraRoots:     nil
        extraRootCount:     0
        weakRoots:     #(2572452 nil nil nil nil nil nil nil nil nil nil nil nil nil nil ni...etc...
        weakRootCount:     1
        child:     1501724940
        field:     345348
        parentField:     3
        freeBlock:     nil
        lastHash:     17871637
        allocationCount:     nil
        lowSpaceThreshold:     200000
        signalLowSpace:     false
        compStart:     26763028
        compEnd:     26867736
        fwdTableNext:     26868032
        fwdTableLast:     29684204
        remapBuffer:     #(26772976 26772968 nil nil nil nil nil nil nil nil nil nil nil ni...etc...
        remapBufferCount:     0
        allocationsBetweenGCs:     nil
        tenuringThreshold:     2000
        gcBiasToGrow:     0
        gcBiasToGrowGCLimit:     0
        gcBiasToGrowThreshold:     nil
        statFullGCs:     0
        statIncrGCs:     18
        statFullGCUsecs:     0
        statIncrGCUsecs:     0
        statGCEndTime:     nil
        statIGCDeltaUsecs:     0
        statTenures:     0
        statRootTableOverflows:     0
        freeContexts:     nil
        freeLargeContexts:     nil
        interruptCheckCounter:     nil
        totalObjectCount:     471363
        shrinkThreshold:     8388608
        growHeadroom:     4194304
        headerTypeBytes:     a CArrayAccessor on: #(8 4 0 0)
        youngStartLocal:     25087060
        statMarkCount:     4111
        statMarkCountLocal:     4111
        statSweepCount:     2961
        statMkFwdCount:     45
        statCompMoveCount:     45
        statGrowMemory:     0
        statShrinkMemory:     0
        statRootTableCount:     88
        statAllocationCount:     nil
        statSurvivorCount:     931
        statSpecialMarkCount:     1616
        forceTenureFlag:     0
        gcStartUsecs:     3634910906984935
        coInterpreter:     a StackInterpreterSimulatorLSB
        freeStart:     26773052
        reserveStart:     27070132
        scavengeThreshold:     27070132
        needGCFlag:     false
        fullGCLock:     0
        edenBytes:     2097152
        checkForLeaks:     0
        statGCEndUsecs:     3634910906984935
        heapMap:     a CogCheck32BitHeapMap
        parent:     nil

NewObjectMemorySimulatorLSB>>long64At:
    Receiver: a NewObjectMemorySimulatorLSB
    Arguments and tempo...etc...


More information about the Vm-dev mailing list