About SimulatorInterpreter

ducasse ducasse at iam.unibe.ch
Thu Jan 8 16:33:07 UTC 2004


Hi all

for the demo of Squeak I'm preparing I would like to show the VM can be  
interprted.

I did the following steps with alex and we are stuck:

- took a 3.6 image
- created a mvc project
- saved the image named mvc36
- took a 3.6 image
- executed (InterpreterSimulator new openOn: 'mvc36.image') test

We did the same with the latest 3.7alpha 5623
- we load VMmaker from SqueakMap 3.6g2

and in both cases we got the following DNU

What did we forget?

Thanks in advance

Stef and Alex


8 January 2004 5:31:50 pm

VM: Mac OS - a SmalltalkImage
Image: Squeak3.7alpha [latest update: #5623]

Bitmap(Object)>>doesNotUnderstand: #copyGrownBy:
	Receiver: a Bitmap of length 2138980
	Arguments and temporary variables:
		aMessage: 	copyGrownBy: 258436
	Receiver's instance variables:
a Bitmap of length 2138980

InterpreterSimulatorMSB(InterpreterSimulator)>>sqGrowMemory:By:
	Receiver: an InterpreterSimulatorMSB
	Arguments and temporary variables:
		oldLimit: 	8555920
		delta: 	1033744
	Receiver's instance variables:
		memory: 	a Bitmap of length 2138980
		youngStart: 	0
		endOfMemory: 	8056808
		memoryLimit: 	8555920
		nilObj: 	4
		falseObj: 	12
		trueObj: 	20
		specialObjectsOop: 	1940220
		rootTable: 	#(0 0 0 nil nil nil nil nil nil nil nil nil nil nil nil  
nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil  
nil nil nil nil nil nil nil nil nil nil nil nil nil nil...etc...
		rootTableCount: 	0
		child: 	2401690460
		field: 	8056608
		parentField: 	3
		freeBlock: 	8056804
		lastHash: 	18437
		allocationCount: 	0
		lowSpaceThreshold: 	0
		signalLowSpace: 	false
		compStart: 	7944744
		compEnd: 	8057936
		fwdTableNext: 	8056816
		fwdTableLast: 	8555912
		remapBuffer: 	#(8056380 nil nil nil nil nil nil nil nil nil nil nil  
nil nil nil nil nil nil nil nil nil nil nil nil nil)...etc...
		remapBufferCount: 	0
		allocationsBetweenGCs: 	4000
		tenuringThreshold: 	2000
		statFullGCs: 	0
		statFullGCMSecs: 	0
		statIncrGCs: 	1
		statIncrGCMSecs: 	4
		statTenures: 	0
		statRootTableOverflows: 	0
		freeContexts: 	1
		freeLargeContexts: 	1
		interruptCheckCounter: 	872
		totalObjectCount: 	181605
		shrinkThreshold: 	8388608
		growHeadroom: 	4194304
		headerTypeBytes: 	a CArrayAccessor on: #(8 4 0 0)
		youngStartLocal: 	0
		activeContext: 	8056608
		theHomeContext: 	8056608
		method: 	3969776
		receiver: 	2061796
		instructionPointer: 	3969821
		stackPointer: 	8056648
		localIP: 	3969821
		localSP: 	8057488
		localHomeContext: 	8057448
		localReturnContext: 	8057448
		localReturnValue: 	307201
		messageSelector: 	4144
		argumentCount: 	1
		newMethod: 	3220880
		currentBytecode: 	205
		successFlag: 	true
		primitiveIndex: 	71
		methodCache: 	#(370400 681696 3561864 101 4 0 0 0 0 0 0 0 0 0 0 0 0 0  
0 0 0 0 0 ...etc...
		atCache: 	#(0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0  
0 0 0 0 0 ...etc...
		lkupClass: 	660584
		reclaimableContextCount: 	4
		nextPollTick: 	255637
		nextWakeupTick: 	0
		lastTick: 	255137
		interruptKeycode: 	2094
		interruptPending: 	false
		semaphoresToSignalA: 	#(nil nil nil nil nil nil nil nil nil nil nil  
nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil  
nil nil...etc...
		semaphoresUseBufferA: 	true
		semaphoresToSignalCountA: 	0
		semaphoresToSignalB: 	#(nil nil nil nil nil nil nil nil nil nil nil  
nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil  
nil nil...etc...
		semaphoresToSignalCountB: 	0
		savedWindowSize: 	34406785
		fullScreenFlag: 	0
		deferDisplayUpdates: 	false
		pendingFinalizationSignals: 	0
		compilerInitialized: 	false
		compilerHooks: 	nil
		extraVMMemory: 	0
		newNativeMethod: 	4
		methodClass: 	681448
		receiverClass: 	660584
		interpreterVersion: 	nil
		obsoleteIndexedPrimitiveTable: 	a CArrayAccessor on: #(a  
CArrayAccessor on: #(nil nil nil) a CArrayAccessor on: #(nil nil nil) a  
CArrayAccesso...etc...
		obsoleteNamedPrimitiveTable: 	a CArrayAccessor on:  
#(#(#gePrimitiveMergeFillFrom...etc...
		interpreterProxy: 	an InterpreterSimulatorMSB
		showSurfaceFn: 	nil
		interruptCheckCounterFeedBackReset: 	1000
		interruptChecksEveryNms: 	3
		externalPrimitiveTable: 	a CArrayAccessor on: #(0 0 0 0 0 0 0 0 0 0 0  
0 0 0 0 0 ...etc...
		byteCount: 	2268
		sendCount: 	1
		traceOn: 	true
		myBitBlt: 	a BitBltSimulator
		displayForm: 	nil
		filesOpen: 	an OrderedCollection()
		imageName:  
	'Data:Users:ducasse:Workspace:FirstCircle:SqDemoes:Sq-Demo-0104: 
Sque...etc...
		pluginList: 	#('MiscPrimitivePlugin'->a MiscPrimitivePlugin)
		mappedPluginEntries: 	#()
		inputSem: 	nil
		quitBlock: 	[] in InterpreterSimulatorMSB(InterpreterSimulator)>>test  
{[^ self]}...etc...

InterpreterSimulatorMSB(ObjectMemory)>>growObjectMemory:
	Receiver: an InterpreterSimulatorMSB
	Arguments and temporary variables:
		delta: 	1033744
		limit: 	nil
	Receiver's instance variables:
		memory: 	a Bitmap of length 2138980
		youngStart: 	0
		endOfMemory: 	8056808
		memoryLimit: 	8555920
		nilObj: 	4
		falseObj: 	12
		trueObj: 	20
		specialObjectsOop: 	1940220
		rootTable: 	#(0 0 0 nil nil nil nil nil nil nil nil nil nil nil nil  
nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil  
nil nil nil nil nil nil nil nil nil nil nil nil nil nil...etc...
		rootTableCount: 	0
		child: 	2401690460
		field: 	8056608
		parentField: 	3
		freeBlock: 	8056804
		lastHash: 	18437
		allocationCount: 	0
		lowSpaceThreshold: 	0
		signalLowSpace: 	false
		compStart: 	7944744
		compEnd: 	8057936
		fwdTableNext: 	8056816
		fwdTableLast: 	8555912
		remapBuffer: 	#(8056380 nil nil nil nil nil nil nil nil nil nil nil  
nil nil nil nil nil nil nil nil nil nil nil nil nil)...etc...
		remapBufferCount: 	0
		allocationsBetweenGCs: 	4000
		tenuringThreshold: 	2000
		statFullGCs: 	0
		statFullGCMSecs: 	0
		statIncrGCs: 	1
		statIncrGCMSecs: 	4
		statTenures: 	0
		statRootTableOverflows: 	0
		freeContexts: 	1
		freeLargeContexts: 	1
		interruptCheckCounter: 	872
		totalObjectCount: 	181605
		shrinkThreshold: 	8388608
		growHeadroom: 	4194304
		headerTypeBytes: 	a CArrayAccessor on: #(8 4 0 0)
		youngStartLocal: 	0
		activeContext: 	8056608
		theHomeContext: 	8056608
		method: 	3969776
		receiver: 	2061796
		instructionPointer: 	3969821
		stackPointer: 	8056648
		localIP: 	3969821
		localSP: 	8057488
		localHomeContext: 	8057448
		localReturnContext: 	8057448
		localReturnValue: 	307201
		messageSelector: 	4144
		argumentCount: 	1
		newMethod: 	3220880
		currentBytecode: 	205
		successFlag: 	true
		primitiveIndex: 	71
		methodCache: 	#(370400 681696 3561864 101 4 0 0 0 0 0 0 0 0 0 0 0 0 0  
