diff src/share/vm/compiler/compileBroker.cpp @ 22298:c28cb37b2e1d

Rename JVMCI to INCLUDE_JVMCI.
author twisti
date Wed, 22 Jul 2015 08:56:03 -0700
parents be896a1983c0
children cfd7ebda543b
line wrap: on
line diff
--- a/src/share/vm/compiler/compileBroker.cpp	Wed Jul 22 15:50:08 2015 +0200
+++ b/src/share/vm/compiler/compileBroker.cpp	Wed Jul 22 08:56:03 2015 -0700
@@ -49,7 +49,7 @@
 #ifdef COMPILER1
 #include "c1/c1_Compiler.hpp"
 #endif
-#ifdef JVMCI
+#if INCLUDE_JVMCI
 #include "jvmci/jvmciCompiler.hpp"
 #ifdef COMPILERJVMCI
 #include "jvmci/jvmciRuntime.hpp"
@@ -916,7 +916,7 @@
   // Set the interface to the current compiler(s).
   int c1_count = CompilationPolicy::policy()->compiler_count(CompLevel_simple);
   int c2_count = CompilationPolicy::policy()->compiler_count(CompLevel_full_optimization);
-#ifdef JVMCI
+#if INCLUDE_JVMCI
   JVMCICompiler* jvmci = new JVMCICompiler();
 #endif
 
@@ -2473,7 +2473,7 @@
   }
 }
 
-#ifdef JVMCI
+#if INCLUDE_JVMCI
 void CompileBroker::print_times(AbstractCompiler* comp) {
   CompilerStatistics* stats = comp->stats();
   tty->print_cr("  %s {speed: %d bytes/s; standard: %6.3f s, %d bytes, %d methods; osr: %6.3f s, %d bytes, %d methods; nmethods_size: %d bytes; nmethods_code_size: %d bytes}",
@@ -2486,7 +2486,7 @@
 #endif
 
 void CompileBroker::print_times(bool per_compiler, bool aggregate) {
-#ifdef JVMCI
+#if INCLUDE_JVMCI
   elapsedTimer standard_compilation;
   elapsedTimer total_compilation;
   elapsedTimer osr_compilation;