Re: [rvm-research] MMTk command line options don't do anything

Erik Brangs <[email protected]> Sun, 5 Jun 2016 11:48:41 +0200
Newsgroups gmane.comp.java.jikes.rvm.devel
Message-ID <[email protected]>
Hi,

On 03.06.2016 18:34, Lucas Sonnabend wrote:
> I would like to use JikesRVM and MMTk for my masters project,  but it
> doesn't seem to work properly. [...]
> But some of the command line options(which I set in the Run
> configurations menu in Eclipse) don't seem to be working at all, for example
> "MMTk/harness/test-scripts/Lists.script  plan=MS verbose=1 gcEvery=ALLOC"
> only executes three GC runs, so clearly not after every allocation.
> Similarly when I add "trace=OBJECT" or "trace=TRACEOBJECT" I would
> expect some tracing output but I see none.
>
> Am I missing something obvious here?
You're not missing anything. The options that you're using are currently not implemented properly.

For gcEvery=ALLOC, the method org.mmtk.harness.Mutator.gc() will be called. This method currently doesn't do anything.

The trace options are implemented in org.mmtk.harness.lang.Trace. If you check the uses of OBJECT and TRACEOBJECT, you'll notice that:
- OBJECT has no uses in the current harness code
- TRACEOBJECT is only used if traceObject from the Debug class is called


Kind regards,

Erik Brangs

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e