equal
deleted
inserted
replaced
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 } |