src/hotspot/share/compiler/compileBroker.hpp
changeset 59251 4cbfa5077d68
parent 59125 5ac4a49f5399
child 59252 623722a6aeb9
equal deleted inserted replaced
59250:a6deb69743d4 59251:4cbfa5077d68
   348   }
   348   }
   349 
   349 
   350   static void disable_compilation_forever() {
   350   static void disable_compilation_forever() {
   351     UseCompiler               = false;
   351     UseCompiler               = false;
   352     AlwaysCompileLoopMethods  = false;
   352     AlwaysCompileLoopMethods  = false;
   353     Atomic::xchg(jint(shutdown_compilation), &_should_compile_new_jobs);
   353     Atomic::xchg(&_should_compile_new_jobs, jint(shutdown_compilation));
   354   }
   354   }
   355 
   355 
   356   static bool is_compilation_disabled_forever() {
   356   static bool is_compilation_disabled_forever() {
   357     return _should_compile_new_jobs == shutdown_compilation;
   357     return _should_compile_new_jobs == shutdown_compilation;
   358   }
   358   }