hotspot/src/share/vm/compiler/compilerDirectives.cpp
changeset 43455 96560cffef4d
parent 38696 441abd3b3345
child 46727 6e4a84748e2c
equal deleted inserted replaced
43454:c11ebe3f754c 43455:96560cffef4d
   443   _default_directives->add_match(str, error_msg);
   443   _default_directives->add_match(str, error_msg);
   444 #ifdef COMPILER1
   444 #ifdef COMPILER1
   445   _default_directives->_c1_store->EnableOption = true;
   445   _default_directives->_c1_store->EnableOption = true;
   446 #endif
   446 #endif
   447 #ifdef COMPILER2
   447 #ifdef COMPILER2
   448   _default_directives->_c2_store->EnableOption = true;
   448   if (is_server_compilation_mode_vm()) {
       
   449     _default_directives->_c2_store->EnableOption = true;
       
   450   }
   449 #endif
   451 #endif
   450   assert(error_msg == NULL, "Must succeed.");
   452   assert(error_msg == NULL, "Must succeed.");
   451   push(_default_directives);
   453   push(_default_directives);
   452 }
   454 }
   453 
   455