Mercurial > hg > graal-compiler
diff src/share/vm/runtime/sweeper.cpp @ 14443:3205e78d8193
8029396: PPC64 (part 212): Several memory ordering fixes in C-code.
Summary: memory ordering fixes in GC and other runtime code showing on PPC64.
Reviewed-by: kvn, coleenp
author | goetz |
---|---|
date | Mon, 02 Dec 2013 10:26:14 +0100 |
parents | 86e6d691f2e1 |
children | abec000618bf |
line wrap: on
line diff
--- a/src/share/vm/runtime/sweeper.cpp Thu Dec 05 15:13:12 2013 -0800 +++ b/src/share/vm/runtime/sweeper.cpp Mon Dec 02 10:26:14 2013 +0100 @@ -299,7 +299,8 @@ _bytes_changed = 0; } } - _sweep_started = 0; + // Release work, because another compiler thread could continue. + OrderAccess::release_store((int*)&_sweep_started, 0); } }