Re: [rvm-research] Xmx Option in Jikes

Khaled Z Mahmoud <[email protected]> Mon, 21 May 2018 13:12:16 -0400
Newsgroups gmane.comp.java.jikes.rvm.devel
Message-ID <CAER=_eWVTXYfiNNV9wqykbdedHfGwXQwnY=SrRm4W2DsH0xZKw@mail.gmail.com>
Here is the command I tried

sudo ./dist/FullAdaptiveMarkSweep_x86_64-linux/rvm "-X:perf:frequency=7500"
"-X:perf:enabled=true" "-X:perf:counters=PAPI_SR_INS,PAPI_TOT_CYC,PAPI_TOT_INS"
"-X:perf:package_counters=PAPI_L3_TCM" "-X:perf:accumulate=true" "-
*Xmx20480M*"  cache_misses

*Error Message*: vm: "-Xmx20480M" is not a recognized Jikes RVM command
line argument.

I also tried "-X:Xmx20480M" and "-X:Xmx=20480: and still same error message


On Mon, May 21, 2018 at 6:03 AM, Erik Brangs <[email protected]> wrote:

> Hi,
>
> On 21.05.2018 09:10, Khaled Z Mahmoud wrote:
> > How can I pass Xmx option to Jikes.
> > In normal Java runtime, it would be something like java HelloWorld
> -Xmx2048M.
>
> The order is wrong. It should read "java -Xmx2048M HelloWorld". If you use
> "java HelloWorld -Xmx2048M", you'll pass the argument "-Xmx2048M" to the
> HelloWorld program which isn't what you want.
>
> > However, Jikes does not recognize this option :(.
>
> What's the error message you're getting?
>
>
> Kind regards,
>
> Erik Brangs
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Jikesrvm-researchers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers
>



-- 
Regards,
Khaled Mahmoud

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Jikesrvm-researchers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers