8145333: -XX:+EnableJVMCI -XX:+UseJVMCICompiler -XX:-EnableJVMCI makes JVM crash

JVMCI Flags are checked for consistency after parse.

Reviewed-by: twisti
This commit is contained in:
Jamsheed Mohammed C M 2016-02-22 23:37:29 -08:00
parent 310eb4ad4d
commit 36e011b2f0
7 changed files with 210 additions and 119 deletions

View file

@ -505,7 +505,10 @@ class Arguments : AllStatic {
static void set_gc_specific_flags();
static inline bool gc_selected(); // whether a gc has been selected
static void select_gc_ergonomically();
#if INCLUDE_JVMCI
// Check consistency of jvmci vm argument settings.
static bool check_jvmci_args_consistency();
#endif
// Check for consistency in the selection of the garbage collector.
static bool check_gc_consistency(); // Check user-selected gc
// Check consistency or otherwise of VM argument settings