changeset 23157:274037591da2

gate: test benchmark counters.
author Josef Eisl <josef.eisl@jku.at>
date Fri, 11 Dec 2015 10:58:36 +0100
parents 1280145e678f
children 78a5a1867579
files mx.graal/mx_graal_8.py mx.graal/mx_graal_9.py
diffstat 2 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mx.graal/mx_graal_8.py	Fri Dec 11 10:48:04 2015 +0100
+++ b/mx.graal/mx_graal_8.py	Fri Dec 11 10:58:36 2015 +0100
@@ -282,6 +282,11 @@
         with Task('DaCapo_pmd:BatchMode:product', tasks) as t:
             if t: dacapo(_noneAsEmptyList(extraVMarguments) + ['-Xbatch', 'pmd'])
 
+    # ensure benchmark counters still work
+    with VM('jvmci', 'product'):
+        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 VM('jvmci', 'product'):
         with Task('XCompMode:product', tasks) as t:
--- 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: