src/share/vm/runtime/globals.hpp

Print this page

        

@@ -197,11 +197,17 @@
 #else
 
 #ifdef COMPILER2
 #define CI_COMPILER_COUNT 2
 #else
+
+// For shark/zero CI_COMPILER_COUNT may have
+// been defined above
+#ifndef CI_COMPILER_COUNT
 #define CI_COMPILER_COUNT 1
+#endif
+
 #endif // COMPILER2
 
 #endif // no compilers
 
 // string type aliases used only in this file