Re: [Pharo-dev] Accessing Virtual machine internal?
Yes. Evaluate "Smalltalk vm parameterAt: 46" it should get you the machine code zone size. You can look into the comment in the VirtualMachine class or in VirtualMachine>>getParameters method comment to see what VM internal is available. On Nov 7, 2016 19:37, "Alexandre Bergel"wrote: > Hi! > > Is there a way to get access to the VM internals? For example the size of > the method cache and the number of JIT-compiled methods? > > Cheers, > Alexandre > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > >
Re: [Pharo-dev] Accessing Virtual machine internal?
2016-11-07 13:37 GMT+01:00 Alexandre Bergel: > Hi! > > Is there a way to get access to the VM internals? For example the size of > the method cache and the number of JIT-compiled methods? > I don't know about the method cache siize, but for the number of JIT-Compiled methods is a primitive (a VMParameter) > > Cheers, > Alexandre > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > >
[Pharo-dev] Accessing Virtual machine internal?
Hi! Is there a way to get access to the VM internals? For example the size of the method cache and the number of JIT-compiled methods? Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.