mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-23 21:04:19 +02:00
8187977: Generalize Atomic::xchg to use templates
Reviewed-by: kbarrett, coleenp
This commit is contained in:
parent
5b3ed372a9
commit
aa72ba3a64
16 changed files with 320 additions and 236 deletions
|
@ -332,7 +332,7 @@ public:
|
|||
static void disable_compilation_forever() {
|
||||
UseCompiler = false;
|
||||
AlwaysCompileLoopMethods = false;
|
||||
Atomic::xchg(shutdown_compilation, &_should_compile_new_jobs);
|
||||
Atomic::xchg(jint(shutdown_compilation), &_should_compile_new_jobs);
|
||||
}
|
||||
|
||||
static bool is_compilation_disabled_forever() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue