[Vm-dev] VM Maker: VMMaker.oscog-eem.360.mcz
commits at source.squeak.org
commits at source.squeak.org
Tue Sep 10 00:54:37 UTC 2013
Eliot Miranda uploaded a new version of VMMaker to project VM Maker:
http://source.squeak.org/VMMaker/VMMaker.oscog-eem.360.mcz
==================== Summary ====================
Name: VMMaker.oscog-eem.360
Author: eem
Time: 9 September 2013, 5:51:53.048 pm
UUID: 160bd684-d30a-4718-8add-a74cc19d13a8
Ancestors: VMMaker.oscog-eem.359
Fix duplicate send printing in StackInterpreter.
StackInterpreter + Spur execute first 270 bytecodes/28 sends.
=============== Diff against VMMaker.oscog-eem.359 ===============
Item was removed:
- ----- Method: StackInterpreterSimulator>>commonSend (in category 'debugging traps') -----
- commonSend
- printSends ifTrue:
- [self print: byteCount; space; printStringOf: messageSelector; cr].
- ^super commonSend!
Item was changed:
----- Method: StackInterpreterSimulator>>internalFindNewMethod (in category 'testing') -----
internalFindNewMethod
"
| cName |
traceOn ifTrue:
[cName := (self sizeBitsOf: class) = 16r20
ifTrue: ['class ' , (self nameOfClass: (self fetchPointer: 6 ofObject: class))]
ifFalse: [(self nameOfClass: class)].
self cr; print: cName , '>>' , (self stringOf: messageSelector)].
"
messageSelector = (objectMemory splObj: SelectorDoesNotUnderstand) ifTrue: [self halt].
sendCount := sendCount + 1.
printSends ifTrue:
+ [self cr; print: byteCount; space; printStringOf: messageSelector].
- [self cr; print: byteCount; space; printStringOf: messageSelector; cr].
"
(sendCount > 1000 and: [sendCount\\10 = 0]) ifTrue:
[Transcript print: sendCount; space.
self validate].
"
"
(sendCount > 100150) ifTrue:
[self qvalidate.
messageQueue == nil ifTrue: [messageQueue := OrderedCollection new].
messageQueue addLast: (self stringOf: messageSelector)].
"
super internalFindNewMethod!
More information about the Vm-dev
mailing list