Re: [rvm-research] Xmx Option in Jikes

"David P Grove" <[email protected]> Mon, 21 May 2018 13:16:27 -0400
Newsgroups gmane.comp.java.jikes.rvm.devel
Message-ID <OFE1721A84.C759BCDB-ON85258294.005EC16B-85258294.005EE3E4@notes.na.collabserv.com>
Do you really mean -Xmx20480M

Try -Xmx2048M

--dave




From:	Khaled Z Mahmoud <[email protected]>
To:	"General discussion of Jikes RVM design, implementation,
            issues, and plans" <[email protected]>
Date:	05/21/2018 01:12 PM
Subject:	Re: [rvm-research] Xmx Option in Jikes



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

------------------------------------------------------------------------------
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
graycol.gif (image/gif, 105 B) - not displayed