Hi, I am sorry After i built FastAdaptiveGenMS, i ran rvm with pmd in DacopaBenchmark.
When I typed rvm -X, it shows option of -X:cpuAffinity=<number> physical cpu to which 1st VP is bound
but when i ran rvm -X:cpuAffnity=1 -jar dacapo-9.12-bach.jar pmd, it outputs that
java.lang.NoClassDefFoundError: Could not find the class -X:cpuAffinity=1:
-X:cpuAffinity=1 not found in SystemAppCL
Sorry I am not sure if it is a bug, or anything wrong with my implementation. I will be very grateful if anyone could help enlighten me as I am really new to it. Thanks very much!
Ubuntu Linux 10.04
Intel Core i5
Sorry I am not sure if it is a bug, or anything wrong with my implementation. I will be very grateful if anyone could help enlighten me as I am really new to it.
If you encounter a problem and are unsure if it is a bug or if you are in need of help, you can also ask on the jikesrvm-researchers mailing list which is the main users list of Jikes RVM.
With that said, you have encountered a bug. The option -X:cpuAffinity=<number> is no longer available. It was supposed to be removed when the Jikes RVM switched from green threading to native threading in this commit. Apparently some parts of the processing for this argument were not removed.
The attached patch removes the parts of the processing for -X:cpuAffinity that were mistakenly left in when the RVM switched to native threading.
Ideally the command line processing should recognize unknown arguments and warn the user. This is currently not the case and not fixed by the patch.
If the bootimageRunner finds an unknown argument, it asummes that this is the class that the RVM is supposed to run. All following arguments will be considered arguments for that class.
This means that a command line like
is taken to mean:
Run the RVM with the option -Xrocessors="all"
load the class -X:someInvalidOption
pass the arguments -X:sysLogfile=logFile -jar dacapo-9.12-bach.jar pmd to the loaded class and run it
Committed Erik's patch in 10400:90280682527d.
Implemented additional feature request of rejecting invalid -X command line arguments instead of interpreting them as the name of the main class in 10401:45b36a84a62c.
bulk close of all resolved issues in preparation for 3.1.3 release.