changeset 23410:12aff370a636 jvmci-0.10

only set c2_count to 0 if neither JVMCI not C2 are being used
author Doug Simon <doug.simon@oracle.com>
date Tue, 31 May 2016 07:51:24 +0200
parents 7e87913eaa75
children d7cf78885a3a
files src/share/vm/compiler/compileBroker.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/compiler/compileBroker.cpp	Mon May 30 22:57:05 2016 +0200
+++ b/src/share/vm/compiler/compileBroker.cpp	Tue May 31 07:51:24 2016 +0200
@@ -969,8 +969,10 @@
         JavaValue result(T_OBJECT);
         JavaCalls::call_virtual(&result, jvmciRuntime, HotSpotJVMCIRuntime::klass(), getCompiler, sig, CHECK);
       }
+#ifndef COMPILER2
     } else {
       c2_count = 0;
+#endif
     }
   }
 #ifndef COMPILER2