Mercurial > hg > graal-compiler
changeset 7654:641a4c6ac1ce
fixed repetition of compilation metric option on command line when running multiple benchmarks (JIRA issue GRAAL-66)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 31 Jan 2013 21:55:36 +0100 |
parents | e1667e7332de |
children | 175fbf5a692c fae0b2f0279e |
files | mx/sanitycheck.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mx/sanitycheck.py Thu Jan 31 17:51:05 2013 +0100 +++ b/mx/sanitycheck.py Thu Jan 31 21:55:36 2013 +0100 @@ -239,6 +239,8 @@ self.defaultCwd = defaultCwd self.ignoredVMs = ignoredVMs self.benchmarkCompilationRate = benchmarkCompilationRate + if benchmarkCompilationRate: + self.vmOpts = self.vmOpts + ['-XX:+CITime'] def __str__(self): return self.name @@ -303,7 +305,6 @@ parser.addMatcher(scoreMatcher) if self.benchmarkCompilationRate: - opts.append('-XX:+CITime') if vm == 'graal': bps = re.compile(r"ParsedBytecodesPerSecond@final: (?P<rate>[0-9]+)") ibps = re.compile(r"InlinedBytecodesPerSecond@final: (?P<rate>[0-9]+)")