Mercurial > hg > truffle
diff src/share/vm/runtime/globals.hpp @ 14662:3c3953fb3f2a
8033380: Experimental VM flag to enforce access atomicity
Summary: -XX:+AlwaysAtomicAccesses to unconditionally enforce the access atomicity.
Reviewed-by: roland, kvn, iveresov
author | shade |
---|---|
date | Mon, 03 Mar 2014 15:54:45 +0400 |
parents | fdad2932c73f |
children | 3edd4a71588b |
line wrap: on
line diff
--- a/src/share/vm/runtime/globals.hpp Tue Jan 28 15:05:46 2014 +0100 +++ b/src/share/vm/runtime/globals.hpp Mon Mar 03 15:54:45 2014 +0400 @@ -3864,6 +3864,9 @@ "Allocation less than this value will be allocated " \ "using malloc. Larger allocations will use mmap.") \ \ + experimental(bool, AlwaysAtomicAccesses, false, \ + "Accesses to all variables should always be atomic") \ + \ product(bool, EnableTracing, false, \ "Enable event-based tracing") \ \