Re: [rvm-research] Xmx Option in Jikes
Eliot Moss <[email protected]> Mon, 21 May 2018 13:39:16 -0400
| Newsgroups | gmane.comp.java.jikes.rvm.devel |
|---|---|
| Message-ID | <[email protected]> |
On 5/21/2018 1:12 PM, Khaled Z Mahmoud wrote: > 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 Well, -Xmx... is standard, but some variants I might try (without referring to the code base :-) ) include: -Xmx20480m (lower case m; Oracle accepts m or M, but not sure about JikesRVM) -X:mx20480m (colon separating X and mx) -X:mx:20480m (... plus colon separating mx and the argument) ... and maybe even without the m/M at the end (numeric argument might mean meagbytes anyway), though that seems doubtful to me. I might also try putting it before the -X:perf:... flags. Perhaps order matters. Can you get your rvm to print out the options it accepts? Lastly, this really better be a 64-bit build, or 20 Gb will exceed the address space! Regards - Eliot Moss ------------------------------------------------------------------------------ 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