changeset 885:f2397b69946d

jmh-core-ct: rename "bytecode" to "asm" to better reflect what is happening.
author shade
date Tue, 01 Jul 2014 20:09:46 +0400
parents fa2d5d5cd9c6
children e1d00e02caa8
files jmh-core-ct/pom.xml jmh-core-ct/src/test/java/org/openjdk/jmh/ct/CompileTest.java
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/jmh-core-ct/pom.xml	Tue Jul 01 19:06:35 2014 +0400
+++ b/jmh-core-ct/pom.xml	Tue Jul 01 20:09:46 2014 +0400
@@ -151,7 +151,7 @@
                         <version>2.14.1</version>
                         <configuration>
                             <redirectTestOutputToFile>true</redirectTestOutputToFile>
-                            <argLine>-Djmh.ct.generator=bytecode</argLine>
+                            <argLine>-Djmh.ct.generator=asm</argLine>
                         </configuration>
                     </plugin>
                 </plugins>
--- a/jmh-core-ct/src/test/java/org/openjdk/jmh/ct/CompileTest.java	Tue Jul 01 19:06:35 2014 +0400
+++ b/jmh-core-ct/src/test/java/org/openjdk/jmh/ct/CompileTest.java	Tue Jul 01 20:09:46 2014 +0400
@@ -138,8 +138,8 @@
         if (GENERATOR_TYPE.equalsIgnoreCase("reflection")) {
             return doTestReflection(klass);
         }
-        if (GENERATOR_TYPE.equalsIgnoreCase("bytecode")) {
-            return doTestBytecode(klass);
+        if (GENERATOR_TYPE.equalsIgnoreCase("asm")) {
+            return doTestAsm(klass);
         }
         throw new IllegalStateException("Unhandled compile test generator: " + GENERATOR_TYPE);
     }
@@ -155,7 +155,7 @@
         return destination;
     }
 
-    private static TestGeneratorDestination doTestBytecode(Class<?> klass) {
+    private static TestGeneratorDestination doTestAsm(Class<?> klass) {
         ASMGeneratorSource source = new ASMGeneratorSource();
         TestGeneratorDestination destination = new TestGeneratorDestination();