src/hotspot/share/compiler/compileBroker.hpp
changeset 59251 4cbfa5077d68
parent 59125 5ac4a49f5399
child 59252 623722a6aeb9
--- a/src/hotspot/share/compiler/compileBroker.hpp	Mon Nov 25 12:32:07 2019 +0100
+++ b/src/hotspot/share/compiler/compileBroker.hpp	Mon Nov 25 12:32:40 2019 +0100
@@ -350,7 +350,7 @@
   static void disable_compilation_forever() {
     UseCompiler               = false;
     AlwaysCompileLoopMethods  = false;
-    Atomic::xchg(jint(shutdown_compilation), &_should_compile_new_jobs);
+    Atomic::xchg(&_should_compile_new_jobs, jint(shutdown_compilation));
   }
 
   static bool is_compilation_disabled_forever() {