Re: [rvm-research] Xmx Option in Jikes
Khaled Z Mahmoud <[email protected]> Mon, 21 May 2018 13:38:22 -0400
| Newsgroups | gmane.comp.java.jikes.rvm.devel |
|---|---|
| Message-ID | <CAER=_eVzGVnPEt+o1guCizE-t9jGoAdmWkvLkT0aOtr-y045wA@mail.gmail.com> |
Hi, I cannot see it defined in "rvm/src/org/jikesrvm/runtime/CommandLineArgs.java". As I understand, all "Jikes" parameters are defined and handled in there. On Mon, May 21, 2018 at 1:16 PM, David P Grove <[email protected]> wrote: > Do you really mean -Xmx20480M > > Try -Xmx2048M > > --dave > > > [image: Inactive hide details for Khaled Z Mahmoud ---05/21/2018 01:12:37 > PM---Here is the command I tried sudo ./dist/FullAdaptiveMark]Khaled Z > Mahmoud ---05/21/2018 01:12:37 PM---Here is the command I tried sudo > ./dist/FullAdaptiveMarkSweep_x86_64-linux/rvm "-X:perf:frequency=75 > > 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]* > <[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* > <http://sdm.link/slashdot> > _______________________________________________ > Jikesrvm-researchers mailing list > *[email protected]* > <[email protected]> > *https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers* > <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 > > -- 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
graycol.gif
(image/gif, 105 B) - not displayed