0 0 0 0 0 ...etc...
		atCache: 	#(0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0  
0 0 0 0 0 ...etc...
		lkupClass: 	660584
		reclaimableContextCount: 	4
		nextPollTick: 	255637
		nextWakeupTick: 	0
		lastTick: 	255137
		interruptKeycode: 	2094
		interruptPending: 	false
		semaphoresToSignalA: 	#(nil nil nil nil nil nil nil nil nil nil nil  
nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil  
nil nil...etc...
		semaphoresUseBufferA: 	true
		semaphoresToSignalCountA: 	0
		semaphoresToSignalB: 	#(nil nil nil nil nil nil nil nil nil nil nil  
nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil  
nil nil...etc...
		semaphoresToSignalCountB: 	0
		savedWindowSize: 	34406785
		fullScreenFlag: 	0
		deferDisplayUpdates: 	false
		pendingFinalizationSignals: 	0
		compilerInitialized: 	false
		compilerHooks: 	nil
		extraVMMemory: 	0
		newNativeMethod: 	4
		methodClass: 	681448
		receiverClass: 	660584
		interpreterVersion: 	nil
		obsoleteIndexedPrimitiveTable: 	a CArrayAccessor on: #(a  
CArrayAccessor on: #(nil nil nil) a CArrayAccessor on: #(nil nil nil) a  
CArrayAccesso...etc...
		obsoleteNamedPrimitiveTable: 	a CArrayAccessor on:  
#(#(#gePrimitiveMergeFillFrom...etc...
		interpreterProxy: 	an InterpreterSimulatorMSB
		showSurfaceFn: 	nil
		interruptCheckCounterFeedBackReset: 	1000
		interruptChecksEveryNms: 	3
		externalPrimitiveTable: 	a CArrayAccessor on: #(0 0 0 0 0 0 0 0 0 0 0  
0 0 0 0 0 ...etc...
		byteCount: 	2268
		sendCount: 	1
		traceOn: 	true
		myBitBlt: 	a BitBltSimulator
		displayForm: 	nil
		filesOpen: 	an OrderedCollection()
		imageName:  
	'Data:Users:ducasse:Workspace:FirstCircle:SqDemoes:Sq-Demo-0104: 
Sque...etc...
		pluginList: 	#('MiscPrimitivePlugin'->a MiscPrimitivePlugin)
		mappedPluginEntries: 	#()
		inputSem: 	nil
		quitBlock: 	[] in InterpreterSimulatorMSB(InterpreterSimulator)>>test  
{[^ self]}...etc...

InterpreterSimulatorMSB(ObjectMemory)>>fullCompaction
	Receiver: an InterpreterSimulatorMSB
	Arguments and temporary variables:
		sz: 	62387
	Receiver's instance variables:
		memory: 	a Bitmap of length 2138980
		youngStart: 	0
		endOfMemory: 	8056808
		memoryLimit: 	8555920
		nilObj: 	4
		falseObj: 	12
		trueObj: 	20
		specialObjectsOop: 	1940220
		rootTable: 	#(0 0 0 nil nil nil nil nil nil nil nil nil nil nil nil  
nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil  
nil nil nil nil nil nil nil nil nil nil nil nil nil nil...etc...
		rootTableCount: 	0
		child: 	2401690460
		field: 	8056608
		parentField: 	3
		freeBlock: 	8056804
		lastHash: 	18437
		allocationCount: 	0
		lowSpaceThreshold: 	0
		signalLowSpace: 	false
		compStart: 	7944744
		compEnd: 	8057936
		fwdTableNext: 	8056816
		fwdTableLast: 	8555912
		remapBuffer: 	#(8056380 nil nil nil nil nil nil nil nil nil nil nil  
