mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-22 03:54:33 +02:00
8033380: Experimental VM flag to enforce access atomicity
-XX:+AlwaysAtomicAccesses to unconditionally enforce the access atomicity. Reviewed-by: roland, kvn, iveresov
This commit is contained in:
parent
0b6a5f744a
commit
c4bd0f58d3
4 changed files with 37 additions and 12 deletions
|
@ -3864,6 +3864,9 @@ class CommandLineFlags {
|
|||
"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") \
|
||||
\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue