Happy !

LucFabresse / VMControl

Project infos

License MIT
Tags
Creation date 2015-09-23
Website

Monticello registration

About VMControl

HIGHLY EXPERIMENTAL

Objective: Controlling some VM things form the image.

So far, this repo contains the following packages:

  • GCControlVMMaker contains VMMaker extensions that add 2 VM parameters accessible from the image side to prevent fullGC and incrementalGC. this extension has been tested on top of VMMaker.oscog-EstebanLorenzano.830

  • GCControl contains the image side code that enable/disable GCs and unit tests e.g. Smalltalk vm setIncrementalGCOff

How to use :

1) Compile your own modified VM:

  • checkout the git@github.com:pharo-project/pharo-vm.git

  • follow the README instructions to compile the Pharo/Cog VM

  • load the GCControlVMMaker pacakge in the generator image before generating the sources

  • then build the VM

2) Prepare your image by loading the GCControl package and load it using your modified VM

3) Be prepared to VM FREEZES and CRASHES when GCs are deactivated ;-)