This patch is a quick and dirty hack to Jikes RVM 3.1.1, to enable it to handle the custom classloader used to run benchmarks in Dacapo bach. The hack simply introduces a special case to the MemberReference parsing code that recognises the DacapoClassLoader and uses reflection to instantiate it with the appropriate arguments.
Note that the DacapoClassLoader class in the benchmark code must also be hacked, to override the equals and hashcode methods (so the instantiation by Jikes RVM replay compilation code and the instantiation by the Dacapo harness are equivalent).
Full details in the README file in the attached tarball.
I only got this to work for the handful of Dacapo bach benchmarks that run already (without replay compilation) on Jikes RVM v3.1.1.
Log in to post a comment.