Mercurial > hg > graal-jvmci-8
diff src/share/vm/compiler/compileBroker.cpp @ 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 | f84a5ac3be22 |
children | 6c8eaf47db9a |
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