diff 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
line wrap: on
line diff
--- a/mx.graal/mx_graal_9.py	Fri Dec 11 10:48:04 2015 +0100
+++ b/mx.graal/mx_graal_9.py	Fri Dec 11 10:58:36 2015 +0100
@@ -271,6 +271,11 @@
         with Task('DaCapo_pmd:BatchMode', tasks) as t:
             if t: dacapo(_noneAsEmptyList(extraVMarguments) + ['-Xbatch', 'pmd'])
 
+    # ensure benchmark counters still work
+    with JVMCIMode('jit'):
+        with Task('DaCapo_pmd:BenchmarkCounters:product', tasks) as t:
+            if t: dacapo(_noneAsEmptyList(extraVMarguments) + ['-G:+LIRProfileMoves', '-G:+GenericDynamicCounters', '-XX:JVMCICounterSize=10', 'pmd'])
+
     # ensure -Xcomp still works
     with JVMCIMode('jit'):
         with Task('XCompMode:product', tasks) as t: