comparison mx.graal/mx_graal_9.py @ 23157:274037591da2

gate: test benchmark counters.
author Josef Eisl <josef.eisl@jku.at>
date Fri, 11 Dec 2015 10:58:36 +0100
parents 319230b97faf
children f35e653aa876
comparison
equal deleted inserted replaced
23156:1280145e678f 23157:274037591da2
268 268
269 # ensure -Xbatch still works 269 # ensure -Xbatch still works
270 with JVMCIMode('jit'): 270 with JVMCIMode('jit'):
271 with Task('DaCapo_pmd:BatchMode', tasks) as t: 271 with Task('DaCapo_pmd:BatchMode', tasks) as t:
272 if t: dacapo(_noneAsEmptyList(extraVMarguments) + ['-Xbatch', 'pmd']) 272 if t: dacapo(_noneAsEmptyList(extraVMarguments) + ['-Xbatch', 'pmd'])
273
274 # ensure benchmark counters still work
275 with JVMCIMode('jit'):
276 with Task('DaCapo_pmd:BenchmarkCounters:product', tasks) as t:
277 if t: dacapo(_noneAsEmptyList(extraVMarguments) + ['-G:+LIRProfileMoves', '-G:+GenericDynamicCounters', '-XX:JVMCICounterSize=10', 'pmd'])
273 278
274 # ensure -Xcomp still works 279 # ensure -Xcomp still works
275 with JVMCIMode('jit'): 280 with JVMCIMode('jit'):
276 with Task('XCompMode:product', tasks) as t: 281 with Task('XCompMode:product', tasks) as t:
277 if t: run_vm(_noneAsEmptyList(extraVMarguments) + ['-Xcomp', '-version']) 282 if t: run_vm(_noneAsEmptyList(extraVMarguments) + ['-Xcomp', '-version'])