< prev index next >

src/hotspot/share/jvmci/jvmci_globals.cpp

Print this page

100     if (BootstrapJVMCI && (TieredStopAtLevel < CompLevel_full_optimization)) {
101       jio_fprintf(defaultStream::error_stream(),
102           "-XX:+BootstrapJVMCI is not compatible with -XX:TieredStopAtLevel=%d\n", TieredStopAtLevel);
103       return false;
104     }
105   }
106 
107   if (!EnableJVMCI) {
108     // Switch off eager JVMCI initialization if JVMCI is disabled.
109     // Don't throw error if EagerJVMCI is set to allow testing.
110     if (EagerJVMCI) {
111       FLAG_SET_DEFAULT(EagerJVMCI, false);
112     }
113   }
114   JVMCI_FLAG_CHECKED(EagerJVMCI)
115 
116   CHECK_NOT_SET(JVMCIEventLogLevel,                  EnableJVMCI)
117   CHECK_NOT_SET(JVMCITraceLevel,                     EnableJVMCI)
118   CHECK_NOT_SET(JVMCICounterSize,                    EnableJVMCI)
119   CHECK_NOT_SET(JVMCICountersExcludeCompiler,        EnableJVMCI)
120   CHECK_NOT_SET(JVMCIUseFastLocking,                 EnableJVMCI)
121   CHECK_NOT_SET(JVMCINMethodSizeLimit,               EnableJVMCI)
122   CHECK_NOT_SET(JVMCIPrintProperties,                EnableJVMCI)
123   CHECK_NOT_SET(JVMCIThreadsPerNativeLibraryRuntime, EnableJVMCI)
124   CHECK_NOT_SET(JVMCICompilerIdleDelay,              EnableJVMCI)
125   CHECK_NOT_SET(UseJVMCINativeLibrary,               EnableJVMCI)
126   CHECK_NOT_SET(JVMCINativeLibraryThreadFraction,    EnableJVMCI)
127   CHECK_NOT_SET(JVMCILibPath,                        EnableJVMCI)
128   CHECK_NOT_SET(JVMCINativeLibraryErrorFile,         EnableJVMCI)
129   CHECK_NOT_SET(JVMCILibDumpJNIConfig,               EnableJVMCI)
130 
131 #ifndef COMPILER2
132   JVMCI_FLAG_CHECKED(MaxVectorSize)
133   JVMCI_FLAG_CHECKED(ReduceInitialCardMarks)
134   JVMCI_FLAG_CHECKED(UseMultiplyToLenIntrinsic)
135   JVMCI_FLAG_CHECKED(UseSquareToLenIntrinsic)
136   JVMCI_FLAG_CHECKED(UseMulAddIntrinsic)
137   JVMCI_FLAG_CHECKED(UseMontgomeryMultiplyIntrinsic)
138   JVMCI_FLAG_CHECKED(UseMontgomerySquareIntrinsic)
139 #endif // !COMPILER2
140 

100     if (BootstrapJVMCI && (TieredStopAtLevel < CompLevel_full_optimization)) {
101       jio_fprintf(defaultStream::error_stream(),
102           "-XX:+BootstrapJVMCI is not compatible with -XX:TieredStopAtLevel=%d\n", TieredStopAtLevel);
103       return false;
104     }
105   }
106 
107   if (!EnableJVMCI) {
108     // Switch off eager JVMCI initialization if JVMCI is disabled.
109     // Don't throw error if EagerJVMCI is set to allow testing.
110     if (EagerJVMCI) {
111       FLAG_SET_DEFAULT(EagerJVMCI, false);
112     }
113   }
114   JVMCI_FLAG_CHECKED(EagerJVMCI)
115 
116   CHECK_NOT_SET(JVMCIEventLogLevel,                  EnableJVMCI)
117   CHECK_NOT_SET(JVMCITraceLevel,                     EnableJVMCI)
118   CHECK_NOT_SET(JVMCICounterSize,                    EnableJVMCI)
119   CHECK_NOT_SET(JVMCICountersExcludeCompiler,        EnableJVMCI)

120   CHECK_NOT_SET(JVMCINMethodSizeLimit,               EnableJVMCI)
121   CHECK_NOT_SET(JVMCIPrintProperties,                EnableJVMCI)
122   CHECK_NOT_SET(JVMCIThreadsPerNativeLibraryRuntime, EnableJVMCI)
123   CHECK_NOT_SET(JVMCICompilerIdleDelay,              EnableJVMCI)
124   CHECK_NOT_SET(UseJVMCINativeLibrary,               EnableJVMCI)
125   CHECK_NOT_SET(JVMCINativeLibraryThreadFraction,    EnableJVMCI)
126   CHECK_NOT_SET(JVMCILibPath,                        EnableJVMCI)
127   CHECK_NOT_SET(JVMCINativeLibraryErrorFile,         EnableJVMCI)
128   CHECK_NOT_SET(JVMCILibDumpJNIConfig,               EnableJVMCI)
129 
130 #ifndef COMPILER2
131   JVMCI_FLAG_CHECKED(MaxVectorSize)
132   JVMCI_FLAG_CHECKED(ReduceInitialCardMarks)
133   JVMCI_FLAG_CHECKED(UseMultiplyToLenIntrinsic)
134   JVMCI_FLAG_CHECKED(UseSquareToLenIntrinsic)
135   JVMCI_FLAG_CHECKED(UseMulAddIntrinsic)
136   JVMCI_FLAG_CHECKED(UseMontgomeryMultiplyIntrinsic)
137   JVMCI_FLAG_CHECKED(UseMontgomerySquareIntrinsic)
138 #endif // !COMPILER2
139 
< prev index next >