nil nil nil nil nil nil nil nil nil nil nil nil nil)...etc...
		remapBufferCount: 	0
		allocationsBetweenGCs: 	4000
		tenuringThreshold: 	2000
		statFullGCs: 	0
		statFullGCMSecs: 	0
		statIncrGCs: 	1
		statIncrGCMSecs: 	4
		statTenures: 	0
		statRootTableOverflows: 	0
		freeContexts: 	1
		freeLargeContexts: 	1
		interruptCheckCounter: 	872
		totalObjectCount: 	181605
		shrinkThreshold: 	8388608
		growHeadroom: 	4194304
		headerTypeBytes: 	a CArrayAccessor on: #(8 4 0 0)
		youngStartLocal: 	0
		activeContext: 	8056608
		theHomeContext: 	8056608
		method: 	3969776
		receiver: 	2061796
		instructionPointer: 	3969821
		stackPointer: 	8056648
		localIP: 	3969821
		localSP: 	8057488
		localHomeContext: 	8057448
		localReturnContext: 	8057448
		localReturnValue: 	307201
		messageSelector: 	4144
		argumentCount: 	1
		newMethod: 	3220880
		currentBytecode: 	205
		successFlag: 	true
		primitiveIndex: 	71
		methodCache: 	#(370400 681696 3561864 101 4 0 0 0 0 0 0 0 0 0 0 0 0 0  
0 0 0 0 0 ...etc...
		atCache: 	#(0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0  
0 0 0 0 0 ...etc...
		lkupClass: 	660584
		reclaimableContextCount: 	4
		nextPollTick: 	255637
		nextWakeupTick: 	0
		lastTick: 	255137
		interruptKeycode: 	2094
		interruptPending: 	false
		semaphoresToSignalA: 	#(nil nil nil nil nil nil nil nil nil nil nil  
nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil  
nil nil...etc...
		semaphoresUseBufferA: 	true
		semaphoresToSignalCountA: 	0
		semaphoresToSignalB: 	#(nil nil nil nil nil nil nil nil nil nil nil  
nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil  
nil nil...etc...
		semaphoresToSignalCountB: 	0
		savedWindowSize: 	34406785
		fullScreenFlag: 	0
		deferDisplayUpdates: 	false
		pendingFinalizationSignals: 	0
		compilerInitialized: 	false
		compilerHooks: 	nil
		extraVMMemory: 	0
		newNativeMethod: 	4
		methodClass: 	681448
		receiverClass: 	660584
		interpreterVersion: 	nil
		obsoleteIndexedPrimitiveTable: 	a CArrayAccessor on: #(a  
CArrayAccessor on: #(nil nil nil) a CArrayAccessor on: #(nil nil nil) a  
CArrayAccesso...etc...
		obsoleteNamedPrimitiveTable: 	a CArrayAccessor on:  
#(#(#gePrimitiveMergeFillFrom...etc...
		interpreterProxy: 	an InterpreterSimulatorMSB
		showSurfaceFn: 	nil
		interruptCheckCounterFeedBackReset: 	1000
		interruptChecksEveryNms: 	3
		externalPrimitiveTable: 	a CArrayAccessor on: #(0 0 0 0 0 0 0 0 0 0 0  
0 0 0 0 0 ...etc...
		byteCount: 	2268
		sendCount: 	1
		traceOn: 	true
		myBitBlt: 	a BitBltSimulator
		displayForm: 	nil
		filesOpen: 	an OrderedCollection()
		imageName:  
	'Data:Users:ducasse:Workspace:FirstCircle:SqDemoes:Sq-Demo-0104: 
Sque...etc...
		pluginList: 	#('MiscPrimitivePlugin'->a MiscPrimitivePlugin)
		mappedPluginEntries: 	#()
		inputSem: 	nil
		quitBlock: 	[] in InterpreterSimulatorMSB(InterpreterSimulator)>>test  
{[^ self]}...etc...


--- The full stack ---
Bitmap(Object)>>doesNotUnderstand: #copyGrownBy:
...etc...




More information about the Squeak-dev mailing list