mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-22 12:04:39 +02:00
8031818: Experimental VM flag for enforcing safe object construction
-XX:+AlwaysSafeConstructors to unconditionally emit the trailing constructor barrier. Reviewed-by: kvn, roland
This commit is contained in:
parent
c4bd0f58d3
commit
1d10b6813e
7 changed files with 74 additions and 22 deletions
|
@ -535,6 +535,9 @@ class CommandLineFlags {
|
|||
develop(bool, CleanChunkPoolAsync, falseInEmbedded, \
|
||||
"Clean the chunk pool asynchronously") \
|
||||
\
|
||||
experimental(bool, AlwaysSafeConstructors, false, \
|
||||
"Force safe construction, as if all fields are final.") \
|
||||
\
|
||||
/* Temporary: See 6948537 */ \
|
||||
experimental(bool, UseMemSetInBOT, true, \
|
||||
"(Unstable) uses memset in BOT updates in GC code") \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue