Re: [rvm-research] new mmtk option

Erik Brangs <[email protected]>
Newsgroups gmane.comp.java.jikes.rvm.devel
Message-ID <[email protected]>
Hi,

On 11.08.2013 17:54, Shoaib Akram wrote:
> I am trying to pass a new option to the concurrent mark-sweep collector
> (Jikes RVM 3.1.2). I have introduced a new class file in
> MMTk/src/org/mmtk/utility/options (similar to other
> ConcurrentTrigger.java). Also, I have updated Options.java to reflect
> the new option. Finally, I use -X:gc:my_option=value at command-line to
> use the new option. When using the new option, I get the error,
> "Unrecognized command line argument: "my_option=value". Am I missing any
> required step to pass a new option to mmtk (gc)?

You will need to create an instance of your option. The constructor of
org.mmtk.plan.concurrent.Concurrent is probably the right place to do
this (the ConcurrentTrigger option is created there).


Kind regards,

Erik Brangs

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.