Re: [rvm-research] new mmtk option

Shoaib Akram <[email protected]>
Newsgroups gmane.comp.java.jikes.rvm.devel
Message-ID <CAB7d=92GeR_eMSPNy0fzVB=b6e_fzVfg9MU7J4LWwbgig1z-_w@mail.gmail.com>
I forgot to mention this but I have already instantiated the new option in
the constructor where other options are also instantiated.


On Sun, Aug 11, 2013 at 6:29 PM, Erik Brangs <[email protected]> wrote:

> 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
> _______________________________________________
> Jikesrvm-researchers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers
>



-- 
*Shoaib Akram*
*Foundation of Research and Technology*
*Greece*

------------------------------------------------------------------------------
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

_______________________________________________
Jikesrvm-researchers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers
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.