[Vm-dev] Stack VMs with primitives for AndreasSystemProfiler?

David T. Lewis lewis at mail.msen.com
Fri Mar 1 01:11:04 UTC 2013


On Wed, Feb 27, 2013 at 08:19:20AM -0300, Juan Vuletich (mail lists) wrote:
> 
> Hi Folks,
> 
> In Cuis 4.1 (  
> https://github.com/jvuletich/Cuis/blob/master/Cuis4WithLatestUpdates/Cuis4.1-1619.zip?raw=true ) I included AndreasSystemProfiler. But sometimes it is good to use a StackVM for profiling, to avoid Cog inlining and get results that are easier to  
> follow.
> 
> The Mac and Windows VMs referenced from squeakVM.org don't include the  
> required primitives. The only VMs with those primitives I found are  
> CogVMs from Eliot's site.
> 
> Does anybody know if there are plans to add those primitives to StackVMs?

FWIW, I have been trying to add this to the interpreter VM. Adding the necessary
primitives is straightforward, just adopt the necessary primitives in
InterpreterPrimitives from Cog and adapt them to the trunk platform sources.
But there is additional support needed in the interpreter to signal the image
at appropriate times to collect profiling data, and this is a bit less trivial.
I don't know if I'll have a working implementation any time soon, but I'm trying,
and I'll probably follow up with a few dumb questions on vm-dev as to how it's
supposed to work.

Dave



More information about the Vm-dev mailing list